gui: qt: use float for rate
[vlc.git] / modules / gui / qt / Makefile.am
bloba37baeb1a943549796069d664cdea6f27d85627f
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
12 SUFFIXES += .ui .h .hpp .moc.cpp
14 libqt_plugin_la_CPPFLAGS = $(AM_CPPFLAGS) \
15         -I$(srcdir)/gui/qt -I$(builddir)/gui/qt
16 libqt_plugin_la_CXXFLAGS = $(AM_CXXFLAGS) $(QT_CFLAGS) $(CXXFLAGS_qt)
17 libqt_plugin_la_LIBADD = $(QT_LIBS) $(LIBS_qt) $(LIBM)
18 libqt_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(guidir)'
19 if HAVE_DARWIN
20 libqt_plugin_la_LDFLAGS += -Wl,-framework,Cocoa
21 endif
22 if HAVE_QT5_X11
23 libqt_plugin_la_CXXFLAGS += $(QT5_X11_CFLAGS) -DQT5_HAS_X11
24 libqt_plugin_la_LIBADD += $(QT5_X11_LIBS) $(X_LIBS) $(X_PRE_LIB) -lX11
25 endif
26 if HAVE_XCB
27 libqt_plugin_la_CXXFLAGS += -DQT5_HAS_XCB
28 endif
29 if HAVE_WAYLAND
30 libqt_plugin_la_CPPFLAGS += -DQT5_HAS_WAYLAND \
31         -DQPNI_HEADER=\<$(QT_VERSION)/QtGui/qpa/qplatformnativeinterface.h\>
32 libqt_plugin_la_CXXFLAGS += $(WAYLAND_CLIENT_CFLAGS)
33 libqt_plugin_la_LIBADD += $(WAYLAND_CLIENT_LIBS)
34 endif
35 if HAVE_WIN32
36 libqt_plugin_la_LIBADD += $(LIBCOM) -lcomctl32 -luuid
37 endif
38 if UPDATE_CHECK
39 libqt_plugin_la_CPPFLAGS += -DUPDATE_CHECK
40 endif
42 libqt_plugin_la_SOURCES = \
43         gui/qt/qt.cpp gui/qt/qt.hpp \
44         gui/qt/menus.cpp gui/qt/menus.hpp \
45         gui/qt/main_interface.cpp gui/qt/main_interface.hpp \
46         gui/qt/dialogs_provider.cpp gui/qt/dialogs_provider.hpp \
47         gui/qt/input_manager.cpp gui/qt/input_manager.hpp \
48         gui/qt/actions_manager.cpp gui/qt/actions_manager.hpp \
49         gui/qt/extensions_manager.cpp gui/qt/extensions_manager.hpp \
50         gui/qt/managers/addons_manager.cpp gui/qt/managers/addons_manager.hpp \
51         gui/qt/managers/renderer_manager.cpp gui/qt/managers/renderer_manager.hpp \
52         gui/qt/recents.cpp gui/qt/recents.hpp \
53         gui/qt/adapters/seekpoints.cpp gui/qt/adapters/seekpoints.hpp \
54         gui/qt/adapters/chromaprint.cpp gui/qt/adapters/chromaprint.hpp \
55         gui/qt/adapters/variables.cpp gui/qt/adapters/variables.hpp \
56         gui/qt/dialogs/playlist.cpp gui/qt/dialogs/playlist.hpp \
57         gui/qt/dialogs/bookmarks.cpp gui/qt/dialogs/bookmarks.hpp \
58         gui/qt/dialogs/preferences.cpp gui/qt/dialogs/preferences.hpp \
59         gui/qt/dialogs/mediainfo.cpp gui/qt/dialogs/mediainfo.hpp \
60         gui/qt/dialogs/epg.cpp gui/qt/dialogs/epg.hpp \
61         gui/qt/dialogs/extended.cpp gui/qt/dialogs/extended.hpp \
62         gui/qt/dialogs/messages.cpp gui/qt/dialogs/messages.hpp \
63         gui/qt/dialogs/errors.cpp gui/qt/dialogs/errors.hpp \
64         gui/qt/dialogs/external.cpp gui/qt/dialogs/external.hpp \
65         gui/qt/dialogs/plugins.cpp gui/qt/dialogs/plugins.hpp \
66         gui/qt/dialogs/sout.cpp gui/qt/dialogs/sout.hpp \
67         gui/qt/dialogs/convert.cpp gui/qt/dialogs/convert.hpp \
68         gui/qt/dialogs/help.cpp gui/qt/dialogs/help.hpp \
69         gui/qt/dialogs/gototime.cpp gui/qt/dialogs/gototime.hpp \
70         gui/qt/dialogs/toolbar.cpp gui/qt/dialogs/toolbar.hpp \
71         gui/qt/dialogs/open.cpp gui/qt/dialogs/open.hpp \
72         gui/qt/dialogs/openurl.cpp gui/qt/dialogs/openurl.hpp \
73         gui/qt/dialogs/vlm.cpp gui/qt/dialogs/vlm.hpp \
74         gui/qt/dialogs/firstrun.cpp gui/qt/dialogs/firstrun.hpp \
75         gui/qt/dialogs/podcast_configuration.cpp \
76         gui/qt/dialogs/podcast_configuration.hpp \
77         gui/qt/dialogs/extensions.cpp gui/qt/dialogs/extensions.hpp \
78         gui/qt/dialogs/fingerprintdialog.cpp \
79         gui/qt/dialogs/fingerprintdialog.hpp \
80         gui/qt/components/extended_panels.cpp \
81         gui/qt/components/extended_panels.hpp \
82         gui/qt/components/info_panels.cpp gui/qt/components/info_panels.hpp \
83         gui/qt/components/info_widgets.cpp gui/qt/components/info_widgets.hpp \
84         gui/qt/components/preferences_widgets.cpp \
85         gui/qt/components/preferences_widgets.hpp \
86         gui/qt/components/complete_preferences.cpp \
87         gui/qt/components/complete_preferences.hpp \
88         gui/qt/components/simple_preferences.cpp \
89         gui/qt/components/simple_preferences.hpp \
90         gui/qt/components/open_panels.cpp gui/qt/components/open_panels.hpp \
91         gui/qt/components/interface_widgets.cpp \
92         gui/qt/components/interface_widgets.hpp \
93         gui/qt/components/controller.cpp gui/qt/components/controller.hpp \
94         gui/qt/components/controller_widget.cpp \
95         gui/qt/components/controller_widget.hpp \
96         gui/qt/components/custom_menus.cpp \
97         gui/qt/components/custom_menus.hpp \
98         gui/qt/components/epg/EPGChannels.cpp \
99         gui/qt/components/epg/EPGChannels.hpp \
100         gui/qt/components/epg/EPGItem.cpp \
101         gui/qt/components/epg/EPGItem.hpp \
102         gui/qt/components/epg/EPGProgram.cpp \
103         gui/qt/components/epg/EPGProgram.hpp \
104         gui/qt/components/epg/EPGRuler.cpp gui/qt/components/epg/EPGRuler.hpp \
105         gui/qt/components/epg/EPGView.cpp gui/qt/components/epg/EPGView.hpp \
106         gui/qt/components/epg/EPGWidget.cpp \
107         gui/qt/components/epg/EPGWidget.hpp \
108         gui/qt/components/playlist/views.cpp \
109         gui/qt/components/playlist/views.hpp \
110         gui/qt/components/playlist/vlc_model.cpp \
111         gui/qt/components/playlist/vlc_model.hpp \
112         gui/qt/components/playlist/playlist_model.cpp \
113         gui/qt/components/playlist/playlist_model.hpp \
114         gui/qt/components/playlist/playlist_item.cpp \
115         gui/qt/components/playlist/playlist_item.hpp \
116         gui/qt/components/playlist/standardpanel.cpp \
117         gui/qt/components/playlist/standardpanel.hpp \
118         gui/qt/components/playlist/playlist.cpp \
119         gui/qt/components/playlist/playlist.hpp \
120         gui/qt/components/playlist/selector.cpp \
121         gui/qt/components/playlist/selector.hpp \
122         gui/qt/components/playlist/sorting.h \
123         gui/qt/components/sout/profile_selector.cpp \
124         gui/qt/components/sout/profile_selector.hpp \
125         gui/qt/components/sout/sout_widgets.cpp \
126         gui/qt/components/sout/sout_widgets.hpp \
127         gui/qt/components/sout/profiles.hpp \
128         gui/qt/util/animators.cpp gui/qt/util/animators.hpp \
129         gui/qt/util/input_slider.cpp gui/qt/util/input_slider.hpp \
130         gui/qt/util/timetooltip.cpp gui/qt/util/timetooltip.hpp \
131         gui/qt/util/customwidgets.cpp gui/qt/util/customwidgets.hpp \
132         gui/qt/util/searchlineedit.cpp gui/qt/util/searchlineedit.hpp \
133         gui/qt/util/registry.cpp gui/qt/util/registry.hpp \
134         gui/qt/util/qmenuview.cpp gui/qt/util/qmenuview.hpp \
135         gui/qt/util/qt_dirs.cpp gui/qt/util/qt_dirs.hpp \
136         gui/qt/util/pictureflow.cpp gui/qt/util/pictureflow.hpp \
137         gui/qt/util/validators.cpp gui/qt/util/validators.hpp \
138         gui/qt/util/buttons/BrowseButton.cpp \
139         gui/qt/util/buttons/BrowseButton.hpp \
140         gui/qt/util/buttons/DeckButtonsLayout.cpp \
141         gui/qt/util/buttons/DeckButtonsLayout.hpp \
142         gui/qt/util/buttons/RoundButton.cpp \
143         gui/qt/util/buttons/RoundButton.hpp \
144         gui/qt/util/qvlcframe.hpp \
145         gui/qt/util/qvlcapp.hpp \
146         gui/qt/util/singleton.hpp \
147         gui/qt/util/imagehelper.cpp gui/qt/util/imagehelper.hpp \
148         gui/qt/styles/seekstyle.cpp gui/qt/styles/seekstyle.hpp
149 if HAVE_WIN32
150 libqt_plugin_la_SOURCES += \
151         gui/qt/main_interface_win32.cpp gui/qt/main_interface_win32.hpp
152 endif
154 # Meta-object compilation
156 moc_verbose = $(moc_verbose_$(V))
157 moc_verbose_ = $(moc_verbose__$(AM_DEFAULT_VERBOSITY))
158 moc_verbose_0 = @echo "  MOC   " $@;
159 moc_verbose__0 = $(moc_verbose_0)
161 .hpp.moc.cpp:
162         $(moc_verbose)$(MOC) $(MOC_CPPFLAGS) -o $@ $<
164 # These MOC files depend on the configure settings:
165 dialogs_provider.moc.cpp dialogs/vlm.moc.cpp: $(top_builddir)/config.h
167 nodist_libqt_plugin_la_SOURCES = \
168         gui/qt/main_interface.moc.cpp \
169         gui/qt/menus.moc.cpp \
170         gui/qt/dialogs_provider.moc.cpp \
171         gui/qt/input_manager.moc.cpp \
172         gui/qt/actions_manager.moc.cpp \
173         gui/qt/extensions_manager.moc.cpp \
174         gui/qt/managers/addons_manager.moc.cpp \
175         gui/qt/managers/renderer_manager.moc.cpp \
176         gui/qt/recents.moc.cpp \
177         gui/qt/adapters/seekpoints.moc.cpp \
178         gui/qt/adapters/chromaprint.moc.cpp \
179         gui/qt/adapters/variables.moc.cpp \
180         gui/qt/dialogs/playlist.moc.cpp \
181         gui/qt/dialogs/bookmarks.moc.cpp \
182         gui/qt/dialogs/mediainfo.moc.cpp \
183         gui/qt/dialogs/extended.moc.cpp \
184         gui/qt/dialogs/messages.moc.cpp \
185         gui/qt/dialogs/epg.moc.cpp \
186         gui/qt/dialogs/errors.moc.cpp \
187         gui/qt/dialogs/external.moc.cpp \
188         gui/qt/dialogs/plugins.moc.cpp \
189         gui/qt/dialogs/preferences.moc.cpp \
190         gui/qt/dialogs/sout.moc.cpp \
191         gui/qt/dialogs/convert.moc.cpp \
192         gui/qt/dialogs/help.moc.cpp \
193         gui/qt/dialogs/gototime.moc.cpp \
194         gui/qt/dialogs/toolbar.moc.cpp \
195         gui/qt/dialogs/open.moc.cpp \
196         gui/qt/dialogs/openurl.moc.cpp \
197         gui/qt/dialogs/podcast_configuration.moc.cpp \
198         gui/qt/dialogs/firstrun.moc.cpp \
199         gui/qt/dialogs/extensions.moc.cpp \
200         gui/qt/dialogs/fingerprintdialog.moc.cpp \
201         gui/qt/components/extended_panels.moc.cpp \
202         gui/qt/components/info_panels.moc.cpp \
203         gui/qt/components/info_widgets.moc.cpp \
204         gui/qt/components/preferences_widgets.moc.cpp \
205         gui/qt/components/complete_preferences.moc.cpp \
206         gui/qt/components/simple_preferences.moc.cpp \
207         gui/qt/components/open_panels.moc.cpp \
208         gui/qt/components/interface_widgets.moc.cpp \
209         gui/qt/components/controller.moc.cpp \
210         gui/qt/components/controller_widget.moc.cpp \
211         gui/qt/components/custom_menus.moc.cpp \
212         gui/qt/components/epg/EPGChannels.moc.cpp \
213         gui/qt/components/epg/EPGProgram.moc.cpp \
214         gui/qt/components/epg/EPGRuler.moc.cpp \
215         gui/qt/components/epg/EPGView.moc.cpp \
216         gui/qt/components/epg/EPGWidget.moc.cpp \
217         gui/qt/components/playlist/views.moc.cpp \
218         gui/qt/components/playlist/vlc_model.moc.cpp \
219         gui/qt/components/playlist/playlist_model.moc.cpp \
220         gui/qt/components/playlist/playlist.moc.cpp \
221         gui/qt/components/playlist/standardpanel.moc.cpp \
222         gui/qt/components/playlist/selector.moc.cpp \
223         gui/qt/components/sout/profile_selector.moc.cpp \
224         gui/qt/components/sout/sout_widgets.moc.cpp \
225         gui/qt/util/animators.moc.cpp \
226         gui/qt/util/input_slider.moc.cpp \
227         gui/qt/util/timetooltip.moc.cpp \
228         gui/qt/util/customwidgets.moc.cpp \
229         gui/qt/util/searchlineedit.moc.cpp \
230         gui/qt/util/qmenuview.moc.cpp \
231         gui/qt/util/qvlcapp.moc.cpp \
232         gui/qt/util/pictureflow.moc.cpp \
233         gui/qt/util/validators.moc.cpp \
234         gui/qt/util/buttons/RoundButton.moc.cpp \
235         gui/qt/util/buttons/DeckButtonsLayout.moc.cpp \
236         gui/qt/util/buttons/BrowseButton.moc.cpp \
237         gui/qt/styles/seekstyle.moc.cpp
239 if HAVE_WIN32
240 nodist_libqt_plugin_la_SOURCES += gui/qt/main_interface_win32.moc.cpp
241 endif
243 nodist_libqt_plugin_la_SOURCES += \
244         gui/qt/ui/equalizer.h \
245         gui/qt/ui/video_effects.h \
246         gui/qt/ui/open_file.h \
247         gui/qt/ui/open_disk.h \
248         gui/qt/ui/open_net.h \
249         gui/qt/ui/open_capture.h \
250         gui/qt/ui/open.h \
251         gui/qt/ui/vlm.h \
252         gui/qt/ui/podcast_configuration.h \
253         gui/qt/ui/profiles.h \
254         gui/qt/ui/sprefs_audio.h \
255         gui/qt/ui/sprefs_input.h \
256         gui/qt/ui/sprefs_interface.h \
257         gui/qt/ui/sprefs_subtitles.h \
258         gui/qt/ui/sprefs_video.h \
259         gui/qt/ui/streampanel.h \
260         gui/qt/ui/messages_panel.h \
261         gui/qt/ui/about.h \
262         gui/qt/ui/update.h \
263         gui/qt/ui/fingerprintdialog.h \
264         gui/qt/ui/sout.h
266 # User interface compilation
268 uic_verbose = $(uic_verbose_$(V))
269 uic_verbose_ = $(uic_verbose__$(AM_DEFAULT_VERBOSITY))
270 uic_verbose_0 = @echo "  UIC   " $@;
271 uic_verbose__0 = $(uic_verbose_0)
273 MOC_CPPFLAGS = $(DEFS) \
274         -I$(top_srcdir)/include -I$(top_builddir)/include -I$(top_builddir) \
275         $(libqt_plugin_la_CPPFLAGS)
276 if HAVE_DARWIN
277 MOC_CPPFLAGS += -DQ_OS_MAC
278 endif
279 if HAVE_WIN32
280 MOC_CPPFLAGS += -D_WIN32
281 endif
283 libqt_plugin_la_UI = \
284         gui/qt/ui/equalizer.ui \
285         gui/qt/ui/video_effects.ui \
286         gui/qt/ui/open_file.ui \
287         gui/qt/ui/open_disk.ui \
288         gui/qt/ui/open_net.ui \
289         gui/qt/ui/open_capture.ui \
290         gui/qt/ui/open.ui \
291         gui/qt/ui/podcast_configuration.ui \
292         gui/qt/ui/profiles.ui \
293         gui/qt/ui/sprefs_audio.ui \
294         gui/qt/ui/sprefs_input.ui \
295         gui/qt/ui/sprefs_interface.ui \
296         gui/qt/ui/sprefs_subtitles.ui \
297         gui/qt/ui/sprefs_video.ui \
298         gui/qt/ui/streampanel.ui \
299         gui/qt/ui/messages_panel.ui \
300         gui/qt/ui/about.ui \
301         gui/qt/ui/update.ui \
302         gui/qt/ui/sout.ui \
303         gui/qt/ui/vlm.ui \
304         gui/qt/ui/fingerprintdialog.ui
305 EXTRA_DIST += $(libqt_plugin_la_UI)
307 .ui.h:
308         $(AM_V_at)mkdir -p -- gui/qt/ui
309         $(AM_V_at)rm -f $@ $@.tmp
310         $(AM_V_at)echo "#define Q_(a,b) QString::fromUtf8(_(a))" > $@.tmp
311         $(uic_verbose)$(UIC) -tr "Q_" $< >> $@.tmp
312         $(AM_V_at)sed -e 's/Q_(\"_(\\\"\(.*\)\\\")"/Q_("\1"/' $@.tmp >$@
313         $(AM_V_at)rm -f $@.tmp
315 # Resources
317 libqt_plugin_la_RES = \
318         gui/qt/pixmaps/clear.svg \
319         gui/qt/pixmaps/eject.svg \
320         gui/qt/pixmaps/faster.svg \
321         gui/qt/pixmaps/faster2.svg \
322         gui/qt/pixmaps/go-next.svg \
323         gui/qt/pixmaps/addons/addon.svg \
324         gui/qt/pixmaps/addons/addon_broken.svg \
325         gui/qt/pixmaps/addons/addon_blue.svg \
326         gui/qt/pixmaps/addons/addon_cyan.svg \
327         gui/qt/pixmaps/addons/addon_green.svg \
328         gui/qt/pixmaps/addons/addon_magenta.svg \
329         gui/qt/pixmaps/addons/addon_red.svg \
330         gui/qt/pixmaps/addons/addon_yellow.svg \
331         gui/qt/pixmaps/addons/score.svg \
332         gui/qt/pixmaps/menus/exit_16px.svg \
333         gui/qt/pixmaps/menus/help_16px.svg \
334         gui/qt/pixmaps/menus/info_16px.svg \
335         gui/qt/pixmaps/menus/messages_16px.svg \
336         gui/qt/pixmaps/menus/playlist_16px.svg \
337         gui/qt/pixmaps/menus/preferences_16px.svg \
338         gui/qt/pixmaps/menus/settings_16px.svg \
339         gui/qt/pixmaps/menus/stream_16px.svg \
340         gui/qt/pixmaps/next.svg \
341         gui/qt/pixmaps/noart-64.png \
342         gui/qt/pixmaps/noart.png \
343         gui/qt/pixmaps/pause.svg \
344         gui/qt/pixmaps/play.svg \
345         gui/qt/pixmaps/playlist/add.svg \
346         gui/qt/pixmaps/playlist/playlist.svg \
347         gui/qt/pixmaps/playlist/remove.svg \
348         gui/qt/pixmaps/playlist/repeat_all.svg \
349         gui/qt/pixmaps/playlist/repeat_off.svg \
350         gui/qt/pixmaps/playlist/repeat_one.svg \
351         gui/qt/pixmaps/playlist/shuffle_on.svg \
352         gui/qt/pixmaps/playlist/dropzone.svg \
353         gui/qt/pixmaps/playlist/sidebar-icons/capture.svg \
354         gui/qt/pixmaps/playlist/sidebar-icons/pictures.svg \
355         gui/qt/pixmaps/playlist/sidebar-icons/disc.svg \
356         gui/qt/pixmaps/playlist/sidebar-icons/playlist.svg \
357         gui/qt/pixmaps/playlist/sidebar-icons/lan.svg \
358         gui/qt/pixmaps/playlist/sidebar-icons/podcast.svg \
359         gui/qt/pixmaps/playlist/sidebar-icons/library.svg \
360         gui/qt/pixmaps/playlist/sidebar-icons/screen.svg \
361         gui/qt/pixmaps/playlist/sidebar-icons/movie.svg \
362         gui/qt/pixmaps/playlist/sidebar-icons/mtp.svg \
363         gui/qt/pixmaps/playlist/sidebar-icons/music.svg \
364         gui/qt/pixmaps/playlist/sidebar-icons/network.svg \
365         gui/qt/pixmaps/playlist/sidebar-icons/sd/appletrailers.svg \
366         gui/qt/pixmaps/playlist/sidebar-icons/sd/icecast.svg \
367         gui/qt/pixmaps/playlist/sidebar-icons/sd/katsomo.svg \
368         gui/qt/pixmaps/playlist/sidebar-icons/sd/fmc.svg \
369         gui/qt/pixmaps/playlist/sidebar-icons/sd/frenchtv.svg \
370         gui/qt/pixmaps/playlist/sidebar-icons/sd/jamendo.svg \
371         gui/qt/pixmaps/playlist/sidebar-icons/sd/assembleenationale.svg \
372         gui/qt/pixmaps/prefs/advprefs_audio.svg \
373         gui/qt/pixmaps/prefs/advprefs_codec.svg \
374         gui/qt/pixmaps/prefs/advprefs_extended.svg \
375         gui/qt/pixmaps/prefs/advprefs_intf.svg \
376         gui/qt/pixmaps/prefs/advprefs_playlist.svg \
377         gui/qt/pixmaps/prefs/advprefs_sout.svg \
378         gui/qt/pixmaps/prefs/advprefs_video.svg \
379         gui/qt/pixmaps/prefs/spref_cone_Audio_64.png \
380         gui/qt/pixmaps/prefs/spref_cone_Hotkeys_64.png \
381         gui/qt/pixmaps/prefs/spref_cone_Input_64.png \
382         gui/qt/pixmaps/prefs/spref_cone_Interface_64.png \
383         gui/qt/pixmaps/prefs/spref_cone_Subtitles_64.png \
384         gui/qt/pixmaps/prefs/spref_cone_Video_64.png \
385         gui/qt/pixmaps/previous.svg \
386         gui/qt/pixmaps/profile_new.svg \
387         gui/qt/pixmaps/sample_complete.png \
388         gui/qt/pixmaps/sample_minimal.png \
389         gui/qt/pixmaps/sample_skins.png \
390         gui/qt/pixmaps/slower.svg \
391         gui/qt/pixmaps/slower2.svg \
392         gui/qt/pixmaps/space.svg \
393         gui/qt/pixmaps/stop.svg \
394         gui/qt/pixmaps/toolbar/arrows.svg \
395         gui/qt/pixmaps/toolbar/aspect-ratio.svg \
396         gui/qt/pixmaps/toolbar/atob.svg \
397         gui/qt/pixmaps/toolbar/atob_noa.svg \
398         gui/qt/pixmaps/toolbar/atob_nob.svg \
399         gui/qt/pixmaps/toolbar/renderer.svg \
400         gui/qt/pixmaps/toolbar/defullscreen.svg \
401         gui/qt/pixmaps/toolbar/dvd_menu.svg \
402         gui/qt/pixmaps/toolbar/dvd_next.svg \
403         gui/qt/pixmaps/toolbar/dvd_prev.svg \
404         gui/qt/pixmaps/toolbar/extended_16px.svg \
405         gui/qt/pixmaps/toolbar/frame-by-frame.svg \
406         gui/qt/pixmaps/toolbar/fullscreen.svg \
407         gui/qt/pixmaps/toolbar/play_reverse.svg \
408         gui/qt/pixmaps/toolbar/record_16px.svg \
409         gui/qt/pixmaps/toolbar/snapshot.svg \
410         gui/qt/pixmaps/toolbar/skip_for.svg \
411         gui/qt/pixmaps/toolbar/skip_back.svg \
412         gui/qt/pixmaps/toolbar/tv.svg \
413         gui/qt/pixmaps/toolbar/tvtelx.svg \
414         gui/qt/pixmaps/toolbar/visu.svg \
415         gui/qt/pixmaps/toolbar/volume-high.svg \
416         gui/qt/pixmaps/toolbar/volume-low.svg \
417         gui/qt/pixmaps/toolbar/volume-medium.svg \
418         gui/qt/pixmaps/toolbar/volume-muted.svg \
419         gui/qt/pixmaps/toolbar/volume-slider-inside.svg \
420         gui/qt/pixmaps/toolbar/volume-slider-outside.svg \
421         gui/qt/pixmaps/types/capture-card_16px.svg \
422         gui/qt/pixmaps/types/disc_16px.svg \
423         gui/qt/pixmaps/types/file-asym_16px.svg \
424         gui/qt/pixmaps/types/file-wide_16px.svg \
425         gui/qt/pixmaps/types/folder-blue_16px.svg \
426         gui/qt/pixmaps/types/folder-grey_16px.svg \
427         gui/qt/pixmaps/types/harddisk_16px.svg \
428         gui/qt/pixmaps/types/network_16px.svg \
429         gui/qt/pixmaps/types/tape_16px.svg \
430         gui/qt/pixmaps/types/type_directory.svg \
431         gui/qt/pixmaps/types/type_file.svg \
432         gui/qt/pixmaps/types/type_stream.svg \
433         gui/qt/pixmaps/types/type_node.svg \
434         gui/qt/pixmaps/types/type_playlist.svg \
435         gui/qt/pixmaps/types/type_unknown.xpm \
436         gui/qt/pixmaps/util/wait1.svg \
437         gui/qt/pixmaps/util/wait2.svg \
438         gui/qt/pixmaps/util/wait3.svg \
439         gui/qt/pixmaps/util/wait4.svg \
440         gui/qt/pixmaps/win7/win7thumbnail_pause.svg \
441         gui/qt/pixmaps/win7/win7thumbnail_prev.svg \
442         gui/qt/pixmaps/win7/win7thumbnail_next.svg \
443         gui/qt/pixmaps/win7/win7thumbnail_play.svg \
444         gui/qt/pixmaps/update.svg \
445         gui/qt/pixmaps/valid.svg \
446         gui/qt/pixmaps/search_clear.svg \
447         gui/qt/pixmaps/lock.svg
448 EXTRA_DIST += gui/qt/vlc.qrc $(libqt_plugin_la_RES)
450 nodist_libqt_plugin_la_SOURCES += gui/qt/resources.cpp
452 if ENABLE_VLM
453 nodist_libqt_plugin_la_SOURCES += gui/qt/dialogs/vlm.moc.cpp
454 endif
456 gui/qt/resources.cpp: gui/qt/vlc.qrc $(libqt_plugin_la_RES)
457         $(AM_V_GEN)$(RCC) -name vlc -o $@ $<
459 vlc_qt_check_SOURCES = gui/qt/vlc-qt-check.cpp
460 vlc_qt_check_CXXFLAGS = $(AM_CXXFLAGS) $(QT_CFLAGS) -fPIC
461 vlc_qt_check_LDADD = $(QT_LIBS)
463 if ENABLE_QT
464 gui_LTLIBRARIES += libqt_plugin.la
465 BUILT_SOURCES += $(nodist_libqt_plugin_la_SOURCES)
466 if !HAVE_WIN32
467 if !HAVE_OS2
468 pkglibexec_PROGRAMS += vlc-qt-check
469 endif
470 endif
471 endif