Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-gpu
Commits
631ba3aa
Commit
631ba3aa
authored
May 29, 2006
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Build system fixes + cleanup
parent
1fa283fd
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
18 deletions
+17
-18
configure.ac
configure.ac
+3
-2
modules/gui/qt4/Modules.am
modules/gui/qt4/Modules.am
+14
-16
No files found.
configure.ac
View file @
631ba3aa
...
...
@@ -4611,10 +4611,11 @@ AC_ARG_ENABLE(qt4,
[ --enable-qt4 QT 4 support (default disabled) ],
[if test "${enable_qt4}" = "yes"; then
PKG_CHECK_MODULES(QT4, QtCore QtGui,
[ VLC_ADD_PLUGINS([qt4])
[ VLC_ADD_PLUGINS([qt4])
enableqt4=true
VLC_ADD_LDFLAGS([qt4],[$QT4_LIBS])
VLC_ADD_CXXFLAGS([qt4],[$QT4_CFLAGS])],
VLC_ADD_CXXFLAGS([qt4],[$QT4_CFLAGS])
MOC=moc],
[AC_MSG_WARN(QT4 library not found)])
fi])
AM_CONDITIONAL(ENABLE_QT4, test "$enableqt4" = "true")
...
...
modules/gui/qt4/Modules.am
View file @
631ba3aa
...
...
@@ -8,6 +8,8 @@
# - Add it without extension to TOUI
# - Add it to EXTRA_DIST
AUTOMAKE_OPTIONS = subdir-objects
TOUI = ui/input_stats
UIH := $(TOUI:%=%.h)
...
...
@@ -20,10 +22,9 @@ TOMOC = main_interface \
util/input_slider
MOCCPP := $(TOMOC:%=%.moc.cpp)
if ENABLE_QT4
UIC = uic
BUILT_SOURCES += $(UIH)
BUILT_SOURCES += \
nodist_SOURCES_qt4 = \
main_interface.moc.cpp \
dialogs_provider.moc.cpp \
input_manager.moc.cpp \
...
...
@@ -32,26 +33,22 @@ BUILT_SOURCES += \
components/infopanels.moc.cpp \
util/input_slider.moc.cpp
if ENABLE_QT4
BUILT_SOURCES += $(UIH) $(nodist_SOURCES_qt4)
endif
$(MOCCPP): %.moc.cpp: %.hpp
@echo "MOC $< -> $@"
moc
-o $@ $<
$(MOC)
-o $@ $<
$(UIH): %.h: %.ui
$(UIH): %.h: %.ui
$(install_sh) -d ui
@echo "UIC $< -> $@"
rm -f $@
echo "#define Q_(a,b) _(a)" > $@
uic -tr "Q_" $< >> $@
nodist_SOURCES_qt4 = \
main_interface.moc.cpp \
dialogs_provider.moc.cpp \
input_manager.moc.cpp \
dialogs/playlist.moc.cpp \
dialogs/streaminfo.moc.cpp \
components/infopanels.moc.cpp \
util/input_slider.moc.cpp
$(UIC) -tr "Q_" $< >> $@
endif
SOURCES_qt4 = qt4.cpp \
main_interface.cpp \
...
...
@@ -73,3 +70,4 @@ EXTRA_DIST += \
components/infopanels.hpp \
util/input_slider.hpp \
ui/input_stats.ui
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment