Details
-
Bug
-
Resolution: Invalid
-
P1: Critical
-
None
-
5.6.1
-
None
-
Windows 7 64bit, MSVC 2013
Description
The code like
QGuiApplication* guiApp = dynamic_cast<QGuiApplication*>(qApp);
connect(guiApp, SIGNAL(primaryScreenChanged(QScreen *screen)), this, SLOT(OnScreenChanged(QScreen *)));
causes following output of runtime:
QObject::connect: No such signal QApplication::primaryScreenChanged(QScreen *screen)
however qApp is casted explicitely to QGuiApplication