Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. QtCreator 4.0.2 flat theme strange icons and dialogs
QtWS25 Last Chance

QtCreator 4.0.2 flat theme strange icons and dialogs

Scheduled Pinned Locked Moved Solved Qt Creator and other tools
qtcreator 4.0.2
9 Posts 2 Posters 3.0k 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.
  • NikolausDemmelN Offline
    NikolausDemmelN Offline
    NikolausDemmel
    wrote on last edited by
    #1

    I just upgraded from qtcreator 4.0.0-rc1 to 4.0.2, and noticed that the icons e.g. in the project view as well as in file dialogs are strange and not matching the theme. Can someone tell whats going on?

    Screenshots:

    http://www2.pic-upload.de/img/31016412/S2E6PF5.png

    http://www2.pic-upload.de/img/31016411/S037WMX.png

    1 Reply Last reply
    0
    • E Offline
      E Offline
      Esperantisto
      wrote on last edited by
      #2

      Copy libqgtk2.so from [Qt folder]/5.6/gcc_64/plugins/platformthemes to [Qt folder]/Tools/QtCreator/lib/Qt/plugins/platformthemes.

      NikolausDemmelN 1 Reply Last reply
      0
      • E Esperantisto

        Copy libqgtk2.so from [Qt folder]/5.6/gcc_64/plugins/platformthemes to [Qt folder]/Tools/QtCreator/lib/Qt/plugins/platformthemes.

        NikolausDemmelN Offline
        NikolausDemmelN Offline
        NikolausDemmel
        wrote on last edited by
        #3

        @Esperantisto thanks for the suggestion, but there is no 'platformthemes' folder in neither the 'Qt' not 'qtcreator' directory, for the linux binary installer at least.

        NikolausDemmelN 1 Reply Last reply
        0
        • NikolausDemmelN NikolausDemmel

          @Esperantisto thanks for the suggestion, but there is no 'platformthemes' folder in neither the 'Qt' not 'qtcreator' directory, for the linux binary installer at least.

          NikolausDemmelN Offline
          NikolausDemmelN Offline
          NikolausDemmel
          wrote on last edited by
          #4

          Maybe I should add that I am using the Qtcreator binary installer from http://download.qt.io/official_releases/qtcreator/4.0/4.0.2/ (for linux)

          E 1 Reply Last reply
          0
          • NikolausDemmelN NikolausDemmel

            Maybe I should add that I am using the Qtcreator binary installer from http://download.qt.io/official_releases/qtcreator/4.0/4.0.2/ (for linux)

            E Offline
            E Offline
            Esperantisto
            wrote on last edited by
            #5

            @NikolausDemmel I reinstalled from scratch and that library file is no longer included (I assume that it was leftover when I previously updated). However, if you build appmenu-qt5 (instructions here: http://nsl.cz/enabling-global-menu-in-qt-creator-in-unity-ubuntu-14-04/) then the icons will look correct (although the global menu still won't work).

            NikolausDemmelN 2 Replies Last reply
            0
            • NikolausDemmelN Offline
              NikolausDemmelN Offline
              NikolausDemmel
              wrote on last edited by
              #6

              Thanks, I opened an issue: https://bugreports.qt.io/browse/QTCREATORBUG-16496

              1 Reply Last reply
              0
              • E Esperantisto

                @NikolausDemmel I reinstalled from scratch and that library file is no longer included (I assume that it was leftover when I previously updated). However, if you build appmenu-qt5 (instructions here: http://nsl.cz/enabling-global-menu-in-qt-creator-in-unity-ubuntu-14-04/) then the icons will look correct (although the global menu still won't work).

                NikolausDemmelN Offline
                NikolausDemmelN Offline
                NikolausDemmel
                wrote on last edited by
                #7

                @Esperantisto by the way I tried to copy the libqgtk2.so from the 4.0.1 release to the 4.0.2 release, but that has no effect. I guess it is due to the Qt version bump from 5.6.1 to 5.7 between the versions of QtCreator.

                1 Reply Last reply
                0
                • E Esperantisto

                  @NikolausDemmel I reinstalled from scratch and that library file is no longer included (I assume that it was leftover when I previously updated). However, if you build appmenu-qt5 (instructions here: http://nsl.cz/enabling-global-menu-in-qt-creator-in-unity-ubuntu-14-04/) then the icons will look correct (although the global menu still won't work).

                  NikolausDemmelN Offline
                  NikolausDemmelN Offline
                  NikolausDemmel
                  wrote on last edited by
                  #8

                  @Esperantisto The instructions you linked for building appmenu-qt5 seem to be using Qt 5.3, but we need Qt 5.7, no? Or did you mean doing that with Qt 5.7. instead?

                  1 Reply Last reply
                  0
                  • NikolausDemmelN Offline
                    NikolausDemmelN Offline
                    NikolausDemmel
                    wrote on last edited by
                    #9

                    I managed to compile the needed plugin from source (Qt 5.7.0). It turns out we switched to gtk3. Copying the resulting libqgtk3.so into the qtcreator 4.0.2 release solves the issue.

                    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