qt: Create MLGroupListModel
[vlc.git] / modules / gui / qt / Makefile.am
blobbfe3bbe2adc116a29932d6551c2d67ba677d8919
1 ## Howto
2 # For each Q_OBJECT:
3 #   - Add *.moc.cpp to nodist_..._SOURCES
4 #   - Add *.cpp to ..._SOURCES
5 #   - Add *.hpp to ..._SOURCES
6 # For each UI
7 #   - Add *.ui to ..._UI
8 #   - Add *.h to nodist_..._SOURCES
9 # For each ressource (icon, png, ...)
10 #   - Add it to DEPS_res
11 # For each qml and js ressource
12 #   - Add it to ..._QML
14 SUFFIXES += .ui .h .hpp .moc.cpp .qml
16 libqt_plugin_la_CPPFLAGS = $(AM_CPPFLAGS) \
17         -I$(srcdir)/gui/qt -I$(builddir)/gui/qt/ \
18         -I$(builddir)/gui/qt/dialogs/extended \
19         -I$(builddir)/gui/qt/dialogs/fingerprint \
20         -I$(builddir)/gui/qt/dialogs/help \
21         -I$(builddir)/gui/qt/dialogs/messages \
22         -I$(builddir)/gui/qt/dialogs/open \
23         -I$(builddir)/gui/qt/dialogs/podcast \
24         -I$(builddir)/gui/qt/dialogs/preferences \
25         -I$(builddir)/gui/qt/dialogs/sout \
26         -I$(builddir)/gui/qt/dialogs/vlm
28 libqt_plugin_la_CXXFLAGS = $(AM_CXXFLAGS) $(QT_CFLAGS) $(CXXFLAGS_qt)
29 libqt_plugin_la_LIBADD = $(QT_LIBS) $(LIBS_qt) $(LIBM)
30 libqt_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(guidir)'
31 if HAVE_DARWIN
32 libqt_plugin_la_LDFLAGS += -Wl,-framework,Cocoa
33 endif
34 if HAVE_QT5_X11
35 libqt_plugin_la_CXXFLAGS += $(QT5_X11_CFLAGS) -DQT5_HAS_X11
36 libqt_plugin_la_LIBADD += $(QT5_X11_LIBS) $(X_LIBS) $(X_PRE_LIB) -lX11
37 endif
38 if HAVE_XCB
39 libqt_plugin_la_CXXFLAGS += -DQT5_HAS_XCB
40 endif
41 if HAVE_WAYLAND
42 libqt_plugin_la_CPPFLAGS += -DQT5_HAS_WAYLAND \
43         -DQPNI_HEADER=\<$(QT_VERSION)/QtGui/qpa/qplatformnativeinterface.h\>
44 libqt_plugin_la_CXXFLAGS += $(WAYLAND_CLIENT_CFLAGS)
45 libqt_plugin_la_LIBADD += $(WAYLAND_CLIENT_LIBS)
46 endif
47 if HAVE_WIN32
48 libqt_plugin_la_LIBADD += $(LIBCOM) -lcomctl32 -luuid -ld3d11
49 endif
50 if UPDATE_CHECK
51 libqt_plugin_la_CPPFLAGS += -DUPDATE_CHECK
52 endif
53 if QT_QML_DEBUG
54 libqt_plugin_la_CPPFLAGS += -DQT_QML_DEBUG
55 endif
57 libqt_plugin_la_SOURCES = \
58         gui/qt/qt.cpp gui/qt/qt.hpp \
59         gui/qt/dialogs/bookmarks/bookmarks.cpp gui/qt/dialogs/bookmarks/bookmarks.hpp \
60         gui/qt/dialogs/dialogs/dialogmodel.cpp \
61         gui/qt/dialogs/dialogs/dialogmodel.hpp \
62         gui/qt/dialogs/dialogs_provider.cpp gui/qt/dialogs/dialogs_provider.hpp \
63         gui/qt/dialogs/epg/EPGChannels.cpp \
64         gui/qt/dialogs/epg/EPGChannels.hpp \
65         gui/qt/dialogs/epg/EPGItem.cpp \
66         gui/qt/dialogs/epg/EPGItem.hpp \
67         gui/qt/dialogs/epg/EPGProgram.cpp \
68         gui/qt/dialogs/epg/EPGProgram.hpp \
69         gui/qt/dialogs/epg/EPGRuler.cpp gui/qt/dialogs/epg/EPGRuler.hpp \
70         gui/qt/dialogs/epg/EPGView.cpp gui/qt/dialogs/epg/EPGView.hpp \
71         gui/qt/dialogs/epg/EPGWidget.cpp \
72         gui/qt/dialogs/epg/EPGWidget.hpp \
73         gui/qt/dialogs/epg/epg.cpp gui/qt/dialogs/epg/epg.hpp \
74         gui/qt/dialogs/errors/errors.cpp gui/qt/dialogs/errors/errors.hpp \
75         gui/qt/dialogs/extended/extended.cpp gui/qt/dialogs/extended/extended.hpp \
76         gui/qt/dialogs/extended/extended_panels.cpp \
77         gui/qt/dialogs/extended/extended_panels.hpp \
78         gui/qt/dialogs/extensions/extensions.cpp gui/qt/dialogs/extensions/extensions.hpp \
79         gui/qt/dialogs/extensions/extensions_manager.cpp gui/qt/dialogs/extensions/extensions_manager.hpp \
80         gui/qt/dialogs/fingerprint/chromaprint.cpp \
81         gui/qt/dialogs/fingerprint/chromaprint.hpp \
82         gui/qt/dialogs/fingerprint/fingerprintdialog.cpp \
83         gui/qt/dialogs/fingerprint/fingerprintdialog.hpp \
84         gui/qt/dialogs/firstrun/firstrun.cpp gui/qt/dialogs/firstrun/firstrun.hpp \
85         gui/qt/dialogs/gototime/gototime.cpp gui/qt/dialogs/gototime/gototime.hpp \
86         gui/qt/dialogs/help/aboutmodel.cpp \
87         gui/qt/dialogs/help/aboutmodel.hpp \
88         gui/qt/dialogs/help/help.cpp gui/qt/dialogs/help/help.hpp \
89         gui/qt/dialogs/mediainfo/info_panels.cpp gui/qt/dialogs/mediainfo/info_panels.hpp \
90         gui/qt/dialogs/mediainfo/info_widgets.cpp gui/qt/dialogs/mediainfo/info_widgets.hpp \
91         gui/qt/dialogs/mediainfo/mediainfo.cpp gui/qt/dialogs/mediainfo/mediainfo.hpp \
92         gui/qt/dialogs/messages/messages.cpp gui/qt/dialogs/messages/messages.hpp \
93         gui/qt/dialogs/open/open.cpp gui/qt/dialogs/open/open.hpp \
94         gui/qt/dialogs/open/open_panels.cpp gui/qt/dialogs/open/open_panels.hpp \
95         gui/qt/dialogs/open/openurl.cpp gui/qt/dialogs/open/openurl.hpp \
96         gui/qt/dialogs/plugins/addons_manager.cpp gui/qt/dialogs/plugins/addons_manager.hpp \
97         gui/qt/dialogs/plugins/plugins.cpp gui/qt/dialogs/plugins/plugins.hpp \
98         gui/qt/dialogs/podcast/podcast_configuration.cpp \
99         gui/qt/dialogs/podcast/podcast_configuration.hpp \
100         gui/qt/dialogs/preferences/complete_preferences.cpp \
101         gui/qt/dialogs/preferences/complete_preferences.hpp \
102         gui/qt/dialogs/preferences/preferences.cpp \
103         gui/qt/dialogs/preferences/preferences.hpp \
104         gui/qt/dialogs/preferences/preferences_widgets.cpp \
105         gui/qt/dialogs/preferences/preferences_widgets.hpp \
106         gui/qt/dialogs/preferences/simple_preferences.cpp \
107         gui/qt/dialogs/preferences/simple_preferences.hpp \
108         gui/qt/dialogs/sout/convert.cpp gui/qt/dialogs/sout/convert.hpp \
109         gui/qt/dialogs/sout/profile_selector.cpp \
110         gui/qt/dialogs/sout/profile_selector.hpp \
111         gui/qt/dialogs/sout/profiles.hpp \
112         gui/qt/dialogs/sout/sout.cpp gui/qt/dialogs/sout/sout.hpp \
113         gui/qt/dialogs/sout/sout_widgets.cpp \
114         gui/qt/dialogs/sout/sout_widgets.hpp \
115         gui/qt/dialogs/toolbar/controlbar_profile.hpp \
116         gui/qt/dialogs/toolbar/controlbar_profile.cpp \
117         gui/qt/dialogs/toolbar/controlbar_profile_model.cpp \
118         gui/qt/dialogs/toolbar/controlbar_profile_model.hpp \
119         gui/qt/dialogs/vlm/vlm.cpp gui/qt/dialogs/vlm/vlm.hpp \
120         gui/qt/dialogs/playlists/playlists.cpp gui/qt/dialogs/playlists/playlists.hpp \
121         gui/qt/maininterface/compositor.hpp \
122         gui/qt/maininterface/compositor.cpp \
123         gui/qt/maininterface/compositor_dummy.hpp \
124         gui/qt/maininterface/compositor_dummy.cpp \
125         gui/qt/maininterface/interface_window_handler.cpp \
126         gui/qt/maininterface/interface_window_handler.hpp \
127         gui/qt/maininterface/main_interface.cpp \
128         gui/qt/maininterface/main_interface.hpp \
129         gui/qt/maininterface/mainui.cpp \
130         gui/qt/maininterface/mainui.hpp \
131         gui/qt/maininterface/videosurface.cpp \
132         gui/qt/maininterface/videosurface.hpp \
133         gui/qt/maininterface/video_window_handler.cpp \
134         gui/qt/maininterface/video_window_handler.hpp \
135         gui/qt/medialibrary/medialib.cpp \
136         gui/qt/medialibrary/medialib.hpp \
137         gui/qt/medialibrary/mlalbum.cpp \
138         gui/qt/medialibrary/mlalbum.hpp \
139         gui/qt/medialibrary/mlalbummodel.cpp \
140         gui/qt/medialibrary/mlalbummodel.hpp \
141         gui/qt/medialibrary/mlalbumtrack.cpp \
142         gui/qt/medialibrary/mlalbumtrack.hpp \
143         gui/qt/medialibrary/mlalbumtrackmodel.cpp \
144         gui/qt/medialibrary/mlalbumtrackmodel.hpp \
145         gui/qt/medialibrary/mlartist.cpp \
146         gui/qt/medialibrary/mlartist.hpp \
147         gui/qt/medialibrary/mlartistmodel.cpp \
148         gui/qt/medialibrary/mlartistmodel.hpp \
149         gui/qt/medialibrary/mlbasemodel.cpp \
150         gui/qt/medialibrary/mlbasemodel.hpp \
151         gui/qt/medialibrary/mlbookmarkmodel.cpp \
152         gui/qt/medialibrary/mlbookmarkmodel.hpp \
153         gui/qt/medialibrary/mlevent.hpp \
154         gui/qt/medialibrary/mlfoldersmodel.cpp \
155         gui/qt/medialibrary/mlfoldersmodel.hpp \
156         gui/qt/medialibrary/mlgenre.cpp \
157         gui/qt/medialibrary/mlgenre.hpp \
158         gui/qt/medialibrary/mlgenremodel.cpp \
159         gui/qt/medialibrary/mlgenremodel.hpp \
160         gui/qt/medialibrary/mlgroup.cpp \
161         gui/qt/medialibrary/mlgroup.hpp \
162         gui/qt/medialibrary/mlgrouplistmodel.cpp \
163         gui/qt/medialibrary/mlgrouplistmodel.hpp \
164         gui/qt/medialibrary/mlhelper.cpp \
165         gui/qt/medialibrary/mlhelper.hpp \
166         gui/qt/medialibrary/mlqmltypes.hpp \
167         gui/qt/medialibrary/mlqueryparams.cpp \
168         gui/qt/medialibrary/mlqueryparams.hpp \
169         gui/qt/medialibrary/mlrecentsmodel.cpp \
170         gui/qt/medialibrary/mlrecentsmodel.hpp \
171         gui/qt/medialibrary/mlrecentsvideomodel.cpp \
172         gui/qt/medialibrary/mlrecentsvideomodel.hpp \
173         gui/qt/medialibrary/mlurlmodel.cpp \
174         gui/qt/medialibrary/mlurlmodel.hpp \
175         gui/qt/medialibrary/mlvideo.cpp \
176         gui/qt/medialibrary/mlvideo.hpp \
177         gui/qt/medialibrary/mlvideomodel.cpp \
178         gui/qt/medialibrary/mlvideomodel.hpp \
179         gui/qt/medialibrary/mlplaylist.cpp \
180         gui/qt/medialibrary/mlplaylist.hpp \
181         gui/qt/medialibrary/mlplaylistlistmodel.cpp \
182         gui/qt/medialibrary/mlplaylistlistmodel.hpp \
183         gui/qt/medialibrary/mlplaylistmedia.cpp \
184         gui/qt/medialibrary/mlplaylistmedia.hpp \
185         gui/qt/medialibrary/mlplaylistmodel.cpp \
186         gui/qt/medialibrary/mlplaylistmodel.hpp \
187         gui/qt/menus/custom_menus.cpp \
188         gui/qt/menus/custom_menus.hpp \
189         gui/qt/menus/qml_menu_wrapper.cpp \
190         gui/qt/menus/qml_menu_wrapper.hpp \
191         gui/qt/menus/menus.cpp gui/qt/menus/menus.hpp \
192         gui/qt/network/networkdevicemodel.cpp \
193         gui/qt/network/networkdevicemodel.hpp \
194         gui/qt/network/networksourcesmodel.cpp \
195         gui/qt/network/networksourcesmodel.hpp \
196         gui/qt/network/networkmediamodel.cpp \
197         gui/qt/network/networkmediamodel.hpp \
198         gui/qt/network/networksourcelistener.cpp \
199         gui/qt/network/networksourcelistener.hpp \
200         gui/qt/network/servicesdiscoverymodel.cpp \
201         gui/qt/network/servicesdiscoverymodel.hpp \
202         gui/qt/player/input_models.cpp gui/qt/player/input_models.hpp \
203         gui/qt/player/player_controller.cpp gui/qt/player/player_controller.hpp gui/qt/player/player_controller_p.hpp \
204         gui/qt/player/player_controlbar_model.cpp gui/qt/player/player_controlbar_model.hpp \
205         gui/qt/player/control_list_model.cpp gui/qt/player/control_list_model.hpp \
206         gui/qt/playlist/media.hpp \
207         gui/qt/playlist/playlist_common.cpp \
208         gui/qt/playlist/playlist_common.hpp \
209         gui/qt/playlist/playlist_controller.cpp \
210         gui/qt/playlist/playlist_controller.hpp \
211         gui/qt/playlist/playlist_controller_p.hpp \
212         gui/qt/playlist/playlist_item.cpp \
213         gui/qt/playlist/playlist_item.hpp \
214         gui/qt/playlist/playlist_model.cpp \
215         gui/qt/playlist/playlist_model.hpp \
216         gui/qt/playlist/playlist_model_p.hpp \
217         gui/qt/util/asynctask.hpp \
218         gui/qt/util/audio_device_model.cpp  \
219         gui/qt/util/audio_device_model.hpp \
220         gui/qt/util/color_scheme_model.cpp gui/qt/util/color_scheme_model.hpp \
221         gui/qt/util/imageluminanceextractor.cpp gui/qt/util/imageluminanceextractor.hpp \
222         gui/qt/util/imagehelper.cpp gui/qt/util/imagehelper.hpp \
223         gui/qt/util/i18n.cpp gui/qt/util/i18n.hpp \
224         gui/qt/util/listcache.hpp \
225         gui/qt/util/listcacheloader.hpp \
226         gui/qt/util/navigation_history.cpp gui/qt/util/navigation_history.hpp \
227         gui/qt/util/qml_main_context.cpp \
228         gui/qt/util/qml_main_context.hpp \
229         gui/qt/util/qmleventfilter.cpp \
230         gui/qt/util/qmleventfilter.hpp \
231         gui/qt/util/qt_dirs.cpp gui/qt/util/qt_dirs.hpp \
232         gui/qt/util/qvlcapp.hpp \
233         gui/qt/util/proxycolumnmodel.hpp \
234         gui/qt/util/registry.cpp gui/qt/util/registry.hpp \
235         gui/qt/util/renderer_manager.cpp gui/qt/util/renderer_manager.hpp \
236         gui/qt/util/selectable_list_model.cpp \
237         gui/qt/util/selectable_list_model.hpp \
238         gui/qt/util/singleton.hpp \
239         gui/qt/util/sortfilterproxymodel.cpp \
240         gui/qt/util/sortfilterproxymodel.hpp \
241         gui/qt/util/soutchain.cpp gui/qt/util/soutchain.hpp \
242         gui/qt/util/systempalette.cpp gui/qt/util/systempalette.hpp \
243         gui/qt/util/validators.cpp gui/qt/util/validators.hpp \
244         gui/qt/util/varcommon_p.hpp \
245         gui/qt/util/varchoicemodel.cpp  gui/qt/util/varchoicemodel.hpp \
246         gui/qt/util/variables.cpp gui/qt/util/variables.hpp \
247         gui/qt/util/vlctick.cpp \
248         gui/qt/util/vlctick.hpp \
249         gui/qt/util/qmlinputitem.hpp \
250         gui/qt/widgets/native/animators.cpp \
251         gui/qt/widgets/native/animators.hpp \
252         gui/qt/widgets/native/customwidgets.cpp gui/qt/widgets/native/customwidgets.hpp \
253         gui/qt/widgets/native/interface_widgets.cpp \
254         gui/qt/widgets/native/interface_widgets.hpp \
255         gui/qt/widgets/native/qvlcframe.cpp \
256         gui/qt/widgets/native/qvlcframe.hpp \
257         gui/qt/widgets/native/searchlineedit.cpp gui/qt/widgets/native/searchlineedit.hpp
258 if HAVE_WIN32
259 libqt_plugin_la_SOURCES += \
260         gui/qt/maininterface/main_interface_win32.cpp \
261         gui/qt/maininterface/main_interface_win32.hpp \
262         gui/qt/maininterface/compositor_win7.cpp \
263         gui/qt/maininterface/compositor_win7.hpp
265 if HAVE_DCOMP
266 libqt_plugin_la_SOURCES += \
267         gui/qt/maininterface/compositor_dcomp.cpp \
268         gui/qt/maininterface/compositor_dcomp.hpp \
269         gui/qt/maininterface/compositor_dcomp_error.hpp \
270         gui/qt/maininterface/compositor_dcomp_uisurface.cpp \
271         gui/qt/maininterface/compositor_dcomp_uisurface.hpp
272 endif
273 endif
275 # Meta-object compilation
277 moc_verbose = $(moc_verbose_$(V))
278 moc_verbose_ = $(moc_verbose__$(AM_DEFAULT_VERBOSITY))
279 moc_verbose_0 = @echo "  MOC   " $@;
280 moc_verbose__0 = $(moc_verbose_0)
282 .hpp.moc.cpp:
283         $(moc_verbose)$(MOC) $(MOC_CPPFLAGS) -o $@ $<
285 # These MOC files depend on the configure settings:
286 dialogs/dialogs_provider.moc.cpp dialogs/vlm/vlm.moc.cpp: $(top_builddir)/config.h
288 nodist_libqt_plugin_la_SOURCES = \
289         gui/qt/dialogs/bookmarks/bookmarks.moc.cpp \
290         gui/qt/dialogs/dialogs/dialogmodel.moc.cpp \
291         gui/qt/dialogs/dialogs_provider.moc.cpp \
292         gui/qt/dialogs/epg/EPGChannels.moc.cpp \
293         gui/qt/dialogs/epg/EPGProgram.moc.cpp \
294         gui/qt/dialogs/epg/EPGRuler.moc.cpp \
295         gui/qt/dialogs/epg/EPGView.moc.cpp \
296         gui/qt/dialogs/epg/EPGWidget.moc.cpp \
297         gui/qt/dialogs/epg/epg.moc.cpp \
298         gui/qt/dialogs/errors/errors.moc.cpp \
299         gui/qt/dialogs/extended/extended.moc.cpp \
300         gui/qt/dialogs/extended/extended_panels.moc.cpp \
301         gui/qt/dialogs/extensions/extensions.moc.cpp \
302         gui/qt/dialogs/extensions/extensions_manager.moc.cpp \
303         gui/qt/dialogs/fingerprint/chromaprint.moc.cpp \
304         gui/qt/dialogs/fingerprint/fingerprintdialog.moc.cpp \
305         gui/qt/dialogs/firstrun/firstrun.moc.cpp \
306         gui/qt/dialogs/gototime/gototime.moc.cpp \
307         gui/qt/dialogs/help/aboutmodel.moc.cpp \
308         gui/qt/dialogs/help/help.moc.cpp \
309         gui/qt/dialogs/mediainfo/info_panels.moc.cpp \
310         gui/qt/dialogs/mediainfo/info_widgets.moc.cpp \
311         gui/qt/dialogs/mediainfo/mediainfo.moc.cpp \
312         gui/qt/dialogs/messages/messages.moc.cpp \
313         gui/qt/dialogs/open/open.moc.cpp \
314         gui/qt/dialogs/open/open_panels.moc.cpp \
315         gui/qt/dialogs/open/openurl.moc.cpp \
316         gui/qt/dialogs/plugins/addons_manager.moc.cpp \
317         gui/qt/dialogs/plugins/plugins.moc.cpp \
318         gui/qt/dialogs/podcast/podcast_configuration.moc.cpp \
319         gui/qt/dialogs/preferences/complete_preferences.moc.cpp \
320         gui/qt/dialogs/preferences/preferences.moc.cpp \
321         gui/qt/dialogs/preferences/preferences_widgets.moc.cpp \
322         gui/qt/dialogs/preferences/simple_preferences.moc.cpp \
323         gui/qt/dialogs/sout/convert.moc.cpp \
324         gui/qt/dialogs/sout/profile_selector.moc.cpp \
325         gui/qt/dialogs/sout/sout.moc.cpp \
326         gui/qt/dialogs/sout/sout_widgets.moc.cpp \
327         gui/qt/dialogs/toolbar/controlbar_profile.moc.cpp \
328         gui/qt/dialogs/toolbar/controlbar_profile_model.moc.cpp \
329         gui/qt/dialogs/playlists/playlists.moc.cpp \
330         gui/qt/maininterface/compositor_dummy.moc.cpp \
331         gui/qt/maininterface/interface_window_handler.moc.cpp \
332         gui/qt/maininterface/main_interface.moc.cpp \
333         gui/qt/maininterface/mainui.moc.cpp \
334         gui/qt/maininterface/videosurface.moc.cpp \
335         gui/qt/maininterface/video_window_handler.moc.cpp \
336         gui/qt/medialibrary/medialib.moc.cpp \
337         gui/qt/medialibrary/mlalbum.moc.cpp \
338         gui/qt/medialibrary/mlalbummodel.moc.cpp \
339         gui/qt/medialibrary/mlalbumtrack.moc.cpp \
340         gui/qt/medialibrary/mlalbumtrackmodel.moc.cpp \
341         gui/qt/medialibrary/mlartist.moc.cpp \
342         gui/qt/medialibrary/mlartistmodel.moc.cpp \
343         gui/qt/medialibrary/mlbasemodel.moc.cpp \
344         gui/qt/medialibrary/mlfoldersmodel.moc.cpp \
345         gui/qt/medialibrary/mlgenre.moc.cpp \
346         gui/qt/medialibrary/mlgenremodel.moc.cpp \
347         gui/qt/medialibrary/mlgroup.moc.cpp \
348         gui/qt/medialibrary/mlgrouplistmodel.moc.cpp \
349         gui/qt/medialibrary/mlqmltypes.moc.cpp \
350         gui/qt/medialibrary/mlrecentsmodel.moc.cpp \
351         gui/qt/medialibrary/mlrecentsvideomodel.moc.cpp \
352         gui/qt/medialibrary/mlurlmodel.moc.cpp \
353         gui/qt/medialibrary/mlvideo.moc.cpp \
354         gui/qt/medialibrary/mlvideomodel.moc.cpp \
355         gui/qt/medialibrary/mlplaylist.moc.cpp \
356         gui/qt/medialibrary/mlplaylistlistmodel.moc.cpp \
357         gui/qt/medialibrary/mlplaylistmodel.moc.cpp \
358         gui/qt/menus/custom_menus.moc.cpp \
359         gui/qt/menus/qml_menu_wrapper.moc.cpp \
360         gui/qt/menus/menus.moc.cpp \
361         gui/qt/network/networkdevicemodel.moc.cpp \
362         gui/qt/network/networksourcesmodel.moc.cpp \
363         gui/qt/network/networkmediamodel.moc.cpp \
364         gui/qt/network/servicesdiscoverymodel.moc.cpp \
365         gui/qt/player/input_models.moc.cpp \
366         gui/qt/player/player_controller.moc.cpp \
367         gui/qt/player/player_controlbar_model.moc.cpp \
368         gui/qt/player/control_list_model.moc.cpp \
369         gui/qt/playlist/playlist_common.moc.cpp \
370         gui/qt/playlist/playlist_controller.moc.cpp \
371         gui/qt/playlist/playlist_item.moc.cpp \
372         gui/qt/playlist/playlist_model.moc.cpp \
373         gui/qt/util/asynctask.moc.cpp \
374         gui/qt/util/audio_device_model.moc.cpp \
375         gui/qt/util/color_scheme_model.moc.cpp \
376         gui/qt/util/imageluminanceextractor.moc.cpp \
377         gui/qt/util/i18n.moc.cpp \
378         gui/qt/util/listcache.moc.cpp \
379         gui/qt/util/navigation_history.moc.cpp \
380         gui/qt/util/qml_main_context.moc.cpp \
381         gui/qt/util/qmleventfilter.moc.cpp \
382         gui/qt/util/qvlcapp.moc.cpp \
383         gui/qt/util/renderer_manager.moc.cpp \
384         gui/qt/util/selectable_list_model.moc.cpp \
385         gui/qt/util/sortfilterproxymodel.moc.cpp \
386         gui/qt/util/systempalette.moc.cpp \
387         gui/qt/util/validators.moc.cpp \
388         gui/qt/util/varchoicemodel.moc.cpp \
389         gui/qt/util/variables.moc.cpp \
390         gui/qt/util/vlctick.moc.cpp \
391         gui/qt/util/qmlinputitem.moc.cpp \
392         gui/qt/widgets/native/animators.moc.cpp \
393         gui/qt/widgets/native/customwidgets.moc.cpp \
394         gui/qt/widgets/native/interface_widgets.moc.cpp \
395         gui/qt/widgets/native/searchlineedit.moc.cpp
397 if HAVE_WIN32
398 nodist_libqt_plugin_la_SOURCES += gui/qt/maininterface/main_interface_win32.moc.cpp \
399         gui/qt/maininterface/compositor_win7.moc.cpp
401 if HAVE_DCOMP
402 nodist_libqt_plugin_la_SOURCES += \
403         gui/qt/maininterface/compositor_dcomp.moc.cpp \
404         gui/qt/maininterface/compositor_dcomp_uisurface.moc.cpp
405 endif
407 endif
409 nodist_libqt_plugin_la_SOURCES += \
410         gui/qt/dialogs/extended/ui_equalizer.h \
411         gui/qt/dialogs/extended/ui_video_effects.h \
412         gui/qt/dialogs/fingerprint/ui_fingerprintdialog.h \
413         gui/qt/dialogs/help/ui_about.h \
414         gui/qt/dialogs/help/ui_update.h \
415         gui/qt/dialogs/messages/ui_messages_panel.h \
416         gui/qt/dialogs/open/ui_open.h \
417         gui/qt/dialogs/open/ui_open_capture.h \
418         gui/qt/dialogs/open/ui_open_disk.h \
419         gui/qt/dialogs/open/ui_open_file.h \
420         gui/qt/dialogs/open/ui_open_net.h \
421         gui/qt/dialogs/podcast/ui_podcast_configuration.h \
422         gui/qt/dialogs/preferences/ui_sprefs_audio.h \
423         gui/qt/dialogs/preferences/ui_sprefs_input.h \
424         gui/qt/dialogs/preferences/ui_sprefs_interface.h \
425         gui/qt/dialogs/preferences/ui_sprefs_medialibrary.h \
426         gui/qt/dialogs/preferences/ui_sprefs_subtitles.h \
427         gui/qt/dialogs/preferences/ui_sprefs_video.h \
428         gui/qt/dialogs/sout/ui_profiles.h \
429         gui/qt/dialogs/sout/ui_sout.h \
430         gui/qt/dialogs/vlm/ui_vlm.h
432 # User interface compilation
434 uic_verbose = $(uic_verbose_$(V))
435 uic_verbose_ = $(uic_verbose__$(AM_DEFAULT_VERBOSITY))
436 uic_verbose_0 = @echo "  UIC   " $@;
437 uic_verbose__0 = $(uic_verbose_0)
439 MOC_CPPFLAGS = $(DEFS) \
440         -I$(top_srcdir)/include -I$(top_builddir)/include -I$(top_builddir) \
441         $(libqt_plugin_la_CPPFLAGS)
442 if HAVE_DARWIN
443 MOC_CPPFLAGS += -DQ_OS_MAC
444 endif
445 if HAVE_WIN32
446 MOC_CPPFLAGS += -D_WIN32
447 endif
449 libqt_plugin_la_UI = \
450         gui/qt/dialogs/extended/equalizer.ui \
451         gui/qt/dialogs/extended/video_effects.ui \
452         gui/qt/dialogs/fingerprint/fingerprintdialog.ui \
453         gui/qt/dialogs/help/about.ui \
454         gui/qt/dialogs/help/update.ui \
455         gui/qt/dialogs/messages/messages_panel.ui \
456         gui/qt/dialogs/open/open.ui \
457         gui/qt/dialogs/open/open_capture.ui \
458         gui/qt/dialogs/open/open_disk.ui \
459         gui/qt/dialogs/open/open_file.ui \
460         gui/qt/dialogs/open/open_net.ui \
461         gui/qt/dialogs/podcast/podcast_configuration.ui \
462         gui/qt/dialogs/preferences/sprefs_audio.ui \
463         gui/qt/dialogs/preferences/sprefs_input.ui \
464         gui/qt/dialogs/preferences/sprefs_interface.ui \
465         gui/qt/dialogs/preferences/sprefs_medialibrary.ui \
466         gui/qt/dialogs/preferences/sprefs_subtitles.ui \
467         gui/qt/dialogs/preferences/sprefs_video.ui \
468         gui/qt/dialogs/sout/profiles.ui \
469         gui/qt/dialogs/sout/sout.ui \
470         gui/qt/dialogs/vlm/vlm.ui
471 EXTRA_DIST += $(libqt_plugin_la_UI)
473 ui_%.h: %.ui
474         $(AM_V_at)$(MKDIR_P) "gui/qt/ui"
475         $(AM_V_at)rm -f $@ $@.tmp
476         $(AM_V_at)echo "#define Q_(a,b) QString::fromUtf8(_(a))" > $@.tmp
477         $(uic_verbose)$(UIC) -tr "Q_" $< >> $@.tmp
478         $(AM_V_at)sed -e 's/Q_(\"_(\\\"\(.*\)\\\")"/Q_("\1"/' $@.tmp >$@
479         $(AM_V_at)rm -f $@.tmp
481 # Resources
483 libqt_plugin_la_RES = \
484         gui/qt/pixmaps/VLCIcons.ttf \
485         gui/qt/pixmaps/clear.svg \
486         gui/qt/pixmaps/eject.svg \
487         gui/qt/pixmaps/faster.svg \
488         gui/qt/pixmaps/faster2.svg \
489         gui/qt/pixmaps/go-next.svg \
490         gui/qt/pixmaps/addons/addon.svg \
491         gui/qt/pixmaps/addons/addon_broken.svg \
492         gui/qt/pixmaps/addons/addon_blue.svg \
493         gui/qt/pixmaps/addons/addon_cyan.svg \
494         gui/qt/pixmaps/addons/addon_green.svg \
495         gui/qt/pixmaps/addons/addon_magenta.svg \
496         gui/qt/pixmaps/addons/addon_red.svg \
497         gui/qt/pixmaps/addons/addon_yellow.svg \
498         gui/qt/pixmaps/addons/score.svg \
499         gui/qt/pixmaps/menu.svg \
500         gui/qt/pixmaps/menus/exit_16px.svg \
501         gui/qt/pixmaps/menus/help_16px.svg \
502         gui/qt/pixmaps/menus/info_16px.svg \
503         gui/qt/pixmaps/menus/messages_16px.svg \
504         gui/qt/pixmaps/menus/playlist_16px.svg \
505         gui/qt/pixmaps/menus/preferences_16px.svg \
506         gui/qt/pixmaps/menus/settings_16px.svg \
507         gui/qt/pixmaps/menus/stream_16px.svg \
508         gui/qt/pixmaps/next.svg \
509         gui/qt/pixmaps/noart-64.png \
510         gui/qt/pixmaps/noart.png \
511         gui/qt/pixmaps/noart_album.svg \
512         gui/qt/pixmaps/noart_albumCover.svg \
513         gui/qt/pixmaps/noart_artist.svg \
514         gui/qt/pixmaps/noart_artist_small.svg \
515         gui/qt/pixmaps/noart_artistCover.svg \
516         gui/qt/pixmaps/noart_videoCover.svg \
517         gui/qt/pixmaps/pause.svg \
518         gui/qt/pixmaps/play.svg \
519         gui/qt/pixmaps/play_button.svg \
520         gui/qt/pixmaps/playlist/add.svg \
521         gui/qt/pixmaps/playlist/playlist.svg \
522         gui/qt/pixmaps/playlist/remove.svg \
523         gui/qt/pixmaps/playlist/repeat_all.svg \
524         gui/qt/pixmaps/playlist/repeat_off.svg \
525         gui/qt/pixmaps/playlist/repeat_one.svg \
526         gui/qt/pixmaps/playlist/active_indicator.svg \
527         gui/qt/pixmaps/playlist/shuffle_on.svg \
528         gui/qt/pixmaps/playlist/dropzone.svg \
529         gui/qt/pixmaps/playlist/sidebar-icons/capture.svg \
530         gui/qt/pixmaps/playlist/sidebar-icons/pictures.svg \
531         gui/qt/pixmaps/playlist/sidebar-icons/disc.svg \
532         gui/qt/pixmaps/playlist/sidebar-icons/playlist.svg \
533         gui/qt/pixmaps/playlist/sidebar-icons/lan.svg \
534         gui/qt/pixmaps/playlist/sidebar-icons/podcast.svg \
535         gui/qt/pixmaps/playlist/sidebar-icons/library.svg \
536         gui/qt/pixmaps/playlist/sidebar-icons/screen.svg \
537         gui/qt/pixmaps/playlist/sidebar-icons/movie.svg \
538         gui/qt/pixmaps/playlist/sidebar-icons/mtp.svg \
539         gui/qt/pixmaps/playlist/sidebar-icons/music.svg \
540         gui/qt/pixmaps/playlist/sidebar-icons/network.svg \
541         gui/qt/pixmaps/playlist/sidebar-icons/sd/appletrailers.svg \
542         gui/qt/pixmaps/playlist/sidebar-icons/sd/icecast.svg \
543         gui/qt/pixmaps/playlist/sidebar-icons/sd/katsomo.svg \
544         gui/qt/pixmaps/playlist/sidebar-icons/sd/fmc.svg \
545         gui/qt/pixmaps/playlist/sidebar-icons/sd/frenchtv.svg \
546         gui/qt/pixmaps/playlist/sidebar-icons/sd/jamendo.svg \
547         gui/qt/pixmaps/playlist/sidebar-icons/sd/assembleenationale.svg \
548         gui/qt/pixmaps/prefs/advprefs_audio.svg \
549         gui/qt/pixmaps/prefs/advprefs_codec.svg \
550         gui/qt/pixmaps/prefs/advprefs_extended.svg \
551         gui/qt/pixmaps/prefs/advprefs_intf.svg \
552         gui/qt/pixmaps/prefs/advprefs_playlist.svg \
553         gui/qt/pixmaps/prefs/advprefs_sout.svg \
554         gui/qt/pixmaps/prefs/advprefs_video.svg \
555         gui/qt/pixmaps/prefs/spref_cone_Audio_64.png \
556         gui/qt/pixmaps/prefs/spref_cone_Hotkeys_64.png \
557         gui/qt/pixmaps/prefs/spref_cone_Input_64.png \
558         gui/qt/pixmaps/prefs/spref_cone_Interface_64.png \
559         gui/qt/pixmaps/prefs/spref_cone_Medialibrary_64.png \
560         gui/qt/pixmaps/prefs/spref_cone_Subtitles_64.png \
561         gui/qt/pixmaps/prefs/spref_cone_Video_64.png \
562         gui/qt/pixmaps/previous.svg \
563         gui/qt/pixmaps/profile_new.svg \
564         gui/qt/pixmaps/sample_complete.png \
565         gui/qt/pixmaps/sample_minimal.png \
566         gui/qt/pixmaps/sample_skins.png \
567         gui/qt/pixmaps/slower.svg \
568         gui/qt/pixmaps/slower2.svg \
569         gui/qt/pixmaps/space.svg \
570         gui/qt/pixmaps/stop.svg \
571         gui/qt/pixmaps/toolbar/audiosub.svg \
572         gui/qt/pixmaps/toolbar/arrows.svg \
573         gui/qt/pixmaps/toolbar/aspect-ratio.svg \
574         gui/qt/pixmaps/toolbar/atob.svg \
575         gui/qt/pixmaps/toolbar/atob_noa.svg \
576         gui/qt/pixmaps/toolbar/atob_nob.svg \
577         gui/qt/pixmaps/toolbar/atob_bg_a.svg \
578         gui/qt/pixmaps/toolbar/atob_bg_ab.svg \
579         gui/qt/pixmaps/toolbar/atob_bg_b.svg \
580         gui/qt/pixmaps/toolbar/atob_bg_none.svg \
581         gui/qt/pixmaps/toolbar/atob_fg_a.svg \
582         gui/qt/pixmaps/toolbar/atob_fg_ab.svg \
583         gui/qt/pixmaps/toolbar/atob_fg_b.svg \
584         gui/qt/pixmaps/toolbar/renderer.svg \
585         gui/qt/pixmaps/toolbar/defullscreen.svg \
586         gui/qt/pixmaps/toolbar/dvd_menu.svg \
587         gui/qt/pixmaps/toolbar/dvd_next.svg \
588         gui/qt/pixmaps/toolbar/dvd_prev.svg \
589         gui/qt/pixmaps/toolbar/extended_16px.svg \
590         gui/qt/pixmaps/toolbar/frame-by-frame.svg \
591         gui/qt/pixmaps/toolbar/fullscreen.svg \
592         gui/qt/pixmaps/toolbar/play_reverse.svg \
593         gui/qt/pixmaps/toolbar/record_16px.svg \
594         gui/qt/pixmaps/toolbar/snapshot.svg \
595         gui/qt/pixmaps/toolbar/skip_for.svg \
596         gui/qt/pixmaps/toolbar/skip_back.svg \
597         gui/qt/pixmaps/toolbar/tv.svg \
598         gui/qt/pixmaps/toolbar/tvtelx.svg \
599         gui/qt/pixmaps/toolbar/visu.svg \
600         gui/qt/pixmaps/toolbar/volume-high.svg \
601         gui/qt/pixmaps/toolbar/volume-low.svg \
602         gui/qt/pixmaps/toolbar/volume-medium.svg \
603         gui/qt/pixmaps/toolbar/volume-muted.svg \
604         gui/qt/pixmaps/toolbar/volume-slider-inside.svg \
605         gui/qt/pixmaps/toolbar/volume-slider-outside.svg \
606         gui/qt/pixmaps/types/capture-card_16px.svg \
607         gui/qt/pixmaps/types/disc_16px.svg \
608         gui/qt/pixmaps/types/file-asym_16px.svg \
609         gui/qt/pixmaps/types/file-wide_16px.svg \
610         gui/qt/pixmaps/types/file_black.svg \
611         gui/qt/pixmaps/types/folder-blue_16px.svg \
612         gui/qt/pixmaps/types/folder-grey_16px.svg \
613         gui/qt/pixmaps/types/harddisk_16px.svg \
614         gui/qt/pixmaps/types/network_16px.svg \
615         gui/qt/pixmaps/types/tape_16px.svg \
616         gui/qt/pixmaps/types/type_directory.svg \
617         gui/qt/pixmaps/types/type_directory_black.svg \
618         gui/qt/pixmaps/types/type_file.svg \
619         gui/qt/pixmaps/types/type_stream.svg \
620         gui/qt/pixmaps/types/type_node.svg \
621         gui/qt/pixmaps/types/type_playlist.svg \
622         gui/qt/pixmaps/types/type_unknown.xpm \
623         gui/qt/pixmaps/util/wait1.svg \
624         gui/qt/pixmaps/util/wait2.svg \
625         gui/qt/pixmaps/util/wait3.svg \
626         gui/qt/pixmaps/util/wait4.svg \
627         gui/qt/pixmaps/win7/win7thumbnail_pause.svg \
628         gui/qt/pixmaps/win7/win7thumbnail_prev.svg \
629         gui/qt/pixmaps/win7/win7thumbnail_next.svg \
630         gui/qt/pixmaps/win7/win7thumbnail_play.svg \
631         gui/qt/pixmaps/update.svg \
632         gui/qt/pixmaps/valid.svg \
633         gui/qt/pixmaps/search_clear.svg \
634         gui/qt/pixmaps/lock.svg \
635         gui/qt/pixmaps/close.svg \
636         gui/qt/pixmaps/rename.svg \
637         gui/qt/pixmaps/del.svg \
638         gui/qt/pixmaps/ellipsis.svg \
639         gui/qt/pixmaps/topbar/grid.svg \
640         gui/qt/pixmaps/topbar/list.svg \
641         gui/qt/pixmaps/cone.svg \
642         gui/qt/pixmaps/album_cover.svg \
643         gui/qt/pixmaps/back.svg \
644         gui/qt/pixmaps/time.svg
646 if HAVE_WIN32
647 libqt_plugin_la_RES += gui/qt/pixmaps/windows-theme.conf
648 endif
650 #QML and JS resources
651 libqt_plugin_la_QML = \
652         gui/qt/dialogs/dialogs/qml/CustomDialog.qml \
653         gui/qt/dialogs/dialogs/qml/Dialogs.qml \
654         gui/qt/dialogs/dialogs/qml/ModalDialog.qml \
655         gui/qt/dialogs/dialogs/qml/WindowDialog.qml \
656         gui/qt/dialogs/help/qml/About.qml \
657         gui/qt/dialogs/toolbar/qml/EditorDNDDelegate.qml \
658         gui/qt/dialogs/toolbar/qml/EditorDNDView.qml\
659         gui/qt/dialogs/toolbar/qml/EditorDummyButton.qml \
660         gui/qt/dialogs/toolbar/qml/EditorTabButton.qml \
661         gui/qt/dialogs/toolbar/qml/ToolbarEditor.qml \
662         gui/qt/dialogs/toolbar/qml/ToolbarEditorDialog.qml \
663         gui/qt/dialogs/toolbar/qml/ToolbarEditorButtonList.qml \
664         gui/qt/maininterface/qml/BannerSources.qml \
665         gui/qt/maininterface/qml/MainInterface.qml \
666         gui/qt/maininterface/qml/MainDisplay.qml \
667         gui/qt/maininterface/qml/MainGridView.qml \
668         gui/qt/maininterface/qml/MainTableView.qml \
669         gui/qt/maininterface/qml/MiniPlayerBottomMargin.qml \
670         gui/qt/maininterface/qml/NoMedialibHome.qml \
671         gui/qt/medialibrary/qml/ArtistTopBanner.qml \
672         gui/qt/medialibrary/qml/AudioGridItem.qml \
673         gui/qt/medialibrary/qml/EmptyLabel.qml \
674         gui/qt/medialibrary/qml/MusicAlbums.qml \
675         gui/qt/medialibrary/qml/MusicAlbumsDisplay.qml \
676         gui/qt/medialibrary/qml/MusicAlbumsGridExpandDelegate.qml \
677         gui/qt/medialibrary/qml/MusicArtist.qml \
678         gui/qt/medialibrary/qml/MusicArtistsAlbums.qml \
679         gui/qt/medialibrary/qml/MusicArtistsDisplay.qml \
680         gui/qt/medialibrary/qml/MusicDisplay.qml \
681         gui/qt/medialibrary/qml/MusicGenres.qml \
682         gui/qt/medialibrary/qml/MusicGenresDisplay.qml \
683         gui/qt/medialibrary/qml/MusicPlaylistsDisplay.qml \
684         gui/qt/medialibrary/qml/MusicTrackListDisplay.qml \
685         gui/qt/medialibrary/qml/MusicTracksDisplay.qml \
686         gui/qt/medialibrary/qml/UrlListDisplay.qml \
687         gui/qt/medialibrary/qml/VideoDisplay.qml \
688         gui/qt/medialibrary/qml/VideoAll.qml \
689         gui/qt/medialibrary/qml/VideoAllDisplay.qml \
690         gui/qt/medialibrary/qml/PlaylistMediaList.qml \
691         gui/qt/medialibrary/qml/PlaylistMedia.qml \
692         gui/qt/medialibrary/qml/PlaylistMediaDelegate.qml \
693         gui/qt/medialibrary/qml/PlaylistMediaDisplay.qml \
694         gui/qt/medialibrary/qml/VideoPlaylistsDisplay.qml \
695         gui/qt/medialibrary/qml/VideoDisplayRecentVideos.qml \
696         gui/qt/medialibrary/qml/VideoGridItem.qml \
697         gui/qt/medialibrary/qml/VideoInfoExpandPanel.qml \
698         gui/qt/medialibrary/qml/VideoListDisplay.qml \
699         gui/qt/menus/qml/GlobalShortcuts.qml \
700         gui/qt/menus/qml/GlobalShortcutsMedialib.qml \
701         gui/qt/menus/qml/Menubar.qml \
702         gui/qt/network/qml/AddressbarButton.qml \
703         gui/qt/network/qml/DiscoverDisplay.qml \
704         gui/qt/network/qml/DiscoverUrlDisplay.qml \
705         gui/qt/network/qml/NetworkAddressbar.qml \
706         gui/qt/network/qml/NetworkBrowseDisplay.qml \
707         gui/qt/network/qml/NetworkCustomCover.qml \
708         gui/qt/network/qml/NetworkDisplay.qml \
709         gui/qt/network/qml/NetworkGridItem.qml \
710         gui/qt/network/qml/NetworkHomeDisplay.qml \
711         gui/qt/network/qml/NetworkHomeDeviceListView.qml \
712         gui/qt/network/qml/NetworkListItem.qml \
713         gui/qt/network/qml/NetworkThumbnailItem.qml \
714         gui/qt/network/qml/ServicesHomeDisplay.qml \
715         gui/qt/player/qml/ControlBar.qml \
716         gui/qt/player/qml/ControlButtons.qml \
717         gui/qt/player/qml/LanguageMenu.qml \
718         gui/qt/player/qml/PlaybackSpeed.qml \
719         gui/qt/player/qml/MiniPlayer.qml \
720         gui/qt/player/qml/PIPPlayer.qml \
721         gui/qt/player/qml/Player.qml \
722         gui/qt/player/qml/PlayerButtonsLayout.qml \
723         gui/qt/player/qml/PlayerMenu.qml \
724         gui/qt/player/qml/PlayerMenuItem.qml \
725         gui/qt/player/qml/ResumeDialog.qml \
726         gui/qt/player/qml/SliderBar.qml \
727         gui/qt/player/qml/TeletextWidget.qml \
728         gui/qt/player/qml/TopBar.qml \
729         gui/qt/player/qml/TrackInfo.qml \
730         gui/qt/player/qml/VolumeWidget.qml \
731         gui/qt/player/qml/ButtonsLayout.qml \
732         gui/qt/playlist/qml/PlaylistDelegate.qml \
733         gui/qt/playlist/qml/PlaylistListView.qml \
734         gui/qt/playlist/qml/PlaylistOverlayMenu.qml \
735         gui/qt/playlist/qml/PlaylistToolbar.qml \
736         gui/qt/playlist/qml/PlaylistDetachedWindow.qml \
737         gui/qt/style/VLCColors.qml \
738         gui/qt/style/VLCIcons.qml \
739         gui/qt/style/VLCStyle.qml \
740         gui/qt/style/qmldir \
741         gui/qt/util/qml/Helpers.js \
742         gui/qt/util/qml/KeyHelper.js \
743         gui/qt/util/qml/SelectableDelegateModel.qml \
744         gui/qt/widgets/qml/BannerTabButton.qml \
745         gui/qt/widgets/qml/BusyIndicatorExt.qml \
746         gui/qt/widgets/qml/CaptionLabel.qml \
747         gui/qt/widgets/qml/CheckedDelegate.qml \
748         gui/qt/widgets/qml/ComboBoxExt.qml \
749         gui/qt/widgets/qml/ContextButton.qml \
750         gui/qt/widgets/qml/CoverShadow.qml \
751         gui/qt/widgets/qml/CSDWindowButton.qml \
752         gui/qt/widgets/qml/CSDWindowButtonSet.qml \
753         gui/qt/widgets/qml/CSDTitlebarTapNDrapHandler.qml \
754         gui/qt/widgets/qml/CurrentIndicator.qml \
755         gui/qt/widgets/qml/DragItem.qml \
756         gui/qt/widgets/qml/DrawerExt.qml \
757         gui/qt/widgets/qml/ExpandGridView.qml \
758         gui/qt/widgets/qml/FocusBackground.qml \
759         gui/qt/widgets/qml/GridItem.qml \
760         gui/qt/widgets/qml/GridShadows.qml \
761         gui/qt/widgets/qml/HorizontalResizeHandle.qml \
762         gui/qt/widgets/qml/IconLabel.qml \
763         gui/qt/widgets/qml/IconButton.qml \
764         gui/qt/widgets/qml/IconControlButton.qml \
765         gui/qt/widgets/qml/IconToolButton.qml \
766         gui/qt/widgets/qml/ImageToolButton.qml \
767         gui/qt/widgets/qml/KeyNavigableGridView.qml \
768         gui/qt/widgets/qml/KeyNavigableListView.qml \
769         gui/qt/widgets/qml/KeyNavigableTableView.qml \
770         gui/qt/widgets/qml/TableViewDelegate.qml \
771         gui/qt/widgets/qml/LabelSeparator.qml \
772         gui/qt/widgets/qml/ListCoverShadow.qml \
773         gui/qt/widgets/qml/ListItem.qml \
774         gui/qt/widgets/qml/ListLabel.qml \
775         gui/qt/widgets/qml/LocalTabBar.qml \
776         gui/qt/widgets/qml/MediaCover.qml \
777         gui/qt/widgets/qml/SubtitleLabel.qml \
778         gui/qt/widgets/qml/MenuCaption.qml \
779         gui/qt/widgets/qml/MenuExt.qml \
780         gui/qt/widgets/qml/MenuItemExt.qml \
781         gui/qt/widgets/qml/MenuLabel.qml \
782         gui/qt/widgets/qml/NavigableCol.qml \
783         gui/qt/widgets/qml/NavigableFocusScope.qml \
784         gui/qt/widgets/qml/NavigableRow.qml \
785         gui/qt/widgets/qml/PlayCover.qml \
786         gui/qt/widgets/qml/RoundButton.qml \
787         gui/qt/widgets/qml/RoundImage.qml \
788         gui/qt/widgets/qml/ScanProgressBar.qml \
789         gui/qt/widgets/qml/ScrollingText.qml \
790         gui/qt/widgets/qml/SearchBox.qml \
791         gui/qt/widgets/qml/ShadowCoverGenerator.qml \
792         gui/qt/widgets/qml/SortControl.qml \
793         gui/qt/widgets/qml/SpinBoxExt.qml \
794         gui/qt/widgets/qml/StackViewExt.qml \
795         gui/qt/widgets/qml/PageLoader.qml \
796         gui/qt/widgets/qml/TabButtonExt.qml \
797         gui/qt/widgets/qml/TableColumns.qml \
798         gui/qt/widgets/qml/TransparentSpinBox.qml \
799         gui/qt/widgets/qml/TextToolButton.qml \
800         gui/qt/widgets/qml/ToolTipArea.qml \
801         gui/qt/widgets/qml/VideoProgressBar.qml \
802         gui/qt/widgets/qml/VideoQualityLabel.qml \
803         gui/qt/widgets/qml/ListSubtitleLabel.qml \
804         gui/qt/widgets/qml/PointingTooltip.qml \
805         gui/qt/widgets/qml/FrostedGlassEffect.qml \
806         gui/qt/widgets/qml/OverlayMenu.qml
808 lib_qt_plugin_la_QRC = gui/qt/vlc.qrc
810 if HAVE_WIN32
811 lib_qt_plugin_la_QRC += gui/qt/windows.qrc
812 endif
814 EXTRA_DIST += $(lib_qt_plugin_la_QRC) $(libqt_plugin_la_RES)
816 nodist_libqt_plugin_la_SOURCES += gui/qt/resources.cpp
818 if ENABLE_VLM
819 nodist_libqt_plugin_la_SOURCES += gui/qt/dialogs/vlm/vlm.moc.cpp
820 endif
822 if HAVE_QMLCACHE
824 nodist_libqt_plugin_la_SOURCES += gui/qt/qmlcache_loader.cpp
825 libqt_plugin_la_SOURCES += $(libqt_plugin_la_QML)
827 .qml.cpp:
828         $(AM_V_GEN)$(QMLCACHE) --resource=$(srcdir)/gui/qt/vlc.qrc -o $@ $<
830 .js.cpp:
831         $(AM_V_GEN)$(QMLCACHE) --resource=$(srcdir)/gui/qt/vlc.qrc -o $@ $<
833 .mjs.cpp:
834         $(AM_V_GEN)$(QMLCACHE) --resource=$(srcdir)/gui/qt/vlc.qrc -o $@ $<
836 qml_cache.qrc: gui/qt/vlc.qrc
837         $(AM_V_GEN)$(QMLCACHE) --filter-resource-file -o $@ $<
839 QRCS_EXCEPT_VLC_QRC = $(filter-out gui/qt/vlc.qrc, $(lib_qt_plugin_la_QRC))
840 QRCS_EXCEPT_VLC_QRC += qml_cache.qrc
842 gui/qt/resources.cpp: $(QRCS_EXCEPT_VLC_QRC) $(libqt_plugin_la_RES)
843         $(AM_V_GEN)$(RCC) --name qml_cache -o $@ $(filter %.qrc, $^)
845 #output name matters here
846 gui/qt/qmlcache_loader.cpp: gui/qt/vlc.qrc qml_cache.qrc $(libqt_plugin_la_QML)
847         $(AM_V_GEN)$(QMLCACHE) --resource-file-mapping=$<=qml_cache.qrc $< -o $@
849 else
851 EXTRA_DIST += $(libqt_plugin_la_QML)
853 gui/qt/resources.cpp: $(lib_qt_plugin_la_QRC) $(libqt_plugin_la_RES) $(libqt_plugin_la_QML)
854         $(AM_V_GEN)$(RCC) --name vlc -o $@ $(filter %.qrc, $^)
856 endif
858 vlc_qt_check_SOURCES = gui/qt/vlc-qt-check.cpp
859 vlc_qt_check_CXXFLAGS = $(AM_CXXFLAGS) $(QT_CFLAGS) -fPIC $(CXXFLAGS_qt)
860 vlc_qt_check_LDADD = $(QT_LIBS)
862 if ENABLE_QT
863 gui_LTLIBRARIES += libqt_plugin.la
864 BUILT_SOURCES += $(nodist_libqt_plugin_la_SOURCES)
865 if !HAVE_WIN32
866 if !HAVE_OS2
867 pkglibexec_PROGRAMS += vlc-qt-check
868 endif
869 endif
870 endif