MantisBT - CMake
View Issue Details
0007692CMakeCMakepublic2008-09-17 11:012008-10-01 09:20
Mike McQuaid 
Bill Hoffman 
normalfeatureN/A
closedwon't fix 
CMake-2-6 
 
0007692: Provide variable to get Qt .dll library on Windows
Please provide a variable with the location of the corresponding .dll from a QT_LIBRARY_* which is a .lib file on Windows.

The .dll file needs to be installed on Windows systems unless you staticly link against Qt (which isn't always desirable).

I've attached a CMake module file that accomplishes this.

Please give me feedback. In addition, if this module is merged I would be happy to support it.
No tags attached.
? GetQtDllFromLib.cmake (1,053) 2008-09-17 11:01
https://public.kitware.com/Bug/file/1719/GetQtDllFromLib.cmake
Issue History
2008-09-17 11:01Mike McQuaidNew Issue
2008-09-17 11:01Mike McQuaidFile Added: GetQtDllFromLib.cmake
2008-09-25 16:58Bill HoffmanNote Added: 0013592
2008-09-25 16:58Bill HoffmanStatusnew => assigned
2008-09-25 16:58Bill HoffmanAssigned To => Bill Hoffman
2008-10-01 09:20Bill HoffmanNote Added: 0013631
2008-10-01 09:20Bill HoffmanStatusassigned => closed
2008-10-01 09:20Bill HoffmanResolutionopen => won't fix

Notes
(0013592)
Bill Hoffman   
2008-09-25 16:58   
See Modules/GetPrerequisites.cmake
(0013631)
Bill Hoffman   
2008-10-01 09:20   
I think you need something like GetPrerequisites as qt dll's may link to or use other qt dll's that are not directly linked, but still need to be installed. So, this will fail in those cases, and GetPrequisites will work.