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

5.8, 5.9 Application fails to start after calling windeploy_qt (qrc:/main.qml:-1 not found)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • 5.8.0, 5.9
    • None
    • Windows

    Description

      In Qt Creator, create a new Qt Quick Controls 2 application "testDeploy", in c:\Code\testDeploy.

      Build this app in release mode. under the default c:\Code\build-testDeploy-Desktop_Qt_5_8_0_MSVC2013_64bit-Release

      Run it (just to be sure it runs before running windeploy_qt).

       

      Next go to command line and run windeploy_qt:

       

       

      c:\Code\build-testDeploy-Desktop_Qt_5_8_0_MSVC2013_64bit-Release\release>c:\Qt\5.8\msvc2013_64\bin\windeployqt.exe --qmldir c:\Code\testDeploy testDeploy.exe

       

       

      Next, try to run it again from Qt Creator or from Explorer. You will receive an error that qrc:/main.qml:-1 cannot be found.

       

      QQmlApplicationEngine failed to load component
      qrc:/main.qml:-1 File not found
      

       

      This problem does not exhibit in 5.7.

      Attachments

        1. qtbug60764_nonrepro_log_58.txt
          11 kB
          Friedemann Kleint
        2. qtbug60764_REPO_log_58_mcox.txt
          13 kB
          Michael Cox
        3. qtbug60764.zip
          4 kB
          Friedemann Kleint

        Issue Links

          Activity

            People

              kleint Friedemann Kleint
              Dynite Michael Cox
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: