2015-09-20 12:24 GMT+03:00 Ralf Mardorf <ralf.mard...@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@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

-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss

Reply via email to