Please nominate your Qt Champions for 2021! https://forum.qt.io/topic/132134/looking-for-the-2021-qt-champions
[Solved] QML UI not shown when using Qt5.4.2 with mingw compiler
cristeab last edited by cristeab
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 ?
mcosta last edited by
Could you post an example of your code?
Have you tried to run an example from the Qt ones.
cristeab last edited by
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
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)