[Development] Proposing CMake as build tool for Qt 6

Konstantin Tokarev annulen at yandex.ru
Thu Jun 6 15:30:02 CEST 2019



06.06.2019, 16:25, "Simon Hausmann" <simon.hausmann at qt.io>:
> Hi,
>
> Regarding PCH, it seems that right now it would be easiest to include something like https://github.com/sakra/cotire . Patches are welcome to integrate this or alternatively work with upstream CMake for a built-in solution.

Yet another alternative is https://github.com/larsch/cmake-precompiled-header/blob/master/PrecompiledHeader.cmake
which is not so monstrous as cotire

>
> Regarding iOS/tvOS/watchOS, my understanding is that CMake upstream has landed basic support from a toolchain perspective and welcomes contributions to make it better. I understand that Alexandru has been playing with making a Qt build with it and supplying third-party libraries via vcpkg, but I think that's nothing beyond the scope of experiments. So similarly here, contributions are welcome :)
>
> Those two aspects are also a driver for increasing the visiblity of the CMake port, in order to invite contributors to help. Yet I feel that they don't represent show-stoppers from a decision making point of view. I'm confident that if others in the C++ community are able to build apps for iOS with CMake, then we will also be able to build Qt for it.
>
> Simon
>
> ----------------------------------------
> From: Bogdan Vatra <bogdan.vatra at kdab.com>
> Sent: Thursday, June 6, 2019 15:13
> To: development at qt-project.org
> Cc: Simon Hausmann
> Subject: Re: [Development] Proposing CMake as build tool for Qt 6
>
> În ziua de joi, 6 iunie 2019, la 14:45:14 EEST, Simon Hausmann a scris:
>> Hi,
>>
>> In the past months we, some developers from the Qt Company and KDAB,
>> have made good progress on the port of Qt to use CMake as build tool.
>> Since the initial prototype, the port has advanced very well and its
>> current state can be summarized roughly like this:
>>
>>     * Builds on
>>       * Windows (desktop)
>>       * macOS
>>       * Linux (desktop and embedded)
>>       * Android (running not tested yet)
>>
>
> Any news about iOS/tvOS/watchOS and PCH?
>
> Cheers,
> BogDan.
>
> ,
>
> _______________________________________________
> Development mailing list
> Development at qt-project.org
> https://lists.qt-project.org/listinfo/development


-- 
Regards,
Konstantin


More information about the Development mailing list