Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
9f13848c
Commit
9f13848c
authored
May 30, 2006
by
Clément Stenac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
QT4 detection patch by Pavlov Konstantin
parent
172b718f
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
5 deletions
+6
-5
configure.ac
configure.ac
+3
-1
modules/gui/qt4/Modules.am
modules/gui/qt4/Modules.am
+2
-4
modules/gui/qt4/main_interface.cpp
modules/gui/qt4/main_interface.cpp
+1
-0
No files found.
configure.ac
View file @
9f13848c
...
@@ -4615,7 +4615,8 @@ AC_ARG_ENABLE(qt4,
...
@@ -4615,7 +4615,8 @@ AC_ARG_ENABLE(qt4,
enableqt4=true
enableqt4=true
VLC_ADD_LDFLAGS([qt4],[$QT4_LIBS])
VLC_ADD_LDFLAGS([qt4],[$QT4_LIBS])
VLC_ADD_CXXFLAGS([qt4],[$QT4_CFLAGS])
VLC_ADD_CXXFLAGS([qt4],[$QT4_CFLAGS])
MOC=moc],
MOC=`$PKG_CONFIG --variable=exec_prefix QtCore`/bin/moc
UIC=`$PKG_CONFIG --variable=exec_prefix QtCore`/bin/uic],
[AC_MSG_WARN(QT4 library not found)])
[AC_MSG_WARN(QT4 library not found)])
fi])
fi])
AM_CONDITIONAL(ENABLE_QT4, test "$enableqt4" = "true")
AM_CONDITIONAL(ENABLE_QT4, test "$enableqt4" = "true")
...
@@ -5435,6 +5436,7 @@ AC_SUBST(ARCH)
...
@@ -5435,6 +5436,7 @@ AC_SUBST(ARCH)
AC_SUBST(ALIASES)
AC_SUBST(ALIASES)
AC_SUBST(ASM)
AC_SUBST(ASM)
AC_SUBST(MOC)
AC_SUBST(MOC)
AC_SUBST(UIC)
AC_SUBST(WINDRES)
AC_SUBST(WINDRES)
AC_SUBST(MOZILLA_SDK_PATH)
AC_SUBST(MOZILLA_SDK_PATH)
AC_SUBST(XPIDL)
AC_SUBST(XPIDL)
...
...
modules/gui/qt4/Modules.am
View file @
9f13848c
...
@@ -22,8 +22,6 @@ TOMOC = main_interface \
...
@@ -22,8 +22,6 @@ TOMOC = main_interface \
util/input_slider
util/input_slider
MOCCPP := $(TOMOC:%=%.moc.cpp)
MOCCPP := $(TOMOC:%=%.moc.cpp)
UIC = uic
nodist_SOURCES_qt4 = \
nodist_SOURCES_qt4 = \
main_interface.moc.cpp \
main_interface.moc.cpp \
dialogs_provider.moc.cpp \
dialogs_provider.moc.cpp \
...
@@ -39,12 +37,12 @@ endif
...
@@ -39,12 +37,12 @@ endif
$(MOCCPP): %.moc.cpp: %.hpp
$(MOCCPP): %.moc.cpp: %.hpp
@echo "
MOC
$< -> $@"
@echo "
$(MOC)
$< -> $@"
$(MOC) -o $@ $<
$(MOC) -o $@ $<
$(UIH): %.h: %.ui
$(UIH): %.h: %.ui
$(install_sh) -d ui
$(install_sh) -d ui
@echo "
UIC
$< -> $@"
@echo "
$(UIC)
$< -> $@"
rm -f $@
rm -f $@
echo "#define Q_(a,b) _(a)" > $@
echo "#define Q_(a,b) _(a)" > $@
$(UIC) -tr "Q_" $< >> $@
$(UIC) -tr "Q_" $< >> $@
...
...
modules/gui/qt4/main_interface.cpp
View file @
9f13848c
...
@@ -24,6 +24,7 @@
...
@@ -24,6 +24,7 @@
#include "input_manager.hpp"
#include "input_manager.hpp"
#include "dialogs_provider.hpp"
#include "dialogs_provider.hpp"
#include <QCloseEvent>
#include <QCloseEvent>
#include <assert.h>
MainInterface
::
MainInterface
(
intf_thread_t
*
_p_intf
)
:
MainInterface
::
MainInterface
(
intf_thread_t
*
_p_intf
)
:
QWidget
(
NULL
),
p_intf
(
_p_intf
)
QWidget
(
NULL
),
p_intf
(
_p_intf
)
...
...
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