tst_qobject: Run as console application.
Change-Id: If3049249cf8ceeb0985d158209e217455bfc3c47 Reviewed-by: Bradley T. Hughes <bradley.hughes@nokia.com>
This commit is contained in:
parent
0fb5c7e71d
commit
4fa2d51cf1
@ -3364,7 +3364,7 @@ void tst_QObject::deleteQObjectWhenDeletingEvent()
|
||||
};
|
||||
|
||||
QObject o;
|
||||
QGuiApplication::postEvent(&o, new MyEvent);
|
||||
QCoreApplication::postEvent(&o, new MyEvent);
|
||||
QCoreApplication::removePostedEvents(&o); // here you would get a deadlock
|
||||
}
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
CONFIG += testcase
|
||||
CONFIG += testcase console
|
||||
TARGET = tst_qobject
|
||||
QT = core-private network gui testlib
|
||||
QT = core-private network testlib
|
||||
SOURCES = tst_qobject.cpp
|
||||
|
||||
# this is here for a reason, moc_oldnormalizedobject.cpp is not auto-generated, it was generated by
|
||||
|
Loading…
Reference in New Issue
Block a user