Skip to content
Snippets Groups Projects
Commit 8c195b33 authored by Rashad Kanavath's avatar Rashad Kanavath
Browse files

SuperBuild: qt4 do not enable gtkstyle which auto enable some other stuff

parent 4aab2ec2
No related branches found
No related tags found
No related merge requests found
......@@ -15,6 +15,8 @@ if(NOT __EXTERNAL_QT4__)
set(git_protocol "git")
endif()
#NOTE: make sure your superbuild install directory does not contain any
#Qt files from previous install of superbuild QT.
# declare dependencies
ADDTO_DEPENDENCIES_IF_NOT_SYSTEM(QT4 ZLIB TIFF PNG SQLITE FREETYPE)
......@@ -29,8 +31,6 @@ if(NOT __EXTERNAL_QT4__)
set(QT4_SB_CONFIG "${QT4_SB_CONFIG} -no-openssl")
if(APPLE)
set(QT4_SB_CONFIG "${QT4_SB_CONFIG} -no-framework")
else()
set(QT4_SB_CONFIG "${QT4_SB_CONFIG} -gtkstyle")
endif()
endif()
STRING(REGEX REPLACE "/$" "" CMAKE_WIN_INSTALL_PREFIX ${SB_INSTALL_PREFIX})
......@@ -84,6 +84,7 @@ if(NOT __EXTERNAL_QT4__)
${CMAKE_BINARY_DIR}/configure_qt4.sh
DEPENDS ${QT4_DEPENDENCIES}
)
endif()
if(APPLE)
......
@QT4_SB_SRC@/configure -prefix @SB_INSTALL_PREFIX@ -opensource -confirm-license -release -shared -nomake demos -nomake examples -nomake tools -no-phonon-backend -no-phonon -no-script -no-scripttools -no-multimedia -no-webkit -plugin-sql-sqlite -no-nis -no-qt3support -system-zlib -system-libpng -system-libtiff -system-libjpeg -system-sqlite -L @SB_INSTALL_PREFIX@/lib -I @SB_INSTALL_PREFIX@/include -I @SB_INSTALL_PREFIX@/include/freetype2 @QT4_SB_CONFIG@ -no-nis -no-javascript-jit
@QT4_SB_SRC@/configure -prefix @SB_INSTALL_PREFIX@ -opensource -confirm-license -release -shared -nomake demos -nomake examples -nomake tools -no-phonon-backend -no-phonon -no-script -no-scripttools -no-multimedia -no-webkit -no-sm -no-xrender -no-fontconfig -no-gtkstyle -no-declarative -no-nis -no-javascript-jit -plugin-sql-sqlite -no-qt3support -system-zlib -system-libpng -system-libtiff -system-libjpeg -system-sqlite -L @SB_INSTALL_PREFIX@/lib -I @SB_INSTALL_PREFIX@/include -I @SB_INSTALL_PREFIX@/include/freetype2 @QT4_SB_CONFIG@
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment