Commit ed83de24 authored by Steve Lhomme's avatar Steve Lhomme Committed by Jean-Baptiste Kempf

contrib: qt: don't build release build in debug mode

Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <>
parent c36eb466
...@@ -32,11 +32,17 @@ QT_SPEC := win32-g++ ...@@ -32,11 +32,17 @@ QT_SPEC := win32-g++
QT_PLATFORM := -xplatform win32-g++ -device-option CROSS_COMPILE=$(HOST)- QT_PLATFORM := -xplatform win32-g++ -device-option CROSS_COMPILE=$(HOST)-
endif endif
QT_CONFIG := -static -release -opensource -confirm-license -no-pkg-config \ QT_CONFIG := -static -opensource -confirm-license -no-pkg-config \
-no-sql-sqlite -no-gif -qt-libjpeg -no-openssl -no-opengl -no-dbus \ -no-sql-sqlite -no-gif -qt-libjpeg -no-openssl -no-opengl -no-dbus \
-no-qml-debug -no-audio-backend -no-sql-odbc -no-pch \ -no-qml-debug -no-audio-backend -no-sql-odbc -no-pch \
-no-compile-examples -nomake examples -no-compile-examples -nomake examples
QT_CONFIG += -debug
QT_CONFIG += -release
.qt: qt .qt: qt
cd $< && ./configure $(QT_PLATFORM) $(QT_CONFIG) -prefix $(PREFIX) cd $< && ./configure $(QT_PLATFORM) $(QT_CONFIG) -prefix $(PREFIX)
# Make && Install libraries # Make && Install libraries
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment