diff options
author | Joerg Bornemann <joerg.bornemann@qt.io> | 2021-11-16 16:05:51 +0100 |
---|---|---|
committer | Joerg Bornemann <joerg.bornemann@qt.io> | 2021-11-26 18:10:41 +0100 |
commit | b6c369549425a660a51a3dc06c19f55f9a72076f (patch) | |
tree | 2406610ac553f114403f2384c8f95bc06e221b59 /src/macdeployqt/shared/shared.cpp | |
parent | cc67e55efe705d4cdb7cf5f5f78c1ea71f52d613 (diff) | |
download | qttools-b6c369549425a660a51a3dc06c19f55f9a72076f.tar.gz |
macdeployqt: Write Paths/QmlImports to qt.conf
...instead of the deprecated Paths/Qml2Imports key.
Task-number: QTBUG-98335
Change-Id: I43f73ba6e6fc15d7bce3839faea3b0fc31d8e065
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Reviewed-by: Craig Scott <craig.scott@qt.io>
Diffstat (limited to 'src/macdeployqt/shared/shared.cpp')
-rw-r--r-- | src/macdeployqt/shared/shared.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/macdeployqt/shared/shared.cpp b/src/macdeployqt/shared/shared.cpp index 70b04bf98..16608f72e 100644 --- a/src/macdeployqt/shared/shared.cpp +++ b/src/macdeployqt/shared/shared.cpp @@ -1204,7 +1204,7 @@ void createQtConf(const QString &appBundlePath) // Set Plugins and imports paths. These are relative to App.app/Contents. QByteArray contents = "[Paths]\n" "Plugins = PlugIns\n" - "Qml2Imports = Resources/qml\n"; + "QmlImports = Resources/qml\n"; QString filePath = appBundlePath + "/Contents/Resources/"; QString fileName = filePath + "qt.conf"; |