[Development] Building Qt using Visual Studio
Scott Bloom
scott at towel42.com
Tue Apr 22 18:46:40 CEST 2025
I am trying to build Qt 6.8.2 inside Visual Studio 2022
I am able, with no issues to build it using ninja. However when I use -cmake-generator "Visual Studio 17 2022"
I get the following error (for tons of projects, not just the one listed)
CMake Error in CMakeLists.txt:
The EXCLUDE_FROM_ALL property of target "syncqt" varies by configuration.
This is not supported by the "Visual Studio 17 2022" generator.
This property should only be used for ninja targets, should I file a bug on the build system? Or is non-ninja not truly supported yet and this is a known issue?
Scott
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20250422/6e477749/attachment.htm>
More information about the Development
mailing list