qt5base-lts/mkspecs
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
..
aix-g++ Remove all references to X11 session management 2012-06-01 03:15:55 +02:00
aix-g++-64 Remove all references to X11 session management 2012-06-01 03:15:55 +02:00
aix-xlc Remove all references to X11 session management 2012-06-01 03:15:55 +02:00
aix-xlc-64 Fix compile issue on AIX 2012-06-12 22:57:22 +02:00
cmake Expand the 'existing target guard' in generated CMake files. 2012-06-07 19:08:34 +02:00
common QNX: Enable additional CPU features to be compiled in for QNX 2012-06-14 03:03:38 +02:00
cygwin-g++ Remove all references to X11 session management 2012-06-01 03:15:55 +02:00
darwin-g++ Remove all references to X11 session management 2012-06-01 03:15:55 +02:00
devices eglfs: mark overriden methods with Q_DECL_OVERRIDE 2012-06-13 23:59:17 +02:00
features Do not add debug/release to QMAKE_CONFIG. Let module system enable them 2012-06-14 03:03:38 +02:00
freebsd-g++ Remove all references to X11 session management 2012-06-01 03:15:55 +02:00
freebsd-g++46 Remove all references to X11 session management 2012-06-01 03:15:55 +02:00
freebsd-icc Remove all references to X11 session management 2012-06-01 03:15:55 +02:00
hpux-acc Remove all references to X11 session management 2012-06-01 03:15:55 +02:00
hpux-acc-64 Remove all references to X11 session management 2012-06-01 03:15:55 +02:00
hpux-acc-o64 Remove all references to X11 session management 2012-06-01 03:15:55 +02:00
hpux-g++ Remove all references to X11 session management 2012-06-01 03:15:55 +02:00
hpux-g++-64 Remove all references to X11 session management 2012-06-01 03:15:55 +02:00
hpuxi-acc-32 Remove all references to X11 session management 2012-06-01 03:15:55 +02:00
hpuxi-acc-64 Remove all references to X11 session management 2012-06-01 03:15:55 +02:00
hpuxi-g++-64 Remove all references to X11 session management 2012-06-01 03:15:55 +02:00
hurd-g++ Remove all references to X11 session management 2012-06-01 03:15:55 +02:00
irix-cc Remove all references to X11 session management 2012-06-01 03:15:55 +02:00
irix-cc-64 Remove all references to X11 session management 2012-06-01 03:15:55 +02:00
irix-g++ Remove all references to X11 session management 2012-06-01 03:15:55 +02:00
irix-g++-64 Remove all references to X11 session management 2012-06-01 03:15:55 +02:00
linux-arm-gnueabi-g++ Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
linux-cxx Remove all references to X11 session management 2012-06-01 03:15:55 +02:00
linux-ecc-64 Remove all references to X11 session management 2012-06-01 03:15:55 +02:00
linux-g++ Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
linux-g++-32 Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
linux-g++-64 Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
linux-g++-maemo Include generic ARM qplatformdefs.h in linux-g++-maemo mkspec 2012-03-19 20:16:04 +01:00
linux-icc Move the SSE2/AVX/Neon/etc. flags into the compiler mkspecs 2012-06-12 04:29:42 +02:00
linux-icc-32 Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
linux-icc-64 Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
linux-kcc Remove all references to X11 session management 2012-06-01 03:15:55 +02:00
linux-llvm Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
linux-lsb-g++ Use the LSB linker to link 2012-03-15 00:50:47 +01:00
linux-pgcc Remove all references to X11 session management 2012-06-01 03:15:55 +02:00
lynxos-g++ Remove all references to X11 session management 2012-06-01 03:15:55 +02:00
macx-clang Add mkspecs for 32-bit Mac OS X builds. 2012-05-04 09:19:23 +02:00
macx-clang-32 Add mkspecs for 32-bit Mac OS X builds. 2012-05-04 09:19:23 +02:00
macx-g++ Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
macx-g++40 Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
macx-g++42 Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
macx-g++-32 Add mkspecs for 32-bit Mac OS X builds. 2012-05-04 09:19:23 +02:00
macx-icc Remove all usages of "arch" CFLAGS on Mac. 2012-05-04 09:19:23 +02:00
macx-llvm Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
macx-pbuilder Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
macx-xcode Remove all usages of "arch" CFLAGS on Mac. 2012-05-04 09:19:23 +02:00
macx-xlc remove assignment of QMAKE_MOC & QMAKE_UIC from mkspecs 2012-03-01 21:00:07 +01:00
modules update readme to current reality 2012-01-27 13:55:27 +01:00
netbsd-g++ Remove all references to X11 session management 2012-06-01 03:15:55 +02:00
openbsd-g++ Remove all references to X11 session management 2012-06-01 03:15:55 +02:00
sco-cc Remove all references to X11 session management 2012-06-01 03:15:55 +02:00
sco-g++ remove assignment of QMAKE_MOC & QMAKE_UIC from mkspecs 2012-03-01 21:00:07 +01:00
solaris-cc Remove all references to X11 session management 2012-06-01 03:15:55 +02:00
solaris-cc-64 Remove all references to X11 session management 2012-06-01 03:15:55 +02:00
solaris-cc-64-stlport Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
solaris-cc-stlport Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
solaris-g++ Remove all references to X11 session management 2012-06-01 03:15:55 +02:00
solaris-g++-64 Remove all references to X11 session management 2012-06-01 03:15:55 +02:00
tru64-cxx Remove all references to X11 session management 2012-06-01 03:15:55 +02:00
tru64-g++ Remove all references to X11 session management 2012-06-01 03:15:55 +02:00
unixware-cc Remove all references to X11 session management 2012-06-01 03:15:55 +02:00
unixware-g++ Remove all references to X11 session management 2012-06-01 03:15:55 +02:00
unsupported add SSE2/AVX/Neon/etc. flags to mkspec win32-g++-cross 2012-06-12 20:06:39 +02:00
win32-g++ Move the SSE2/AVX/Neon/etc. flags into the compiler mkspecs 2012-06-12 04:29:42 +02:00
win32-icc remove assignment of QMAKE_MOC & QMAKE_UIC from mkspecs (part 2) 2012-03-09 18:50:52 +01:00
win32-msvc11 Move the SSE2/AVX/Neon/etc. flags into the compiler mkspecs 2012-06-12 04:29:42 +02:00
win32-msvc2005 Move the SSE2/AVX/Neon/etc. flags into the compiler mkspecs 2012-06-12 04:29:42 +02:00
win32-msvc2008 Move the SSE2/AVX/Neon/etc. flags into the compiler mkspecs 2012-06-12 04:29:42 +02:00
win32-msvc2010 Move the SSE2/AVX/Neon/etc. flags into the compiler mkspecs 2012-06-12 04:29:42 +02:00
wince50standard-armv4i-msvc2005 Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
wince50standard-armv4i-msvc2008 Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
wince50standard-mipsii-msvc2005 Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
wince50standard-mipsii-msvc2008 Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
wince50standard-mipsiv-msvc2005 Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
wince50standard-mipsiv-msvc2008 Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
wince50standard-sh4-msvc2005 Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
wince50standard-sh4-msvc2008 Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
wince50standard-x86-msvc2005 Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
wince50standard-x86-msvc2008 Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
wince60standard-armv4i-msvc2005 Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
wince60standard-x86-msvc2005 Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
wince70embedded-armv4i-msvc2008 Enable basic gesture support for WEC7. 2012-02-06 05:15:11 +01:00
wince70embedded-x86-msvc2008 Enable basic gesture support for WEC7. 2012-02-06 05:15:11 +01:00
wincewm50pocket-msvc2005 Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
wincewm50pocket-msvc2008 Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
wincewm50smart-msvc2005 Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
wincewm50smart-msvc2008 Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
wincewm60professional-msvc2005 Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
wincewm60professional-msvc2008 Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
wincewm60standard-msvc2005 Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
wincewm60standard-msvc2008 Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
wincewm65professional-msvc2005 Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
wincewm65professional-msvc2008 Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00