Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. General talk
  3. Qt 6
  4. Error running windeployQT
Forum Updated to NodeBB v4.3 + New Features

Error running windeployQT

Scheduled Pinned Locked Moved Solved Qt 6
9 Posts 6 Posters 1.9k Views 2 Watching
  • 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.
  • C Offline
    C Offline
    Cyrille de Brebisson
    wrote on last edited by
    #1

    Hello,

    I have an app that we developed using QT 5.14...
    I am trying to migrate to QT 6.1

    After fixing a number of compilation errors and the like the app now compiles...
    BUT, windeployQT fails with an error.

    C:\Qt5\6.1.0\msvc2019_64\bin\windeployqt.exe myApp.exe --qmldir ....\qml fails with the following error:
    ....
    Creating qt_ar.qm...
    QM-Format error

    My app does have .qm files, but I have recreated them using the linguist tool, so they should be OK...
    We are building using visual studio.

    Any ideas what it wrong?
    Thanks,
    Cyrille

    1 Reply Last reply
    0
    • kkoehneK Offline
      kkoehneK Offline
      kkoehne
      Moderators
      wrote on last edited by
      #2

      I think I fixed your issue in https://codereview.qt-project.org/c/qt/qttools/+/338310 . Please try a newer snapshot of Qt 6.1.

      Director R&D, The Qt Company

      S 1 Reply Last reply
      4
      • C Offline
        C Offline
        Cyrille de Brebisson
        wrote on last edited by
        #3

        Hello,

        Thanks, updating QT indeed fixed it.

        Cyrille

        1 Reply Last reply
        0
        • S Offline
          S Offline
          spavlov
          wrote on last edited by
          #4

          This also happens with 5.15.4

          1 Reply Last reply
          1
          • kkoehneK kkoehne

            I think I fixed your issue in https://codereview.qt-project.org/c/qt/qttools/+/338310 . Please try a newer snapshot of Qt 6.1.

            S Offline
            S Offline
            spavlov
            wrote on last edited by
            #5

            @kkoehne Can you please make sure that this bug is not present in 5.15.4 I have same message during deployment,. 5.15.2 worked fine. Thank you!

            1 Reply Last reply
            0
            • Christian EhrlicherC Offline
              Christian EhrlicherC Offline
              Christian Ehrlicher
              Lifetime Qt Champion
              wrote on last edited by
              #6

              @spavlov said in Error running windeployQT:

              This also happens with 5.15.4

              Since 5.15.4 is a commercial-only release it's better to ask the support for such kind of things - we can't say anything to it since we don't have access to the commercial versions here.

              Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
              Visit the Qt Academy at https://academy.qt.io/catalog

              S 1 Reply Last reply
              1
              • Christian EhrlicherC Christian Ehrlicher

                @spavlov said in Error running windeployQT:

                This also happens with 5.15.4

                Since 5.15.4 is a commercial-only release it's better to ask the support for such kind of things - we can't say anything to it since we don't have access to the commercial versions here.

                S Offline
                S Offline
                spavlov
                wrote on last edited by
                #7

                @Christian-Ehrlicher Ok, thank you!

                D 1 Reply Last reply
                0
                • S spavlov

                  @Christian-Ehrlicher Ok, thank you!

                  D Offline
                  D Offline
                  Dmitry.Sokolov
                  wrote on last edited by
                  #8

                  @spavlov
                  Will be fixed in 5.15.5
                  See https://bugreports.qt.io/browse/QTBUG-91558

                  1 Reply Last reply
                  1
                  • KH-219DesignK Offline
                    KH-219DesignK Offline
                    KH-219Design
                    wrote on last edited by
                    #9

                    Just a note for anyone running into this issue who happens to not need translations, the error can be bypassed by running windeployqt with the --no-translations option.

                    www.219design.com
                    Software | Electrical | Mechanical | Product Design

                    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