forked from qt-creator/qt-creator
QmlDesigner: add 3d assetimporter plugins
macdeployqt was not enough because this is a runtime dependency Change-Id: Idde6db46a4761288aec364cc83969a533e69816b Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -56,6 +56,19 @@ if [ ! -d "$designerDestDir" ]; then
|
|||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# collect 3d assetimporter plugins
|
||||||
|
assetimporterDestDir="$app_path/Contents/PlugIns/assetimporters"
|
||||||
|
assetimporterSrcDir="$plugin_src/assetimporters"
|
||||||
|
if [ -d "$assetimporterSrcDir" ]; then
|
||||||
|
if [ ! -d "$assetimporterDestDir" ]; then
|
||||||
|
echo "- Copying 3d assetimporter plugins"
|
||||||
|
mkdir -p "$assetimporterDestDir"
|
||||||
|
for plugin in "$assetimporterSrcDir"/*.dylib; do
|
||||||
|
cp "$plugin" "$assetimporterDestDir"/ || exit 1
|
||||||
|
done
|
||||||
|
fi
|
||||||
|
if
|
||||||
|
|
||||||
# copy Qt Quick 1 imports
|
# copy Qt Quick 1 imports
|
||||||
importsDir="$app_path/Contents/Imports/qtquick1"
|
importsDir="$app_path/Contents/Imports/qtquick1"
|
||||||
if [ -d "$quick1_src" ]; then
|
if [ -d "$quick1_src" ]; then
|
||||||
|
Reference in New Issue
Block a user