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. Black widgets on Windows XP 32bit, Qt 5.4.1
Forum Updated to NodeBB v4.3 + New Features

Black widgets on Windows XP 32bit, Qt 5.4.1

Scheduled Pinned Locked Moved General and Desktop
windowsqt5.4
3 Posts 2 Posters 1.1k 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.
  • V Offline
    V Offline
    Vladimir
    wrote on last edited by Vladimir
    #1

    Qt example "hellogl2", compiled with Qt 5.4.1 32bit, works fine on Windows 8.1. But on Windows XP some widgets are black, as in this screenshot. Widgets are rendered incorrectly with OpenGL version of Qt, and with ANGLE. I use MSVC 2010 compiler. A similar example from Qt 4.8.6 is working properly. My GPU is GeForce 7600 GS, but I'm pretty sure that the error is not related to the standard opengl32.dll and driver from Nvidia. I have compiled a Mesa3d library for Windows using the llvmpipe driver, implementing software rendering. When I put opengl32.dll from Mesa3d in a folder with the hellogl2 executable file, nothing has changed (I'm sure that the library was loaded, because I noticed decrease in the number of frames per second). In some other examples with OpenGL widgets and windows are also displayed incorrectly (although similar examples with Qt4 work well).
    How can I solve this problem? Am I doing something wrong?

    1 Reply Last reply
    0
    • V Offline
      V Offline
      Vladimir
      wrote on last edited by
      #2

      I found out that widgets are displayed normally if the system is set to "Classic Style" (like in Windows 98). So, Qt 5 does not support Windows XP themes along with OpenGL render! Or is it a flaw in the example?

      1 Reply Last reply
      0
      • JKSHJ Offline
        JKSHJ Offline
        JKSH
        Moderators
        wrote on last edited by
        #3

        Hi @Vladimir,

        I don't know the answer to your question, but perhaps you could subscribe to the Interest mailing list and ask there. Qt engineers are active on that list.

        Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

        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