summaryrefslogtreecommitdiffstats
path: root/config.tests
diff options
context:
space:
mode:
authorKent Hansen <kent.hansen@nokia.com>2011-11-25 12:13:16 +0100
committerQt by Nokia <qt-info@nokia.com>2011-12-02 15:59:58 +0100
commit613183ff8c101fe544814259197d897b3540bc85 (patch)
tree9bf710ba602c24b739798357cbd6ad0a7b528f79 /config.tests
parent1bb51cb8b1de3ac795d408757812fc57fbf0a902 (diff)
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>
Diffstat (limited to 'config.tests')
0 files changed, 0 insertions, 0 deletions