Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Windeploy uses bad libraries
Qt 6.12 LTS is out! See what's new in the release blog

Windeploy uses bad libraries

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 2 Posters 824 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.
  • M Offline
    M Offline
    MartinD
    wrote on last edited by
    #1

    Hi,
    I have two Qt kits on my PC:

    C:\Qt\5.6
    C:\Qt\Qt5.7.0

    I run C:\Qt\5.6\mingw49_32\bin\windeployqt.exe on my .exe program (which was compiled against 5.6 libraries) but windeployqt copies all dependencies from C:\Qt\Qt5.7.0 (all copied dlls have 5.7.0 version instead of 5.6).

    How to force windeployqt to use correct libraries?

    RatzzR 1 Reply Last reply
    0
    • M MartinD

      Hi,
      I have two Qt kits on my PC:

      C:\Qt\5.6
      C:\Qt\Qt5.7.0

      I run C:\Qt\5.6\mingw49_32\bin\windeployqt.exe on my .exe program (which was compiled against 5.6 libraries) but windeployqt copies all dependencies from C:\Qt\Qt5.7.0 (all copied dlls have 5.7.0 version instead of 5.6).

      How to force windeployqt to use correct libraries?

      RatzzR Offline
      RatzzR Offline
      Ratzz
      wrote on last edited by
      #2

      @MartinD
      May be this helps you https://forum.qt.io/topic/40061/the-windeployqt-tool-that-comes-with-qt-5-2/4

      --Alles ist gut.

      1 Reply Last reply
      1
      • M Offline
        M Offline
        MartinD
        wrote on last edited by
        #3

        I added windeployqt.exe as post build step in Qt Creator and then it picks the correct libraries.

        1 Reply Last reply
        0

        • Login

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