diff options
author | Tim Jenßen <tim.jenssen@qt.io> | 2023-05-11 10:27:31 +0200 |
---|---|---|
committer | Tim Jenssen <tim.jenssen@qt.io> | 2023-05-11 09:23:56 +0000 |
commit | f3fcce9f4fbba439aae3a0fa85a6261456367e7d (patch) | |
tree | ec7a8e73b96ad68df7dfc7f163a597ef8c184618 | |
parent | 12d9a31f17a30f47d49757cea5504c7fdbeb8626 (diff) | |
download | qt-creator-f3fcce9f4fbba439aae3a0fa85a6261456367e7d.tar.gz |
qds: workaround that appbundle finds the images
Task-number: QDS-9856
Change-Id: I4efe17b7a5daca12f29ac2d63bde3b5c8c3a142b
Reviewed-by: Burak Hancerli <burak.hancerli@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
-rw-r--r-- | src/plugins/qmldesigner/components/componentcore/modelnodeoperations.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/plugins/qmldesigner/components/componentcore/modelnodeoperations.cpp b/src/plugins/qmldesigner/components/componentcore/modelnodeoperations.cpp index 918b06c637..3dbe386ce1 100644 --- a/src/plugins/qmldesigner/components/componentcore/modelnodeoperations.cpp +++ b/src/plugins/qmldesigner/components/componentcore/modelnodeoperations.cpp @@ -1673,6 +1673,11 @@ void openEffectMaker(const QString &filePath) Utils::QtcProcess *qqemProcess = new Utils::QtcProcess(); qqemProcess->setEnvironment(env); qqemProcess->setCommand({ effectMakerPath, arguments }); + + // workaround that effect maker can find the images QTBUG-113531 + if (env.osType() == Utils::OsTypeMac) + qqemProcess->setWorkingDirectory(baseQtVersion->qmlPath().pathAppended("QtQuickEffectMaker")); + QObject::connect(qqemProcess, &Utils::QtcProcess::done, [qqemProcess]() { qqemProcess->deleteLater(); }); |