diff options
author | Donald Carr <donald.carr@nokia.com> | 2012-04-17 05:23:21 +0000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-04-18 21:39:59 +0200 |
commit | fe0a7b716633dd35df8ecc987ad1031b60aafca4 (patch) | |
tree | 0baaeb764b53aaf65e1d1121ac2978bdc1e539a6 /src/qmltest/quicktest.cpp | |
parent | 092aba4d3e752a61a795dd7923da3a622ac43ef0 (diff) |
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 <alan.alpert@nokia.com>
Diffstat (limited to 'src/qmltest/quicktest.cpp')
-rw-r--r-- | src/qmltest/quicktest.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/qmltest/quicktest.cpp b/src/qmltest/quicktest.cpp index 3a2103afb6..66f1d861a2 100644 --- a/src/qmltest/quicktest.cpp +++ b/src/qmltest/quicktest.cpp @@ -145,9 +145,8 @@ void handleCompileErrors(const QFileInfo &fi, QQuickView *view) results.stopLogging(); } -int quick_test_main(int argc, char **argv, const char *name, quick_test_viewport_create createViewport, const char *sourceDir) +int quick_test_main(int argc, char **argv, const char *name, const char *sourceDir) { - Q_UNUSED(createViewport); QGuiApplication* app = 0; if (!QCoreApplication::instance()) { app = new QGuiApplication(argc, argv); |