[Development] Switch the main "Qt Build System"

Alexandru Croitor alexandru.croitor at qt.io
Mon Jun 8 16:07:35 CEST 2020


Hi,

Here's a quick list i collected.

https://paste.ubuntu.com/p/Rf44PtzjCS/

You can generate a list for other repos by using the qtbase/util/cmake/pro_conversion_rate.py script.

Yes, not 100% of the tests have been ported yet, but the hope is that this can be distributed to other developers, while the CMake port team works on the more infrastructure-related issues.

> On 8. Jun 2020, at 15:50, Fabian Kosmale <fabian.kosmale at qt.io> wrote:
> 
> 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.
> 
> Regards,
> Fabian
> 
> --
> Fabian Kosmale
> Software Engineer
> 
> The Qt Company GmbH
> Erich-Thilo-Str. 10
> D-12489 Berlin
> fabian.kosmale at qt.io
> +49 1638686070
> http://qt.io
> 
> 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.
> 
> 
> Regards,
> Alexandru.
> _______________________________________________
> Development mailing list
> Development at qt-project.org
> https://lists.qt-project.org/listinfo/development



More information about the Development mailing list