[RFC,0/4] Support qmake for Qt6
mbox series

Message ID 20250806115219.3307438-1-dario.binacchi@amarulasolutions.com
Headers show
Series
  • Support qmake for Qt6
Related show

Message

Dario Binacchi Aug. 6, 2025, 11:52 a.m. UTC
The series supports qmake for qt6.

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 as a test case 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 (3):
  package/qwt: bump to version 6.3.0
  package/pkg-qmake: support Qt6
  package/qwt: enable build with Qt6

Jesse Van Gavere (1):
  package/qt6: Add qmake functionality

 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/qt6/qt6base/qt6base.mk.save | 455 ++++++++++++++++++++++++++++
 package/qwt/Config.in               |  22 +-
 package/qwt/qwt.hash                |   8 +-
 package/qwt/qwt.mk                  |   6 +-
 10 files changed, 574 insertions(+), 18 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
 create mode 100644 package/qt6/qt6base/qt6base.mk.save