When building examples in-tree in a prefix build, we set QT_NO_CREATE_TARGETS
to TRUE and that causes find_package(QtFoo) calls in example projects
not to define targets.
If the targets were not found previously as part of the find_package calls
in qtdeclarative/CMakeLists.txt, this generates warnings like
CMake Warning at lib/cmake/Qt6/Qt6Config.cmake:176 (find_package):
Found package configuration file:
lib/cmake/Qt6ShaderTools/Qt6ShaderToolsConfig.cmake
but it set Qt6ShaderTools_FOUND to FALSE so package "Qt6ShaderTools" is
considered to be NOT FOUND. Reason given by package:
Target "Qt6::ShaderTools" was not found. Possibly due to
QT_NO_CREATE_TARGETS being set to TRUE and thus
lib/cmake/Qt6ShaderTools/Qt6ShaderToolsTargets.cmake
was not included to define the target.
To avoid the warnings, search for the target ShaderTools package as an
optional component.
Amends
|
||
---|---|---|
cmake | ||
coin | ||
dist | ||
examples | ||
features | ||
src | ||
tests | ||
tools | ||
.cmake.conf | ||
.gitattributes | ||
.gitignore | ||
.gitmodules | ||
.tag | ||
CMakeLists.txt | ||
LICENSE.FDL | ||
LICENSE.GPL2 | ||
LICENSE.GPL3 | ||
LICENSE.GPL3-EXCEPT | ||
LICENSE.GPLv3 | ||
LICENSE.LGPL3 | ||
LICENSE.LGPLv3 | ||
README.md | ||
conanfile.py | ||
configure.cmake | ||
dependencies.yaml | ||
qt_cmdline.cmake | ||
qtdeclarative.doxy | ||
sync.profile |
README.md
qtdeclarative
The qtdeclarative repository is home to QML, Qt Quick and several related modules:
- Qt QML
- Qt QML Core
- Qt QML Models
- Qt QML WorkerScript
- Qt QML XmlListModel
- Qt Quick
- Qt Quick Controls 2
- Qt Quick Layouts
- Qt Quick Local Storage
- Qt Quick Particles
- Qt Quick Shapes
- Qt Quick Templates
- Qt Quick Test
In addition, there are several Qt Labs modules: