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

qmlimportscanner cannot open input file after project is cleaned

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3: Somewhat important
    • None
    • 6.5.5-1, 6.7.0
    • Build System: CMake
    • Windows 10 22H2 + MSVC 2019; Ubuntu 22.04 + GCC 11.4.0; CMake from the Qt online installer
    • 4bc6c8e3704aeaf45316523a55ca19226ae10fb0 (dev)

    Description

      Steps to reproduce

      1. Load the attached project
      2. Build it
      3. Clean it
      4. Build it again

       

      Expected outcomes (Step #2)

      [1/43 84.5/sec] Generating MyApp/Main.qml
      [2/43 103.0/sec] Running rcc for resource qmake_MyLib
      [3/43 116.6/sec] Running qmlimportscanner for appMyApp
      [4/43 76.7/sec] Generating .rcc/qmlcache/MyLib_qmlcache_loader.cpp
      [5/43 80.9/sec] Generating GreenRect.qml
      ...
      

       

      Actual outcomes (Step #4)

      [1/43 218.9/sec] Generating MyApp/Main.qml
      [2/43 148.1/sec] Running rcc for resource qmake_MyLib
      [3/43 101.3/sec] Running qmlimportscanner for appMyApp
      Cannot open input file /home/USER/Desktop/build-AppAndLib_nested-Desktop_Qt_6_5_5_GCC_64bit-Debug/MyLib/GreenRect.qml:No such file or directory
      [4/43 63.7/sec] Generating .rcc/qmlcache/MyLib_qmlcache_loader.cpp
      [5/43 66.3/sec] Generating GreenRect.qml
      ...
      

      Attachments

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

        Activity

          People

            semlanik Alexey Edelev
            skoh-qt Sze Howe Koh
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes