qt5base-lts/mkspecs
Kent Hansen 613183ff8c Automatically add QtQuick module if only QtDeclarative is specified
QtQuick and related APIs (QQuickItem, SceneGraph, et al), which
used to live in the QtDeclarative module, have moved to a new
module, QtQuick.

Existing projects that use QtQuick-specific APIs should add "quick"
to their project's QT variable, and update their include statements.

E.g.,

QT += declarative

should be changed to

QT += declarative quick

and

 #include <QtDeclarative/qquickitem.h>

should be changed to

 #include <QtQuick/qquickitem.h>

and similarly for the other QtQuick classes.

In order to give existing projects a chance to migrate smoothly, we
should issue a warning and automatically add the QtQuick module if
only the QtDeclarative module was specified. (If a project doesn't
use any QtQuick APIs, the warning can be ignored -- but there is no
way to disable it.)

This change, along with the compatibility headers in QtDeclarative,
make it possible to build existing projects without any modifications
on the project's side.

This change will be removed at a later time; when that happens,
existing projects that did not port to the QtQuick module will no
longer build.

Change-Id: I56abcadc1e5c74490527fc03646310d801bfc084
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
2011-12-02 15:59:58 +01:00
..
aix-g++ Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
aix-g++-64 Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
aix-xlc Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
aix-xlc-64 Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
cmake Make the Qt5 part of the target name namespace style. 2011-12-02 14:17:40 +01:00
common Define __GNUC__ to be 4 on Mac OS X 2011-11-14 23:42:17 +01:00
cygwin-g++ Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
darwin-g++ Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
features Automatically add QtQuick module if only QtDeclarative is specified 2011-12-02 15:59:58 +01:00
freebsd-g++ Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
freebsd-g++34 Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
freebsd-g++40 Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
freebsd-icc Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
hpux-acc Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
hpux-acc-64 Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
hpux-acc-o64 Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
hpux-g++ Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
hpux-g++-64 Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
hpuxi-acc-32 Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
hpuxi-acc-64 Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
hpuxi-g++-64 Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
hurd-g++ Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
irix-cc Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
irix-cc-64 Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
irix-g++ Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
irix-g++-64 Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
linux-cxx Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
linux-ecc-64 Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
linux-g++ Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
linux-g++-32 Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
linux-g++-64 Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
linux-g++-maemo Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
linux-icc Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
linux-icc-32 Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
linux-icc-64 Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
linux-kcc Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
linux-llvm Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
linux-lsb-g++ Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
linux-pgcc Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
lynxos-g++ Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
macx-g++ Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
macx-g++40 Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
macx-g++42 Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
macx-icc Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
macx-llvm Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
macx-pbuilder Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
macx-xcode Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
macx-xlc Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
modules remove generated files 2011-07-07 11:15:58 +02:00
netbsd-g++ Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
openbsd-g++ Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
sco-cc Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
sco-g++ Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
solaris-cc Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
solaris-cc-64 Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
solaris-cc-64-stlport Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
solaris-cc-stlport Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
solaris-g++ Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
solaris-g++-64 Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
tru64-cxx Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
tru64-g++ Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
unixware-cc Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
unixware-g++ Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
unsupported mkspec win32-msvc2003 moved to unsupported 2011-11-30 11:31:14 +01:00
win32-g++ Windows: Adapt mkspec for MinGW / gcc 4.6. 2011-11-18 14:53:08 +01:00
win32-icc Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
win32-msvc2005 Revert "Fixed deployment problems with MSVC 2005 and 2008 SP1" 2011-11-04 12:37:27 +01:00
win32-msvc2008 Revert "Fixed deployment problems with MSVC 2005 and 2008 SP1" 2011-11-04 12:37:27 +01:00
win32-msvc2010 Build Qt with option -Zc:wchar_t under MSVC 2011-06-27 19:09:33 +02:00
wince50standard-armv4i-msvc2005 Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
wince50standard-armv4i-msvc2008 Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
wince50standard-mipsii-msvc2005 Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
wince50standard-mipsii-msvc2008 Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
wince50standard-mipsiv-msvc2005 Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
wince50standard-mipsiv-msvc2008 Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
wince50standard-sh4-msvc2005 Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
wince50standard-sh4-msvc2008 Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
wince50standard-x86-msvc2005 Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
wince50standard-x86-msvc2008 Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
wince60standard-armv4i-msvc2005 Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
wince60standard-x86-msvc2005 Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
wincewm50pocket-msvc2005 Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
wincewm50pocket-msvc2008 Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
wincewm50smart-msvc2005 Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
wincewm50smart-msvc2008 Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
wincewm60professional-msvc2005 Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
wincewm60professional-msvc2008 Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
wincewm60standard-msvc2005 Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
wincewm60standard-msvc2008 Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
wincewm65professional-msvc2005 Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
wincewm65professional-msvc2008 Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00