CMake: use configured paths for deployment defaults
The deployment api was using hardcoded paths for qml and plugin files by default. This led to problems when deploying to embedded linux where those paths were configured differently ('lib/qml' instead of 'qml'). Pick-to: 6.9 6.8 Fixes: QTBUG-136678 Change-Id: I2c3eb10858350062c86cea62fc812f095796527e Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
This commit is contained in:
parent
0cd3be36ba
commit
b2985828a3
@ -3162,13 +3162,13 @@ if(NOT QT_DEPLOY_LIB_DIR)
|
||||
set(QT_DEPLOY_LIB_DIR \"${CMAKE_INSTALL_LIBDIR}\")
|
||||
endif()
|
||||
if(NOT QT_DEPLOY_PLUGINS_DIR)
|
||||
set(QT_DEPLOY_PLUGINS_DIR \"plugins\")
|
||||
set(QT_DEPLOY_PLUGINS_DIR \"${QT6_INSTALL_PLUGINS}\")
|
||||
endif()
|
||||
if(NOT QT_DEPLOY_QML_DIR)
|
||||
set(QT_DEPLOY_QML_DIR \"qml\")
|
||||
set(QT_DEPLOY_QML_DIR \"${QT6_INSTALL_QML}\")
|
||||
endif()
|
||||
if(NOT QT_DEPLOY_TRANSLATIONS_DIR)
|
||||
set(QT_DEPLOY_TRANSLATIONS_DIR \"translations\")
|
||||
set(QT_DEPLOY_TRANSLATIONS_DIR \"${QT6_INSTALL_TRANSLATIONS}\")
|
||||
endif()
|
||||
if(NOT QT_DEPLOY_PREFIX)
|
||||
set(QT_DEPLOY_PREFIX \"\$ENV{DESTDIR}\${CMAKE_INSTALL_PREFIX}\")
|
||||
|
Loading…
x
Reference in New Issue
Block a user