mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-22 00:06:12 -05:00
QT_PLUGINS_DIR is still required
This commit is contained in:
parent
8eb3e58a6c
commit
44b2518d9b
@ -401,6 +401,11 @@ IF(WITH_CORE)
|
||||
IF (APPLE)
|
||||
FIND_PACKAGE(Qt5MacExtras REQUIRED)
|
||||
ENDIF (APPLE)
|
||||
|
||||
# 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 )
|
||||
|
||||
MESSAGE(STATUS "Found Qt version: ${Qt5Core_VERSION_STRING}")
|
||||
IF (WITH_QUICK)
|
||||
FIND_PACKAGE(Qt5Qml REQUIRED)
|
||||
|
Loading…
x
Reference in New Issue
Block a user