Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
688eedc9
Commit
688eedc9
authored
Jan 22, 2008
by
Pavlov Konstantin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Introduce HAVE_WX and HAVE_QT4 and show "Switch to WX" in QT4 only if built with WX
parent
e2dcc023
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
configure.ac
configure.ac
+2
-0
modules/gui/qt4/menus.cpp
modules/gui/qt4/menus.cpp
+2
-0
No files found.
configure.ac
View file @
688eedc9
...
...
@@ -5194,6 +5194,7 @@ then
if test "${ac_cv_wx_headers}" = "yes"
then
VLC_ADD_PLUGINS([wxwidgets])
AC_DEFINE([HAVE_WX], 1, [Define to 1 if you have WxWidgets library.])
ALIASES="${ALIASES} wxvlc"
fi
CPPFLAGS="${CPPFLAGS_save}"
...
...
@@ -5213,6 +5214,7 @@ AS_IF([test "${enable_qt4}" != "no" &&
(test "${SYS}" != "darwin" || test "${enable_qt4}" = "yes")], [
PKG_CHECK_MODULES(QT4, [QtCore QtGui >= 4.2.0],
[ VLC_ADD_PLUGINS([qt4])
AC_DEFINE([HAVE_QT4], 1, [Define to 1 if you have QT4 library.])
ALIASES="${ALIASES} qvlc"
enableqt4=true
VLC_ADD_LIBS([qt4],[$QT4_LIBS])
...
...
modules/gui/qt4/menus.cpp
View file @
688eedc9
...
...
@@ -332,11 +332,13 @@ QMenu *QVLCMenu::InterfacesMenu( intf_thread_t *p_intf, QMenu *current )
menu
->
addSeparator
();
menu
->
addAction
(
qtr
(
"Switch to skins"
),
THEDP
,
SLOT
(
switchToSkins
()
),
QString
(
"Ctrl+Z"
)
);
#ifdef HAVE_WX
if
(
module_Exists
(
VLC_OBJECT
(
p_intf
),
"wxwidgets"
)
)
{
menu
->
addAction
(
qtr
(
"Switch to WxWidgets"
),
THEDP
,
SLOT
(
switchToWx
()
)
);
}
#endif
}
CONNECT
(
menu
,
aboutToShow
(),
THEDP
->
menusUpdateMapper
,
map
()
);
...
...
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