Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

The platform plugin failed to create a message window



  • Hello!

    I have a problem with Tray Icon creation on qt5.0.2. I use Windows 7 64 bit, and I does not have a administrator permission on these machine.

    The following check are ignored:
    @if (!QSystemTrayIcon::isSystemTrayAvailable()) {
    qCritical() << "Unable to find systray";
    return RETURN_ERR;
    }@

    But tray icon does not appear and the following logs a presents in traces:

    15:52:30.141Warning:kernel\qmetaobject.cpp:1457 QMetaObject::invokeMethod: No such method QWindowsNativeInterface::registerWindowClass(QString,void *)

    15:52:30.143Warning:util\qsystemtrayicon_win.cpp:406 void __thiscall QSystemTrayIconPrivate::install_sys(void): The platform plugin failed to create a message window.

    The other application, such as a Skype can create Tray Icons on these system. But my app can't..
    Could you please help my?


Log in to reply