[Development] Switch the main "Qt Build System"

Fabian Kosmale fabian.kosmale at qt.io
Mon Jun 8 15:50:41 CEST 2020

Hi Alexandru,

first of all, congratulations on the cmake port progress.
But do we have a list of tests which currently only build with qmake? I know that at least that the tst_moc port hasn't been merged yet, and I doubt that it's the only one.


Fabian Kosmale
Software Engineer

The Qt Company GmbH
Erich-Thilo-Str. 10
D-12489 Berlin
fabian.kosmale at qt.io
+49 1638686070

Geschäftsführer: Mika Pälsi,
Juha Varelius, Mika Harjuaho
Sitz der Gesellschaft: Berlin,
Registergericht: Amtsgericht
Charlottenburg, HRB 144331 B
Von: Development <development-bounces at qt-project.org> im Auftrag von Alexandru Croitor <alexandru.croitor at qt.io>
Gesendet: Montag, 8. Juni 2020 15:43
An: Qt development mailing list <development at qt-project.org>
Betreff: [Development] Switch the main "Qt Build System"

Hi everyone,

It's time to talk about everyone's favourite topic again: build systems.

It's been a while since we started porting and merging the CMake ports of Qt repositories into the dev branches.

To be precise: qtbase got merged on the 7th of February.

Since then, all the enabled repositories in qt5.git/dev have CMake ports merged to their corresponding dev branches (except for qtqa which got reverted, but it should be back soon).

The CMake ports are built in Coin with the most important configurations (Linux, Windows, macOS, Android, iOS, qemu Linux).

Currently, failed tests don't fail integrations, but we're fixing up the last failing tests and intend to enforce successful test passing for CMake configurations.

Anyway, it's time for the next step.

-----------------------------> TL;DR here <----------------------------------------

The CMake Port team wants to switch the main Qt build system to the CMake one.

What this means:

- All Coin qmake configurations in dev branch are removed.

- Only CMake configurations are built in Coin.

- CMakeLists.txt files are now the source of truth (no more editing of .pro / .pri files).

- All qmake .pro / .pri files of ported repositories under Coin control are removed.

- No more pro2cmake.py and configurejson2cmake.py usage (except for an initial port of a yet un-ported repository)

- You need CMake to build Qt.

- Un-ported repositories should still be able to build with qmake against a CMake built Qt (this was tested to work for qtwebengine, but not other repositories, there are a few known issues left that we're currently fixing).

--> Proposed time of execution: 1st of July <--

I'd like to hear about any Qt development blockers that you foresee due to this change.

Development mailing list
Development at qt-project.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20200608/62dfeb7a/attachment.html>

More information about the Development mailing list