forked from qt-creator/qt-creator
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>
This commit is contained in:
@@ -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();
|
||||
});
|
||||
|
Reference in New Issue
Block a user