qt5ct for Wily

Ralf Mardorf ralf.mardorf at alice-dsl.net
Mon Sep 21 11:47:55 UTC 2015


Thank you,

On Mon, 21 Sep 2015 13:40:37 +0300, Timo Jyrinki wrote:
>> [weremouse at moonstudio qt5ct-0.17]$ qtchooser -qt=5 -run-tool=qmake
>> PREFIX=/usr/local
>
>Just use export QT_SELECT=5 (or export QT_SELECT := 5 in debian/rules)
>and run qmake normally.

I already tried this too and it doesn't change anything.

>> main.cpp:29:38: fatal error: qpa/qplatformthemeplugin.h: No such
>> file or directory
>
>That's in qtbase5-private-dev since it's a private header that normal
>apps should not be using.

Yes, the problem is the qt4 path.

On Arch Linux just qmake is selected and it seems to work:

$ grep build -A4 /mnt/archlinux/var/abs/community/qt5ct/PKGBUILD 
build() {
    cd $pkgname-$pkgver
    qmake-qt5 $pkgname.pro 
    make
}

However, on Arch I didn't build it, I just installed the binary package.
Perhaps there's a reason that qt5ct isn't provided by the Ubuntu
repositories and there's another solution already provided to select
theme and fonts, when not using KDE.

It might be related:
Maybe something is broken for my Ubuntu openbox install, e.g. font
sizes selected by .gtkrc-2.0 doesn't affect the menu bar of GTK2 apps
such as spacefm. I don't experience such issues for my Arch install.
For Ubuntu I need to start sessions with  export XDG_CONFIG_DIRS=""
to avoid unwanted autostarts, IOW Ubuntu handles a lot of things in a
different way, compared to the way I know. To handle things in
different ways is ok, unfortunately I can't find links were those
things are documented.

Regards,
Ralf




More information about the Ubuntu-devel-discuss mailing list