qt5base-lts/mkspecs/features
Sean Harmer 0346d605e3 Do not add debug/release to QMAKE_CONFIG. Let module system enable them
This solved QTBUG-26111 in which qtjsbackend gets built with an
incomplete framework on Mac OSX. This was traced back to commit
6a6fd56e66 which moved QMAKE_CONFIG
values from .qmake.cache to mkspecs/qmodule.pri. Since qtjsbackend
contains config tests it creates its own .qmake.cache which was
previously masking this issue.

QMAKE_CONFIG incorrectly contained debug for debug_and_release builds
even though debug and release are already present in the CONFIG variable
in mkspecs/qconfig.pri. The changes to configure prevent CONFIG in
qmodule.pri from containing debug and release variables and ensure
that QT_CONFIG contains build_all and debug_and_release if appropriate.
Configure.app is also adjusted to match this behaviour.

The other part of the change is to qt_module_config.prf and
qt_plugin.prf. These changes take care of populating CONFIG with
the appropriate debug_and_release and build_all variables depending
upon what is present in QT_CONFIG. This ensures that the Qt modules
and plugins get built with the same configuration as qtbase.

The special handling for the qcocoa QPA plugin ensures that it is
built in release mode only to preserve the behaviour introduced by
commit 5603f94eaa.

Task-number: QTBUG-26111
Change-Id: I6f65aba50709e1b2431b8b4411ff30a06f7d8aed
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
2012-06-14 03:03:38 +02:00
..
mac configure: Remove the -dwarf2 argument for Mac OS X builds 2012-05-11 12:52:21 +02:00
qpa Install fonts when not using fontconfig 2012-03-16 21:30:59 +01:00
unix Remove all references to X11 session management 2012-06-01 03:15:55 +02:00
win32 Windows: Add ANGLE support. 2012-05-31 09:13:01 +02:00
build_pass.prf Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
c++11.prf configure: Auto-detect and enable C++11 support if available 2012-06-05 12:30:13 +02:00
create_cmake.prf Revert "Don't use the pri depends line for link dependencies." 2012-05-03 16:11:58 +02:00
dbusadaptors.prf Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
dbusinterfaces.prf Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
debug_and_release.prf qmake: remove symbian support 2011-11-07 13:26:41 +01:00
debug.prf configure: Remove the -dwarf2 argument for Mac OS X builds 2012-05-11 12:52:21 +02:00
declarative_debug.prf Enable QML debugging of qtquick1 with CONFIG+=quick1 2012-05-02 12:21:55 +02:00
default_post.prf Set QMAKE_DOCS_INSTALLDIR to $$[QT_INSTALL_DOCS] to allow overriding in .pro 2012-05-15 14:34:15 +02:00
default_pre.prf turn off exceptions by default where they aren't required 2012-05-17 05:14:26 +02:00
designer.prf Remove QT += uilib from designer.prf 2012-03-20 11:44:09 +01:00
device_config.prf devices: Allow to pick up the compiler from the path 2012-05-23 19:27:41 +02:00
dll.prf Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
egl.prf Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
exceptions_off.prf turn off exceptions by default where they aren't required 2012-05-17 05:14:26 +02:00
exceptions.prf turn off exceptions by default where they aren't required 2012-05-17 05:14:26 +02:00
exclusive_builds.prf Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
help.prf Removed the unnecessary dependency of the QtHelp module on the QtXml one 2011-09-12 16:03:47 +02:00
include_source_dir.prf Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
incredibuild_xge.prf Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
lex.prf Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
link_pkgconfig.prf Make pkg-config cross-compile aware 2011-10-19 22:27:09 +02:00
moc.prf remove automatic building of moc from moc.prf 2012-03-08 18:55:53 +01:00
module.prf revamp -sysroot and -hostprefix handling 2012-03-01 23:18:23 +01:00
no_debug_info.prf Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
opengles1.prf Add a new qmake feature to support OpenGL ES 1 apps 2012-02-28 22:35:24 +01:00
qdbus.prf Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
qml_debug.prf Rename the 'declarative debug support' to 'qml debug support' 2012-03-31 16:33:04 +02:00
qmltestcase.prf Remove declarative from qmltestcase.prf. 2012-05-11 12:52:21 +02:00
qt_config.prf revamp -sysroot and -hostprefix handling 2012-03-01 23:18:23 +01:00
qt_functions.prf let qtPrepareTool give right path for app_bundle 2012-03-26 14:06:51 +02:00
qt_installs.prf Fix qpa files installation 2012-05-08 20:03:49 +02:00
qt_module_config.prf Do not add debug/release to QMAKE_CONFIG. Let module system enable them 2012-06-14 03:03:38 +02:00
qt_module.prf Move the sub-architecture feature to better places in qmake 2012-05-31 17:55:49 +02:00
qt_plugin.prf Do not add debug/release to QMAKE_CONFIG. Let module system enable them 2012-06-14 03:03:38 +02:00
qt_targets.prf bump version of QMAKE_TARGET_PRODUCT 2012-02-27 20:52:45 +01:00
qt.prf Move the sub-architecture feature to better places in qmake 2012-05-31 17:55:49 +02:00
qtestlib.prf Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
quick1_debug.prf Enable QML debugging of qtquick1 with CONFIG+=quick1 2012-05-02 12:21:55 +02:00
release.prf Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
resolve_target.prf Add missing naming for libraries built statically. 2011-11-11 02:45:05 +01:00
resources.prf qmake: Allow extra compilers to have the makefile depend on its inputs 2011-11-28 13:35:42 +01:00
shared.prf Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
silent.prf Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
static_and_shared.prf qmake: remove symbian support 2011-11-07 13:26:41 +01:00
static.prf Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
staticlib.prf Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
testcase.prf Changed installTestHelperApp() to use relative paths to build 2012-03-22 06:49:06 +01:00
testcocoon.prf CodeCoverage: Exclude all header files from intrumentation. 2012-03-01 07:52:44 +01:00
uic.prf Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
uitools.prf qmake: remove symbian support 2011-11-07 13:26:41 +01:00
use_c_linker.prf Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
vxworks.prf Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
warn_off.prf Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
warn_on.prf Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
wayland-scanner.prf Add a wayland-scanner rule to qmake 2011-12-12 17:27:19 +01:00
yacc.prf Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00