Explorar o código

DeployQt4: Add path to Qt dlls on Windows.

Clinton Stimpson %!s(int64=13) %!d(string=hai) anos
pai
achega
2c601c100b
Modificáronse 1 ficheiros con 6 adicións e 0 borrados
  1. 6 0
      Modules/DeployQt4.cmake

+ 6 - 0
Modules/DeployQt4.cmake

@@ -126,6 +126,9 @@ function(fixup_qt4_executable executable)
         if(QT_LIBRARY_DIR)
                 list(APPEND dirs "${QT_LIBRARY_DIR}")
         endif()
+        if(QT_BINARY_DIR)
+                list(APPEND dirs "${QT_BINARY_DIR}")
+        endif()
 
         if(APPLE)
                 set(qt_conf_dir "${executable}/Contents/Resources")
@@ -258,6 +261,9 @@ function(install_qt4_executable executable)
         if(QT_LIBRARY_DIR)
                 list(APPEND dirs "${QT_LIBRARY_DIR}")
         endif()
+        if(QT_BINARY_DIR)
+                list(APPEND dirs "${QT_BINARY_DIR}")
+        endif()
         if(component)
                 set(component COMPONENT ${component})
         else()