Package Details: qt6-base 6.0.0rc-1

Git Clone URL: (read-only, click to copy)
Package Base: qt6-base
Description: A cross-platform application and UI framework
Upstream URL:
Licenses: custom, GPL3, LGPL3, FDL
Groups: qt6
Submitter: Martchus
Maintainer: Martchus
Last Packager: Martchus
Votes: 1
Popularity: 0.98
First Submitted: 2020-10-06 21:12
Last Updated: 2020-11-26 12:22

Dependencies (41)

Sources (1)

Latest Comments

Martchus commented on 2020-11-07 16:26

Yes, it is fixed in beta3. I'll update the AUR packages after a bit more testing.

xantares commented on 2020-11-07 10:31

they just released beta3 maybe it's fixed ?

Martchus commented on 2020-10-27 11:26

@xantares You apparently need to set QMAKEPATH, e.g. export QMAKEPATH=/usr/lib/qt6. For cross compiling one might also need to set QMAKE_SPEC if that's not already covered by the wrapper scripts. It might be related to this upstream bug:

Martchus commented on 2020-10-27 11:08

I've also checked the openSUSE packaging ( and there's the same issue. So not sure how to improve this.

I found which is particularly about Qt 6 and still using qmake so there must be a way.

Martchus commented on 2020-10-12 13:56

Yes, it doesn't seem to work - and it also doesn't work to specify the mkspec file explicitly. It seems to find the mkspec then but fails to find further files leading to Project ERROR: Could not find feature thread.. Using the binary under /usr/lib/qt6/bin/qmake doesn't help as well. The problem also affects the mingw-w64 version:

Could not find qmake spec 'win32-g++'.
Error processing project file: /tmp/test/qt-hello-world/

I've cross-checked with @arojas' version and there's the same issue. I can cross-check tomorrow with Tumbleweed's and other distribution's packaging. Otherwise I'm not sure how the build is supposed to be configured to make qmake work as I also couldn't find much documentation.

By the way, I'm not going to invest that much effort anymore into qmake as it makes most sense to use CMake anyways. So I'm not going to convert all the patches I so far have for mingw-w64-qt5-base. That means the mingw-w64-qt6-*-static packages will not work with qmake at all (as there are just too many issues) and the shared mingw-w64-qt6-* packages will likely have with some rough edges (e.g. not using our regular flags without manual tweaking).

xantares commented on 2020-10-12 07:10

I'm unable to use qmake:

$ git clone && cd qt-hello-world && qmake-qt6 .

Could not find qmake spec 'linux-g++'.

Error processing project file: ./