Fixing the QNX QPA build for non blackberry targets

Change-Id: I3d0bb33cadae946d21f8b2566840be9b1ae5101a
Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Reviewed-by: Robin Burchell <robin+qt@viroteck.net>
bb10
Kevin Krammer 2012-04-03 16:11:30 +02:00 committed by Qt by Nokia
parent 86bbb5d173
commit c6272b711f
1 changed files with 1 additions and 4 deletions

View File

@ -104,14 +104,11 @@ QQnxIntegration::QQnxIntegration()
}
// Create/start navigator event handler
// Not on BlackBerry, it has specialised event dispatcher which also handles navigator events
#ifndef Q_OS_BLACKBERRY
m_navigatorEventHandler = new QQnxNavigatorEventHandler(*primaryDisplay());
m_navigatorEventHandler = new QQnxNavigatorEventHandler;
// delay invocation of start() to the time the event loop is up and running
// needed to have the QThread internals of the main thread properly initialized
QMetaObject::invokeMethod(m_navigatorEventHandler, "start", Qt::QueuedConnection);
#endif
// Create displays for all possible screens (which may not be attached)
createDisplays();