diff options
Diffstat (limited to 'tests/auto/declarative/qmldebugclient/tst_qmldebugclient.cpp')
-rw-r--r-- | tests/auto/declarative/qmldebugclient/tst_qmldebugclient.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/auto/declarative/qmldebugclient/tst_qmldebugclient.cpp b/tests/auto/declarative/qmldebugclient/tst_qmldebugclient.cpp index 8325731..4ee0837 100644 --- a/tests/auto/declarative/qmldebugclient/tst_qmldebugclient.cpp +++ b/tests/auto/declarative/qmldebugclient/tst_qmldebugclient.cpp @@ -62,11 +62,9 @@ public: tst_QmlDebugClient(QmlDebugTestData *data) { m_conn = data->conn; - m_engine = data->engine; } QmlDebugConnection *m_conn; - QmlEngine *m_engine; private slots: void name(); @@ -145,6 +143,9 @@ public: QObject *createTest(QmlDebugTestData *data) { return new tst_QmlDebugClient(data); } }; + +// This does not use QTEST_MAIN because the test has to be created and run +// in a separate thread. int main(int argc, char *argv[]) { QApplication app(argc, argv); |