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. QT/QML renderig - bad quality @ windows

QT/QML renderig - bad quality @ windows

Scheduled Pinned Locked Moved Solved General and Desktop
3 Posts 2 Posters 1.5k Views
  • 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.
  • A Offline
    A Offline
    Adrian W
    wrote on last edited by
    #1

    Hello,
    I have a problem with QML rendering. As you can see on screen below, QML create window in bad quality. If I try to use QML animation, program will stop. It's strange because it happened only of few computers in my company. Program was tested on Windows XP, 7 and 10 and problem is on XP and 7. Program was written with QT5. It could be a OpenGL or DirectX problem?
    Bad quality GUI
    Here is screen from corect working program:
    Correct GUI

    And here is standalone execute package of my program.

    Thanks for help

    ? 1 Reply Last reply
    0
    • A Adrian W

      Hello,
      I have a problem with QML rendering. As you can see on screen below, QML create window in bad quality. If I try to use QML animation, program will stop. It's strange because it happened only of few computers in my company. Program was tested on Windows XP, 7 and 10 and problem is on XP and 7. Program was written with QT5. It could be a OpenGL or DirectX problem?
      Bad quality GUI
      Here is screen from corect working program:
      Correct GUI

      And here is standalone execute package of my program.

      Thanks for help

      ? Offline
      ? Offline
      A Former User
      wrote on last edited by
      #2

      @Adrian-W Hi, and welcome to the Qt forum!

      This is most likely a problem with too old GPU / OpenGL driver. You can try to force your application to use DirectX by adding the following to your main.cpp:

      // Options on Windows; set before instantiating QApplication
      QCoreApplication::setAttribute( Qt::AA_UseOpenGLES ); // use DirectX via ANGLE
      
      1 Reply Last reply
      2
      • A Offline
        A Offline
        Adrian W
        wrote on last edited by
        #3

        Thank you for fast reply!!

        This option was a point! With atribute Qt::AA_UseOpenGLES I have problem with run a program on all machines.
        I read a documentation and Qt::AA_UseSoftwareOpenGL atribute solve my problem.

        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