aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qml.pro
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@digia.com>2013-11-29 14:04:27 +0100
committerSimon Hausmann <simon.hausmann@qt.io>2017-09-21 09:00:35 +0000
commit82fbaa78f3840bcc289adc4e1ec64e337346f148 (patch)
tree88111a1b65d04f2d990c43f5b33f01d981df04bb /tests/auto/qml/qml.pro
parentd8d3259b2340baed2e7f8273907bd0bb5598b540 (diff)
Fix support for creating QWidgets in QML
When creating QWidgets, it is important to replace any call to QObject::setParent with QWidget::setParent. We do this now with the hook introduced in commit fc8adfea9f5e09e5f47ac4e592e5d9db471caede in qtbase. Change-Id: I2e069696b7ceb7f3b77d0f17e058f5a00ca4a029 Reviewed-by: Edward Welbourne <edward.welbourne@qt.io> Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'tests/auto/qml/qml.pro')
-rw-r--r--tests/auto/qml/qml.pro3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/auto/qml/qml.pro b/tests/auto/qml/qml.pro
index 9155f5b021..9eb500f537 100644
--- a/tests/auto/qml/qml.pro
+++ b/tests/auto/qml/qml.pro
@@ -75,7 +75,8 @@ PRIVATETESTS += \
qtHaveModule(widgets) {
PUBLICTESTS += \
qjsengine \
- qjsvalue
+ qjsvalue \
+ qwidgetsinqml
}
SUBDIRS += $$PUBLICTESTS