Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
Qt for MCUs 1.9
-
None
-
-
Platform Sprint 1.1/2022
Description
It is not possible to put resource files in a folder "above" the folder containing the CMakeLists.txt calling qul_add_resource.
E.g.
1. Use the following locations
/top/project/CMakeLists.txt
/top/icon.svg
2. Add the following to /top/project/CMakeLists.txt
qul_add_resource( ProjName FILES ../icon.svg)
3. This will trigger a compile error:
CMake Error at qt/lib/cmake/Qul/QulMacros.cmake:794 (message):
qul_add_resource, the resource name for file ../icon.svg is
../icon.svg, which is above the resource root