Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Problem running windeployqt

Problem running windeployqt

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
2 Posts 1 Posters 476 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.
  • PerdrixP Offline
    PerdrixP Offline
    Perdrix
    wrote on last edited by Perdrix
    #1

    I added a Custom Build Event to my VS2017 project to run after completion of the build:

    12322e84-91a5-4a3b-b45e-965579022b01-image.png

    When it ran, it didn't quite do what I expected (which is to look in its own directory for the files to be copied).

    The result was this:

    Unable to find dependent libraries of C:\Anaconda2\Library\bin\Qt5Widgetsd.dll :Cannot open 'C:/Anaconda2/Library/bin/Qt5Widgetsd.dll': The system cannot find the file specified.

    I guess it was looking down PATH, but I think it should only have been looking in C:\Qt\5.12.8\msvc2017\bin !

    I think this is a bug, but as a work-around, is there a way to override where it searches for the files it needs to copy?

    Thanks
    David

    1 Reply Last reply
    0
    • PerdrixP Offline
      PerdrixP Offline
      Perdrix
      wrote on last edited by
      #2

      I think I have a work around ...

      I changed the command to read:

      call C:\Qt\5.12.8\msvc2017_64\bin\qtenv2.bat; C:\Qt\5.12.8\msvc2017_64\bin\windeployqt --pdb $(TargetPath)

      which seems to have done the job. I still think this is a bug though :)

      D.

      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 Extensions
      • Unsolved