Skip to content
Permalink
Browse files

allow custom install location for QT plugins (#38389)

  • Loading branch information
PeterPetrik committed Aug 20, 2020
1 parent c942607 commit 736e3947d958feddb7e2eec3eb6a304cf9719db1
Showing with 2 additions and 1 deletion.
  1. +2 −1 CMakeLists.txt
@@ -410,7 +410,8 @@ IF(WITH_CORE)

# get the Qt plugins directory
GET_TARGET_PROPERTY(QMAKE_EXECUTABLE Qt5::qmake LOCATION)
EXEC_PROGRAM(${QMAKE_EXECUTABLE} ARGS "-query QT_INSTALL_PLUGINS" RETURN_VALUE return_code OUTPUT_VARIABLE QT_PLUGINS_DIR )
EXEC_PROGRAM(${QMAKE_EXECUTABLE} ARGS "-query QT_INSTALL_PLUGINS" RETURN_VALUE return_code OUTPUT_VARIABLE DEFAULT_QT_PLUGINS_DIR )
SET (QT_PLUGINS_DIR DEFAULT_QT_PLUGINS_DIR CACHE PATH "Path to installation directory for Qt Plugins. Defaults to Qt native plugin directory")

MESSAGE(STATUS "Found Qt version: ${Qt5Core_VERSION_STRING}")
IF (WITH_QUICK)

0 comments on commit 736e394

Please sign in to comment.
You can’t perform that action at this time.