Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
otb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
273
Issues
273
List
Boards
Labels
Service Desk
Milestones
Merge Requests
8
Merge Requests
8
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
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
Main Repositories
otb
Commits
4b2f0bc0
Commit
4b2f0bc0
authored
Jul 13, 2016
by
Rashad Kanavath
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
SuperBuild: include gtk+ libs in Qt build only if asked explicitly
parent
3e9b653e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletion
+10
-1
SuperBuild/CMake/External_qt4.cmake
SuperBuild/CMake/External_qt4.cmake
+10
-1
No files found.
SuperBuild/CMake/External_qt4.cmake
View file @
4b2f0bc0
...
...
@@ -10,6 +10,9 @@ SETUP_SUPERBUILD(QT4)
# message(STATUS " SuperBuild may fail to compile Qt4. If so, you should install it via package manager.")
# endif()
option
(
QT4_SB_ENABLE_GTK
"Enable GTK+ stlye with qt using -gtkstlye. Default is OFF"
OFF
)
if
(
NOT DEFINED git_protocol
)
set
(
git_protocol
"git"
)
endif
()
...
...
@@ -30,8 +33,14 @@ if(UNIX)
if
(
APPLE
)
set
(
QT4_SB_CONFIG
"
${
QT4_SB_CONFIG
}
-no-framework"
)
else
()
#Linux
set
(
QT4_SB_CONFIG
"
${
QT4_SB_CONFIG
}
-sm -xrender -xrandr -gtkstyle"
)
if
(
QT4_SB_ENABLE_GTK
)
message
(
STATUS
"QT4_SB_ENABLE_GTK is activated. QT4 build includes gtk+ and libfreetype, libpng (dependencies of gtk+ package)"
)
set
(
QT4_SB_CONFIG
"
${
QT4_SB_CONFIG
}
-sm -xrender -xrandr -gtkstyle"
)
else
()
set
(
QT4_SB_CONFIG
"
${
QT4_SB_CONFIG
}
-no-gtkstyle"
)
endif
()
endif
()
#common for all unix
set
(
QT4_SB_CONFIG
"
${
QT4_SB_CONFIG
}
-no-nis -no-javascript-jit -v"
)
elseif
(
MSVC
)
set
(
QT4_SB_CONFIG
"
${
QT4_SB_CONFIG
}
-mp"
)
...
...
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