Details
-
Technical task
-
Resolution: Unresolved
-
P2: Important
-
None
-
None
Description
Creates a qt.conf file in the build directory of each executable, when using CMake 3.19+,
to set up qml import paths for the `DEPENDENCIES` and `IMPORTS` targets.
https://codereview.qt-project.org/c/qt/qtdeclarative/+/560608 - qt_add_qml_module: Create qt.conf in build dir
*Notes:*
What is behavior for < 3.19? Appears to be no-op without a warning?
Does introducing an opt-out make sense?
*Action points:*
AP: Check if we can support older cmake versions, or if we should issue a warning
AP: Double check that the qt.conf is only created if the QTP0005 policy is NEW
AP: Add documentation somewhere
AP: Add an opt out option, to not generated the qt.conf in case of some conflict