[Buildroot] [RFC v3 0/5] Support qmake for Qt6
Richard GENOUD
richard.genoud at bootlin.com
Mon Sep 1 12:25:46 UTC 2025
Le 01/09/2025 à 10:03, Richard GENOUD a écrit :
> Le 14/08/2025 à 17:32, Dario Binacchi a écrit :
>> The series supports qmake for qt6.
> This is great to have this moving forward.
>
> Thanks for this job!
>
I've tested that on a client's project that was previously using Qt5 qmake.
Buildroot (2025.02.5), arm toolchain, build and relocate sdk.
The project uses recursive qmake, it works like a charm.
Tested-by: Richard GENOUD <richard.genoud at bootlin.com>
>>
>> As stated in https://doc.qt.io/qt-6/qt6-buildsystem.html:
>>
>> "This only affects users that want to build Qt from sources.
>> You can still use qmake as a build tool for your applications."
>>
>> This series revives an older patch that exported qmake for Qt6,
>> applying a minimal fix. It extends pkg-qmake to support Qt6 and uses
>> qwt and cutekeyboard as test cases to validate the changes.
>>
>> The series is marked as RFC because hardcoding the Qt5 and Qt6 version
>> numbers in pkg-qmake is not ideal, even if the Qt5 versions were
>> already hardcoded.
>>
>> An alternative approach could be to add a BR2_PACKAGE_QT{5,6}
>> _VERSION_VALUE
>> option, but this can be discussed during review.
>>
>> Dario Binacchi (4):
>> package/qwt: bump to version 6.3.0
>> package/pkg-qmake: support Qt6
>> package/qwt: enable build with Qt6
>> package/cutekeyboard: enable build with Qt6
>>
>> Jesse Van Gavere (1):
>> package/qt6: Add qmake functionality
>>
>> package/cutekeyboard/Config.in | 13 ++++++----
>> package/cutekeyboard/cutekeyboard.mk | 6 ++++-
>> package/pkg-qmake.mk | 21 ++++++++++++----
>> package/qt6/qt6.mk | 18 ++++++++++++++
>> package/qt6/qt6base/qmake.conf.in | 36 ++++++++++++++++++++++++++++
>> package/qt6/qt6base/qplatformdefs.h | 1 +
>> package/qt6/qt6base/qt.conf.in | 7 ++++++
>> package/qt6/qt6base/qt6base.mk | 18 ++++++++++++++
>> package/qwt/Config.in | 22 ++++++++++-------
>> package/qwt/qwt.hash | 8 +++----
>> package/qwt/qwt.mk | 6 ++++-
>> 11 files changed, 132 insertions(+), 24 deletions(-)
>> create mode 100644 package/qt6/qt6base/qmake.conf.in
>> create mode 100644 package/qt6/qt6base/qplatformdefs.h
>> create mode 100644 package/qt6/qt6base/qt.conf.in
>>
>
--
Richard Genoud, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
More information about the buildroot
mailing list