githubuser0xFFFF / Qt-Advanced-Docking-System

Advanced Docking System for Qt
GNU Lesser General Public License v2.1
1.87k stars 548 forks source link

Library output name breaks windeployqt.exe use due to Qt6... prefix #633

Closed ThomasKroes closed 6 months ago

ThomasKroes commented 6 months ago

windeployqt.exe sees Qt6advanceddocking.dll as a native Qt6 dll and therefore searches for it in the bin directory of the Qt distribution instead of next to the .exe. The only solution to this problem is to either:

Steps to reproduce:

  1. Create an executable with a dependency on Qt ADS
  2. Compile it, this will give you an exe and a Qt6advanceddocking.dll
  3. Now run windeployqt on either the exe or the dir in which it is contained
  4. windeployqt will complain that it cannot find Qt6advanceddocking.dll in qt_bin_dir/Qt6advanceddocking.dll
githubuser0xFFFF commented 6 months ago

Thank you for your bug report. What is you proposal to fix this?