Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Windows deploy not working anymore after Qt upgrade from 5.4.1 to 5.10.0
Qt 6.11 is out! See what's new in the release blog

Windows deploy not working anymore after Qt upgrade from 5.4.1 to 5.10.0

Scheduled Pinned Locked Moved Unsolved General and Desktop
5 Posts 4 Posters 1.5k Views 3 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.
  • kracker43K Offline
    kracker43K Offline
    kracker43
    wrote on last edited by
    #1

    Dear all,
    I've developed a Qt application under 5.4.1 version. It's been working successfully until I decided to upgrade my system to Qt 5.10.0. After compiling in Release mode, I read http://doc.qt.io/qt-5/windows-deployment.html to create from scratch the new package.
    Execution results in an error: libgcc_s_dw2-1.dll not found. So I took it from <Qt>\Qt5.10.0\5.10.0\mingw53_32\bin folder.
    Next execution is resulting in a different error
    0_1521882119259_Screenshot from 2018-03-24 10-01-42.png
    Which means that it can't find the entry point into Qt5Gui.dll. What can be the reason if this error?
    I'm using Qt 5.10.0 over a VMWare 64 bit Virtual Machine, mingw 5.3 32 bit. Please note that I can debug succesfully the application from Qt SDK.
    Thanks for anyone has some suggestion for me, regards.

    S 1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      Is the Qt DLL present in your build directory (same where your .exe is)?

      If yes, are you sure it's the release lib (Qt5Gui.dll) and not the debug one (Qt5Guid.dll)?

      (Z(:^

      1 Reply Last reply
      1
      • kracker43K kracker43

        Dear all,
        I've developed a Qt application under 5.4.1 version. It's been working successfully until I decided to upgrade my system to Qt 5.10.0. After compiling in Release mode, I read http://doc.qt.io/qt-5/windows-deployment.html to create from scratch the new package.
        Execution results in an error: libgcc_s_dw2-1.dll not found. So I took it from <Qt>\Qt5.10.0\5.10.0\mingw53_32\bin folder.
        Next execution is resulting in a different error
        0_1521882119259_Screenshot from 2018-03-24 10-01-42.png
        Which means that it can't find the entry point into Qt5Gui.dll. What can be the reason if this error?
        I'm using Qt 5.10.0 over a VMWare 64 bit Virtual Machine, mingw 5.3 32 bit. Please note that I can debug succesfully the application from Qt SDK.
        Thanks for anyone has some suggestion for me, regards.

        S Offline
        S Offline
        Stoyan
        wrote on last edited by
        #3

        @kracker43
        Also, make sure that in your deployment directory all library files are the newest version - from Qt 5.10.0.

        1 Reply Last reply
        1
        • kracker43K Offline
          kracker43K Offline
          kracker43
          wrote on last edited by
          #4

          Thanks for your help,
          unfortunately yes, all the lib are in release version, as they have been produced with windeployqt.exe tool following the instruction given for Release deployment (so I suppose the tool takes the newest version, moreover in this Virtual Machine i did only a fresh setup of Qt 5.10.0 so I don't have multiple version of required dlls).
          Here's my lib list:
          0_1521890188073_Screenshot from 2018-03-24 12-14-45.png
          Regards,

          1 Reply Last reply
          0
          • M Offline
            M Offline
            mchinand
            wrote on last edited by mchinand
            #5

            Edit: Disregard this. I just looked at one of my deployed projects and Qt5Core.dll does have the same date as when it was deployed, and newer than the other Qt5 dlls.

            Something looks weird with your Qt5 dlls. All of them have a date of 1/12/2017 except Qt5Core.dll. December 1st is about when Qt 5.10.0 was released (tagged on November 30 according to code.qt.io). Could Qt5Core.dll be from some other version?

            1 Reply Last reply
            2

            • Login

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