qt5ct for Wily
Timo Jyrinki
timo.jyrinki at gmail.com
Mon Sep 21 10:40:37 UTC 2015
2015-09-20 12:24 GMT+03:00 Ralf Mardorf <ralf.mardorf at alice-dsl.net>:
> does somebody know a link that introduces how to build qt5 applications
> for Wily?
The closest might be http://pkg-kde.alioth.debian.org/packagingqtstuff.html
> [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.
> 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.
> I wonder why the include paths are qt4.
Possibly since you were only specifying the Qt version to use for the
single tool, and the default fallback is Qt 4. That is, Qt 4
applications don't need to know about different Qt versions, but Qt 5
applications need to for example set that environment variable.
-Timo
More information about the Ubuntu-devel-discuss
mailing list