DeployQt4: Add path to Qt dlls on Windows.
This commit is contained in:
parent
285f0db9f4
commit
2c601c100b
|
@ -126,6 +126,9 @@ function(fixup_qt4_executable executable)
|
||||||
if(QT_LIBRARY_DIR)
|
if(QT_LIBRARY_DIR)
|
||||||
list(APPEND dirs "${QT_LIBRARY_DIR}")
|
list(APPEND dirs "${QT_LIBRARY_DIR}")
|
||||||
endif()
|
endif()
|
||||||
|
if(QT_BINARY_DIR)
|
||||||
|
list(APPEND dirs "${QT_BINARY_DIR}")
|
||||||
|
endif()
|
||||||
|
|
||||||
if(APPLE)
|
if(APPLE)
|
||||||
set(qt_conf_dir "${executable}/Contents/Resources")
|
set(qt_conf_dir "${executable}/Contents/Resources")
|
||||||
|
@ -258,6 +261,9 @@ function(install_qt4_executable executable)
|
||||||
if(QT_LIBRARY_DIR)
|
if(QT_LIBRARY_DIR)
|
||||||
list(APPEND dirs "${QT_LIBRARY_DIR}")
|
list(APPEND dirs "${QT_LIBRARY_DIR}")
|
||||||
endif()
|
endif()
|
||||||
|
if(QT_BINARY_DIR)
|
||||||
|
list(APPEND dirs "${QT_BINARY_DIR}")
|
||||||
|
endif()
|
||||||
if(component)
|
if(component)
|
||||||
set(component COMPONENT ${component})
|
set(component COMPONENT ${component})
|
||||||
else()
|
else()
|
||||||
|
|
Loading…
Reference in New Issue