Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-27576

QtQuickCompiler resources are not visible in QtCreator

XMLWordPrintable

    • Linux/X11

      It could be related to or duplicate of QTCREATORBUG-22535.

      The resource files are not visible when the QtQuickCompiler is used. For example:

      find_package(Qt5QuickCompiler)
      qtquick_compiler_add_resources(RESOURCES untitled.qrc)
      

      It works as expected without QtQuickCompiler:

      qt5_add_resources(RESOURCES untitled.qrc)
      

      It seems this is expected way [1] of using QtQuickCompiler, but the QtCreator doesn't show the files then. I am trying to use this approach in my project [2]. Please point me to right documentation if my cmake configuration is incorrect.

      [1] https://felgo.com/doc/qt/qtquick-deployment/#compiling-qml-ahead-of-time
      [2] https://github.com/DCGM/LAA-maps-editor/blob/master/CMakeLists.txt#L36

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            cadam Cristian Adam
            xmlich02 Jozef Mlich
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes