flaviotordini / musique

Perfectâ„¢ desktop music player
http://flavio.tordini.org/musique
GNU General Public License v3.0
140 stars 18 forks source link

Build failure with musique 1.12: Qt6 headers (QWidgets and QAction) not found #49

Closed GvMariani closed 11 months ago

GvMariani commented 12 months ago

Trying to build musique 1.12 for the next release of Rosa Linux (http://wiki.rosalab.ru/en/index.php/Main_Page) on x86_64, Qt 6.6.1. The build fails while processing stuff in lib/qt-reusable-widgets with this two errors: In file included from lib/qt-reusable-widgets/actionbutton.cpp:1: lib/qt-reusable-widgets/actionbutton.h:4:10: fatal error: QAction: No such file or directory and In file included from lib/qt-reusable-widgets/appwidget.cpp:1: lib/qt-reusable-widgets/appwidget.h:4:10: fatal error: QtWidgets: No such file or directory.

The qt6 headers are installed in /usr/include/qt6 (along with qt5 ones in /usr/include/qt5), but this snippet at the start of the build looks suspicious: Project MESSAGE: Qt 6.6.1 in /

Full log attached BuildError.txt

GvMariani commented 11 months ago

Found the culprit: a stupid typo on my qmake command line... Sorry for the noise.

GvMariani commented 11 months ago

Closing.