> I find myself setting SKIP_AUTOUIC on *.h and *.cpp files to silence
> CMP0071 warnings.
It's an unfortunate situation.
In many cases (qt < 5.10) it might work to just let AUTOUIC probe
the (moc/uic/rcc) GENERATED files as well by setting
`cmake_policy(SET CMP0071 NEW)`
--
Powered by
On Mittwoch, 4. Oktober 2017 20:01:50 CEST clin...@elemtech.com wrote:
> - On Sep 26, 2017, at 9:07 AM, Sebastian Holtermann sebl...@xwmw.org
wrote:
> >> I updated and I'm getting this:
> >>
> >> CMake Warning (dev) in claro/navigation5/CMakeLists.txt:
> >> Policy CMP0071 is not set: Let
- On Sep 26, 2017, at 9:07 AM, Sebastian Holtermann sebl...@xwmw.org wrote:
>> I updated and I'm getting this:
>>
>> CMake Warning (dev) in claro/navigation5/CMakeLists.txt:
>> Policy CMP0071 is not set: Let AUTOMOC and AUTOUIC process GENERATED files.
>> Run "cmake --help-policy CMP0071"
On Montag, 2. Oktober 2017 06:58:31 CEST Brad King wrote:
> On 09/26/2017 12:55 PM, clin...@elemtech.com wrote:
> > https://bugreports.qt.io/browse/QTBUG-63442
>
> Please take a look at the proposed fix:
>
> https://codereview.qt-project.org/#/c/207327/
I dropped a few comments.
-Sebastian
On 09/26/2017 12:55 PM, clin...@elemtech.com wrote:
> https://bugreports.qt.io/browse/QTBUG-63442
Please take a look at the proposed fix:
https://codereview.qt-project.org/#/c/207327/
Thanks,
-Brad
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ at:
On Dienstag, 26. September 2017 11:49:18 CEST Brad King wrote:
> On 09/26/2017 11:15 AM, Sebastian Holtermann wrote:
> > "cmake --help-policy CMP0071" already mentions SKIP_AUTOMOC.
> > Should the warning mention SKIP_AUTOMOC as well?
>
> Yes, please. It removes an indirection.
The merge
- On Sep 26, 2017, at 9:31 AM, Sebastian Holtermann sebl...@xwmw.org wrote:
> On Dienstag, 26. September 2017 09:25:36 CEST clin...@elemtech.com wrote:
>> - On Sep 26, 2017, at 9:07 AM, Sebastian Holtermann sebl...@xwmw.org
> wrote:
>> >> I updated and I'm getting this:
>> >>
>> >> CMake
On Dienstag, 26. September 2017 11:49:18 CEST Brad King wrote:
> On 09/26/2017 11:15 AM, Sebastian Holtermann wrote:
> > "cmake --help-policy CMP0071" already mentions SKIP_AUTOMOC.
> > Should the warning mention SKIP_AUTOMOC as well?
>
> Yes, please. It removes an indirection.
Okay, I got the
On 09/26/2017 11:15 AM, Sebastian Holtermann wrote:
> "cmake --help-policy CMP0071" already mentions SKIP_AUTOMOC.
> Should the warning mention SKIP_AUTOMOC as well?
Yes, please. It removes an indirection.
Thanks,
-Brad
--
Powered by www.kitware.com
Please keep messages on-topic and check
On Dienstag, 26. September 2017 09:25:36 CEST clin...@elemtech.com wrote:
> - On Sep 26, 2017, at 9:07 AM, Sebastian Holtermann sebl...@xwmw.org
wrote:
> >> I updated and I'm getting this:
> >>
> >> CMake Warning (dev) in claro/navigation5/CMakeLists.txt:
> >> Policy CMP0071 is not set: Let
- On Sep 26, 2017, at 9:07 AM, Sebastian Holtermann sebl...@xwmw.org wrote:
>> I updated and I'm getting this:
>>
>> CMake Warning (dev) in claro/navigation5/CMakeLists.txt:
>> Policy CMP0071 is not set: Let AUTOMOC and AUTOUIC process GENERATED files.
>> Run "cmake --help-policy CMP0071"
On Dienstag, 26. September 2017 11:04:30 CEST Brad King wrote:
> On 09/26/2017 09:32 AM, clin...@elemtech.com wrote:
> > CMake Warning (dev) in claro/navigation5/CMakeLists.txt:
> > Policy CMP0071 is not set: Let AUTOMOC and AUTOUIC process GENERATED
> > files. Run "cmake --help-policy CMP0071"
On 09/26/2017 11:07 AM, Sebastian Holtermann wrote:
>> AUTOMOC: Ignoring GENERATED header file(s):
>>
>> "/path/to/ui_SomeFile.h"
>> "/path/to/qrc_AnotherFile.cpp"
>
> You can set the source file property SKIP_AUTOMOC on the GENERATED files.
Sebastian, please revise the policy warning to mention
> I updated and I'm getting this:
>
> CMake Warning (dev) in claro/navigation5/CMakeLists.txt:
> Policy CMP0071 is not set: Let AUTOMOC and AUTOUIC process GENERATED files.
> Run "cmake --help-policy CMP0071" for policy details. Use the cmake_policy
> command to set the policy and suppress this
On 09/26/2017 09:32 AM, clin...@elemtech.com wrote:
> CMake Warning (dev) in claro/navigation5/CMakeLists.txt:
> Policy CMP0071 is not set: Let AUTOMOC and AUTOUIC process GENERATED files.
> Run "cmake --help-policy CMP0071" for policy details. Use the cmake_policy
> command to set the
I updated and I'm getting this:
CMake Warning (dev) in claro/navigation5/CMakeLists.txt:
Policy CMP0071 is not set: Let AUTOMOC and AUTOUIC process GENERATED files.
Run "cmake --help-policy CMP0071" for policy details. Use the cmake_policy
command to set the policy and suppress this warning.
16 matches
Mail list logo