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

GTK3 style not available

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • Icon: Not Evaluated Not Evaluated
    • None
    • 5.8.0
    • GUI: Look'n'Feel
    • None
    • Ubuntu 16.10 x64

      It appears Qt5.8.0 has the GTK3 style. The library libqgtk3.so is present in the plugins/platformthemes folder.

      If an application is run with:

      QT_DEBUG_PLUGINS=1

      It appears this library is loaded successfully as the following is detailed in the output:

      loaded library "/opt/Qt/5.8/gcc_64/plugins/platformthemes/libqgtk3.so"
      

      However, the application does not use the GTK3 style.

      With the following code implemented within the application:

      QStringList keyList = QStyleFactory::keys();
      foreach(QString eachKey, keyList)
      {
          qDebug() << eachKey;
      }
      

      The output is:

      "Windows"
      "Fusion"
      

      gtk3 is not listed as an available style.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            iamsergio Sergio Martins
            gsxruk Dan Allen
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes