Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-108150

Adding qml files from the build folder to the QRC is creating filenames so long it breaks the build on Windows host

    XMLWordPrintable

Details

    • Windows
    • e4feab199 (dev), 609943dbf (6.4), 7ed0a4809 (6.5), f1be2e96c (tqtc/lts-6.2), 8f2d5a564 (dev)

    Description

      When a *.qml file is included in the resource file (QRC) dynamically from the build folder the result is path + filename so long that it breaks the build in Windows host machine.

      With CMake, the result is a very deep folder structure:

      build-QRCTest-Desktop_Qt_6_4_0_GCC_64bit-Release/.rcc/qmlcache/appQRCTest_../build-QRCTest-Desktop_Qt_6_4_0_GCC_64bit-Release/Subfolder/GeneratedQML_qml.cpp

      And with QMake the issue is more about a very long filename:

      build-QRCTestQMake-Desktop_Qt_6_4_0_GCC_64bit-Release/.._build-QRCTestQMake-Desktop_Qt_6_4_0_GCC_64bit-Release_Subfolder_GeneratedQML_qml.cpp

      To reproduce the issue, please build the attached example projects in Release mode.

       

      Attachments

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

        Activity

          People

            jbornema Joerg Bornemann
            tuomas.vaarala Tuomas Vaarala
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes