Re: [Development] Strange behavior of cmake with Qt5.11.0

2018-05-09 Thread Oleg Shalnev
Thanks a lot!

ср, 9 мая 2018 г. в 17:56, Kevin Funk :

> 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.f...@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  : o...@kalpa.ru , oleg.shal...@gmail.com

cell,Viber,WhatsUp,Telegram : +7 (918) 741 7217
___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development


Re: [Development] Strange behavior of cmake with Qt5.11.0

2018-05-09 Thread Kevin Funk
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.f...@kdab.com | Lead Sales Engineer
KDAB (Deutschland) GmbH, a KDAB Group company
Tel: +49-30-521325470
KDAB - The Qt, C++ and OpenGL Experts

smime.p7s
Description: S/MIME cryptographic signature
___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development