Comment 1 for bug 1510733

Adam Reichold (adamreichold) wrote :

Hello Jesse,

qpdfview relies on Qt5's detection of the current desktop environment to pick the default style. If this does not work out of the box on Xubuntu 15.10, you could try to run qpdfview using "qpdfview -style gtk+" to force selection of the Gtk+ style. Also setting various environment variables like QT_STYLE_OVERRIDE or XDG_CURRENT_DESKTOP as described in [1] could do the trick.

Note that this does work in current versions of Qt5 and Xfce, e.g. I am running Qt 5.5.1 and Xfce 4.12.0 and the Gtk+ style is picked up automatically. Also note that Okular 4:15.08.2-0ubuntu1 from Ubuntu's wiley repositories [2] seems to use Qt4 which explains why it is not affected by the integration issue. If you are looking for a Qt5-based replacement of qtconfig, qt5ct [3] might be of use, but it does not seem to be packaged for Ubuntu yet.