QtCreator 4.0.2 flat theme strange icons and dialogs
-
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:
-
Copy libqgtk2.so from [Qt folder]/5.6/gcc_64/plugins/platformthemes to [Qt folder]/Tools/QtCreator/lib/Qt/plugins/platformthemes.
-
@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.
-
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)
-
@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).
-
Thanks, I opened an issue: https://bugreports.qt.io/browse/QTCREATORBUG-16496
-
@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.
-
@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?
-
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.