From fe0a7b716633dd35df8ecc987ad1031b60aafca4 Mon Sep 17 00:00:00 2001 From: Donald Carr Date: Tue, 17 Apr 2012 05:23:21 +0000 Subject: Enabled widget free compilation of QtQuick There is no hard dependency of QtQuick on QWidget. This change makes the minor adjustments required to remove the build dependency altogether. This patch follows the path of least resistance bypassing any elements with a dependency on the legacy QWidget functionality. Change-Id: Ie3f47d3b4f60a1460dbb5d76a494a2c329469cc0 Reviewed-by: Alan Alpert --- tools/qmlscene/qmlscene.pro | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/qmlscene/qmlscene.pro') diff --git a/tools/qmlscene/qmlscene.pro b/tools/qmlscene/qmlscene.pro index 464f9b3758..1cf7b3c577 100644 --- a/tools/qmlscene/qmlscene.pro +++ b/tools/qmlscene/qmlscene.pro @@ -3,7 +3,7 @@ TARGET = qmlscene DESTDIR= $$QT.qml.bins QT += qml quick core-private -!isEmpty(QT.widgets.name): QT += widgets +!contains(QT_CONFIG, no-widgets):QT += widgets target.path = $$[QT_INSTALL_BINS] INSTALLS += target -- cgit v1.2.3