[Development] Did we have to remove cmake's qt5_use_modules?

Lisandro Damián Nicanor Pérez Meyer perezmeyer at gmail.com
Thu Jun 7 16:05:54 CEST 2018


El jueves, 7 de junio de 2018 03:03:40 -03 Thiago Macieira escribió:
> Commit 02ed1b36daebed5f3997bb676cf5e818c0db9d3c was
> 
>     Remove CMake code for CMake < 3.1
> 
>     This removes the following functions from Qt5CoreMacros:
>     - qt5_use_modules(...)
> 
> Which follows 2013's d9ea4bb1441534cfb9253303ac258951dfcc4d9e
> 
>     Mark qt5_use_modules as obsolete.
> 
>     Forward-port of cb7f32f5b861fe115fa71f64500a5cbb0b643f1b (Mark
>     qt4_use_modules and qt4_automoc as obsolete., 2013-07-04) from
>     cmake.git.
> 
> But it appears that in the 5 years since we deprecated it, people have not
> stopped using it. Did we have to remove it? Or should we have kept
> compatibility until Qt 6?
> 
> Just look at the failures in
> https://build.opensuse.org/project/monitor/openSUSE:Factory?
> arch_x86_64=1&defaults=0&failed=1&repo_standard=1
> 
> The majority of them are caused by the Qt 5.11 update, a great number of
> which are the cmake update (the rest are indirect header dependency and are
> easy to fix).

Interesting, this will affect other distros obviously. Was there anything 
breaking due to keeping this?

-- 
May the source be with you.

Lisandro Damián Nicanor Pérez Meyer
http://perezmeyer.com.ar/
http://perezmeyer.blogspot.com/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/development/attachments/20180607/675e4abf/attachment.sig>


More information about the Development mailing list