[Solved] QML UI not shown when using Qt5.4.2 with mingw compiler



  • Hi

    I have wrote a multiplatform application with Qt5.4.2 using QML for the UI. On OS X Yosemite the application starts normally, but on Windows 8.1 x64 when I start the application I get an white window. I have tried to put in the path the folder where Qt5 dlls reside, but I get exactly the same behavior. Same if I use windeployqt. Any idea why this happens ?

    regards
    Bogdan



  • Hi,

    Could you post an example of your code?
    Have you tried to run an example from the Qt ones.



  • Hi

    I have solved my issue: Qt5.4.2 compiled with mingw is only available for openGL (at least from the name shown in maintenance tool). According to this blog

    https://blog.qt.io/blog/2014/11/27/qt-weekly-21-dynamic-opengl-implementation-loading-in-qt-5-4/

    systems lacking graphics drivers with openGL support or using Remote Desktop (as in my case) won't be able to display properly UI developed using QtQuick2 on Windows. If I start the application directly on my PC (without Remote Desktop) everything is fine. This issue does not affect Qt compiled with Visual Studio since Qt is able to detect automatically which graphic API is available (openGL or ANGLE)

    regards
    Bogdan


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.