qt5ct for Wily

Ralf Mardorf ralf.mardorf at alice-dsl.net
Sun Sep 20 09:24:22 UTC 2015


does somebody know a link that introduces how to build qt5 applications
for Wily?

My Internet connection is very slow at the moment, so web research is
very hard to do.

Btw. is http://packages.ubuntu.com/ relatively often down at the
moment? Often I cannot reach it, while my Interconnection seems to be ok.

I successfully build Qjackctl from git with Qt5, just building the
package failed, resp. it's incomplete, but QjackCtl runs.

Now I try to build qt5ct.

[weremouse at moonstudio qt5ct-0.17]$ qtchooser -qt=5 -run-tool=qmake PREFIX=/usr/local 
Project MESSAGE: Found lrelease executable: /usr/lib/x86_64-linux-gnu/qt5/bin/lrelease
Project MESSAGE: generating translations
Updating './src/qt5ct/translations/qt5ct_[snip]
Project MESSAGE: PREFIX=/usr/local
Project MESSAGE: BINDIR=/usr/local/bin
Project MESSAGE: DATADIR=/usr/local/share
Project MESSAGE: PLUGINDIR=/usr/lib/x86_64-linux-gnu/qt5/plugins/platformthemes

[weremouse at moonstudio qt5ct-0.17]$ make
cd src/qt5ct-qtplugin/ && ( test -e Makefile || /usr/lib/x86_64-linux-gnu/qt5/bin/qmake /usr/src/qt5ct-0.17/src/qt5ct-qtplugin/qt5ct-qtplugin.pro PREFIX=/usr/local -o Makefile ) && make -f Makefile 
make[1]: Entering directory '/usr/src/qt5ct-0.17/src/qt5ct-qtplugin'
g++ -c -m64 -pipe -O2 -Wall -W -D_REENTRANT -fPIC -DQT5CT_DATADIR=\"/usr/local/share\" -DQT_NO_DEBUG -DQT_PLUGIN -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I../../../../share/qt4/mkspecs/linux-g++-64 -I. -I../../../../include/qt4/QtCore -I../../../../include/qt4/QtGui -I../../../../include/qt4 -I.. -I.build/moc -o .build/obj/main.o main.cpp
main.cpp:29:38: fatal error: qpa/qplatformthemeplugin.h: No such file or directory
compilation terminated.
Makefile:234: recipe for target '.build/obj/main.o' failed
make[1]: *** [.build/obj/main.o] Error 1
make[1]: Leaving directory '/usr/src/qt5ct-0.17/src/qt5ct-qtplugin'
Makefile:43: recipe for target 'sub-src-qt5ct-qtplugin-make_first' failed
make: *** [sub-src-qt5ct-qtplugin-make_first] Error 2

[weremouse at moonstudio qt5ct-0.17]$ ls -hAl /usr/include/x86_64-linux-gnu/qt5/QtGui/5.4.2/QtGui/qpa/qplatformthemeplugin.h
-rw-r--r-- 1 root root 2.4K May 29 22:30 /usr/include/x86_64-linux-gnu/qt5/QtGui/5.4.2/QtGui/qpa/qplatformthemeplugin.h

I wonder why the include paths are qt4.


More information about the Ubuntu-devel-discuss mailing list