Uploaded image for project: 'Qt for MCUs'
  1. Qt for MCUs
  2. QTMCU-85

Resource files cannot be above resource root

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P1: Critical
    • Qt for MCUs 2.1
    • Qt for MCUs 1.9
    • Platform Team
    • None
    • freeRTOS
    • 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

      Attachments

        Activity

          People

            dbortolotti Daniele Bortolotti
            dmhbl Daniel Mattsson
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: