Details
-
Bug
-
Resolution: Fixed
-
Not Evaluated
-
QDS 4.6.0
-
None
-
3b0679737 (qds/dev), 5082e26b7 (qds/4.6), 013f3e903 (dev), a0ab2001e (6.8)
-
QDS Berlin - 2024 Week 37/38
Description
qmlcomponents.cmake use FetchContent to get the design studio components:
FetchContent_Declare(
ds
GIT_TAG qds-4.5
GIT_REPOSITORY https://code.qt.io/qt-labs/qtquickdesigner-components.git
)
FetchContent_GetProperties(ds)
FetchContent_Populate(ds)
Since CMake 3.30, FetchContent_Populate() with only one argument is deprecated, and will generate a configure time warning:
CMake Warning (dev) at C:/Program Files/CMake/share/cmake-3.30/Modules/FetchContent.cmake:1953 (message): Calling FetchContent_Populate(ds) is deprecated, call FetchContent_MakeAvailable(ds) instead. Policy CMP0169 can be set to OLD to allow FetchContent_Populate(ds) to be called directly for now, but the ability to call it with declared details will be removed completely in a future version.
Instead, the script should use FetchContent_MakeAvailable()
Attachments
Issue Links
- mentioned in
-
Page Loading...