Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. [5.8, 5.9 windeploy_qt] Running windeploy_qt results in qrc:/main.qml:-1 File not found

[5.8, 5.9 windeploy_qt] Running windeploy_qt results in qrc:/main.qml:-1 File not found

Scheduled Pinned Locked Moved Solved Installation and Deployment
3 Posts 2 Posters 880 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    Dynite
    wrote on last edited by
    #1

    If you:

    • create a new dummy qt quick controls 2 app ("DummyApp"). (perhaps in c:\Users\You\Documents\DummyApp)
    • build in release mode.
    • test it Runs from Qt Creator.
    • goto <build-DummyApp-Desktop_Qt_5_8_0_MSVC2013_64bit-Release/release>
    • run c:\Qt5.8\msvc2013_64\bin\windeployqt.exe --qmldir c:\Users\You\Documents\DummyApp DummyApp.exe
    • Run from Qt creator.
    • qrc:/main.qml:-1 File not found

    https://bugreports.qt.io/browse/QTBUG-60764

    Any fixes? Work arounds?

    1 Reply Last reply
    0
    • D Offline
      D Offline
      Dynite
      wrote on last edited by
      #2

      Resolved.

      The problem was that my path had qt 5.7.1 in it, and thus when windeploy_qt ran, it was in finding 5.7.1 instead of 5.8.

      I wish this sort of thing could be detected by the framework. Lost half a day because of this.

      jsulmJ 1 Reply Last reply
      0
      • D Dynite

        Resolved.

        The problem was that my path had qt 5.7.1 in it, and thus when windeploy_qt ran, it was in finding 5.7.1 instead of 5.8.

        I wish this sort of thing could be detected by the framework. Lost half a day because of this.

        jsulmJ Online
        jsulmJ Online
        jsulm
        Lifetime Qt Champion
        wrote on last edited by SGaist
        #3

        @Dynite Good example for why you should not add Qt installations to PATH

        https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply
        1

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved