[Development] Strange behavior of cmake with Qt5.11.0

Oleg Shalnev oleg.shalnev at gmail.com
Thu May 10 07:55:51 CEST 2018


Thanks a lot!

ср, 9 мая 2018 г. в 17:56, Kevin Funk <kevin.funk at kdab.com>:

> On Tuesday, 8 May 2018 15:36:21 CEST Oleg Shalnev wrote:
> > Good day!
> > Neither cmake, nor qtcreator can't normal work with Qt5.11.0
> > Error processing cmake project file with error
> >
> > > CMake Error at ______________/CMakeLists.txt:28 (qt5_use_modules):
> > > Unknown CMake command "qt5_use_modules".
>
> Heya,
>
> The qt5_use_modules() function was deprecated since ages and finally got
> removed with Qt 5.11.0 [1]. But indeed, we're lacking a release note entry
> for
> that. Will add that.
>
> See this StackOverflow questions for a solution & explanation:
>
> https://stackoverflow.com/questions/31172156/what-to-use-instead-of-qt5-use-modules
>
> Or the first paragraph here from Qt's CMake manual:
>   http://doc.qt.io/qt-5/cmake-manual.html
>
> Regards,
> Kevin
>
>
> [1] https://bugreports.qt.io/browse/QTBUG-63519
>
>
> > Linux __ 4.15.0-20-generic #21-Ubuntu SMP Tue Apr 24 06:16:15 UTC 2018
> > x86_64 x86_64 x86_64 GNU/Linux
> > cmake version 3.10.2
> > Qt 5.11.0-RC
> >
> > With Qt.5.10.1 All Ok
> > Where can I read about this new cmake trick?
> >
> > Thanks a lot
>
>
> --
> Kevin Funk | kevin.funk at kdab.com | Lead Sales Engineer
> KDAB (Deutschland) GmbH, a KDAB Group company
> Tel: +49-30-521325470
> KDAB - The Qt, C++ and OpenGL Experts



-- 
Oleg Shalnev  (Kalpa Integration Initiative)
----------------------------------------------
e-mail                      : oleg at kalpa.ru , oleg.shalnev at gmail.com

cell,Viber,WhatsUp,Telegram : +7 (918) 741 7217
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20180510/ff6d583a/attachment.html>


More information about the Development mailing list