Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. [Solved] QML UI not shown when using Qt5.4.2 with mingw compiler
Forum Updated to NodeBB v4.3 + New Features

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

Scheduled Pinned Locked Moved General and Desktop
3 Posts 2 Posters 802 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    cristeab
    wrote on last edited by cristeab
    #1

    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

    1 Reply Last reply
    0
    • M Offline
      M Offline
      mcosta
      wrote on last edited by
      #2

      Hi,

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

      Once your problem is solved don't forget to:

      • Mark the thread as SOLVED using the Topic Tool menu
      • Vote up the answer(s) that helped you to solve the issue

      You can embed images using (http://imgur.com/) or (http://postimage.org/)

      1 Reply Last reply
      0
      • C Offline
        C Offline
        cristeab
        wrote on last edited by
        #3

        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

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved