Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-64228

The Material style UI is looking bad when using software OpenGL rendering

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P2: Important
    • None
    • 5.9.2
    • Qt5.9.2 and Qt Creator 4.4.1
      installed from standard setup file "qt-opensource-windows-x86-5.9.2.exe"
      (md5 862f6c276f3f466d253531778bddcfca)
      Operating system Windows 7 x64 sp 1.

    Description

      I am using Qt5.9.2 and Qt Creator 4.4.1
      installed from standard setup file "qt-opensource-windows-x86-5.9.2.exe"
      (md5 862f6c276f3f466d253531778bddcfca)
      My operating system is Windows 7 x64 sp 1.

      Possibly I have some problems with my graphics card or driver because
      all QML applications compliled for Windows are looking as you can see on
      "Fuzzy.png" picture. All controls are fuzzy and sometimes transparent.
      I resolved this problem by adding the following lines to my main.cpp file
      just before the QGuiApplication object creation:

      QCoreApplication::setAttribute(Qt::AA_UseSoftwareOpenGL);
      QQuickWindow::setSceneGraphBackend(QSGRendererInterface::Software);
      
      QGuiApplication app(argc, argv);

      So all became ok as you can see on "Normal.png" picture.

      I have added these lines of code to the standard Qt Gallery example and have compliled
      this demo application for Windows. I have tried to switch UI between QuickControl
      standard styles (Default, Material, Universal) as you can see on "Settings.png" picture.
      The Default and Universal styles are looking good.
      But when I am using the Material style the application graphics is looking very strange
      as you can see on "Material.png" picture. Some controls are transparent.
      The strange circles appeared etc.

      So when I use the software OpenGL rendering I cannot normally use the Material style.
      But when I use the default OpenGL rendering I have fuzzy user interface. But in this case
      the Material style is looking normally.

      The gallery Qt demo project source files just a little bit modified are here.

      Attachments

        1. Fuzzy.png
          Fuzzy.png
          49 kB
        2. gallery.zip
          158 kB
        3. Material.png
          Material.png
          30 kB
        4. Normal.png
          Normal.png
          25 kB
        5. Settings.png
          Settings.png
          24 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            burrido Rob Burrito
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes