diff options
Diffstat (limited to 'sandbox/multithreading-tests/using-backend-from-thread/main.cpp')
-rw-r--r-- | sandbox/multithreading-tests/using-backend-from-thread/main.cpp | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/sandbox/multithreading-tests/using-backend-from-thread/main.cpp b/sandbox/multithreading-tests/using-backend-from-thread/main.cpp deleted file mode 100644 index a6a7c8aa..00000000 --- a/sandbox/multithreading-tests/using-backend-from-thread/main.cpp +++ /dev/null @@ -1,25 +0,0 @@ -#include <contextproperty.h> - -#include "thread.h" - -#include <QCoreApplication> -#include <QDebug> - -int main(int argc, char** argv) -{ - QCoreApplication app(argc, argv); - - qDebug() << "Main thread is" << QThread::currentThread(); - - // Start a thread which will use the backend - Thread* thread = new Thread(); - thread->start(); - - thread->wait(); - // Kill the thread - qDebug() << "Thread stopped, deleting it"; - delete thread; - qDebug() << "Entering main event loop"; - - return app.exec(); -} |