Details
-
Suggestion
-
Resolution: Unresolved
-
Not Evaluated
-
None
-
Qt Creator 16.0.2
-
None
Description
Hello.
I encountered a problem running or debugging an application that depends on a library package with non statndard layout.
It builds just fine, but when .dll is stored apart from .lib and the 'bin' directory is renamed by the package author to something like 'bins' or 'binaries' Qt Creator just failes to start the executable.
CMake file API indees does not seem to mention the dll or its path unless it is manually added with 'target_link_directories', which is a dirty hack. But the package import file has the .dll in the 'IMPORTED_LOCATION_*' target property.
Would it be in scope to try and find those paths from dependencies packages to add the to the run/debug configuration? shall this fix itself with CPS at some point?
https://codereview.qt-project.org/c/qt-creator/qt-creator/+/404290
https://bugreports.qt.io/browse/QTCREATORBUG-27201