Krita is a free and open source cross-platform application that offers an end-to-end solution for creating digital art files from scratch built on the KDE and Qt frameworks.
C++
Remove a sanity check for QML install dir on Linux
Dmitry Kazakovc392bcbfef37
diff --git a/packaging/linux/appimage/build-image.sh b/packaging/linux/appimage/build-image.shindex 366101d62a..9c1e1a9d7c 100755--- a/packaging/linux/appimage/build-image.sh+++ b/packaging/linux/appimage/build-image.sh@@ -241,26 +241,6 @@ if [[ -d "$APPDIR/usr/lib/$TRIPLET" ]] ; thenrm -rf $APPDIR/usr/lib/$TRIPLET/fi-# A safeguard for the case when KDE_INSTALL_USE_QT_SYS_PATHS is not properly-# activated and the QML modules are installed into a default KDE's location instead-# of the one returned by qtpath. If you see this error you should either recreate-# your build tree, or pass -DKDE_INSTALL_USE_QT_SYS_PATHS=ON to the build or check-# if you have non-standard qt.conf in your installation root.--if [ -d $APPDIR/usr/lib/qml ] ; then- echo "ERROR: some of Krita's QML modules were installed in an incorrect location"- echo " actual path: ${APPDIR}/lib/qml"- echo " expected path: ${APPDIR}/qml"- exit 103-fi--if [ -d $DEPS_INSTALL_PREFIX/usr/lib/qml ] ; then- echo "ERROR: some of Deps' QML modules were installed in an incorrect location"- echo " actual path: ${DEPS_INSTALL_PREFIX}/lib/qml"- echo " expected path: ${DEPS_INSTALL_PREFIX}/qml"- exit 103-fi-# Step 3: Update the rpath in the various plugins we have to make sure they'll be loadable in an Appimage contextfor lib in $PLUGINS/*.so*; dopatchelf --set-rpath '$ORIGIN/..' $lib;