From dc8540973d9d5558303b6f8d57c829ae7a479087 Mon Sep 17 00:00:00 2001 From: Uladzislau Vasilyeu Date: Sat, 2 Sep 2023 20:23:40 +0300 Subject: [PATCH] Tried to fix problem for build for 64 --- meecast/qmlplugin/qmldir | 1 - meecast/qmlplugin/qmlplugin.pro | 6 +++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/meecast/qmlplugin/qmldir b/meecast/qmlplugin/qmldir index 0848894a7..0ec2fcffc 100644 --- a/meecast/qmlplugin/qmldir +++ b/meecast/qmlplugin/qmldir @@ -1,3 +1,2 @@ module org.meecast.data plugin meecastdata - diff --git a/meecast/qmlplugin/qmlplugin.pro b/meecast/qmlplugin/qmlplugin.pro index 49662eaff..fbb5524e8 100644 --- a/meecast/qmlplugin/qmlplugin.pro +++ b/meecast/qmlplugin/qmlplugin.pro @@ -1,5 +1,6 @@ TEMPLATE = lib TARGET = meecastdata +PLUGIN_IMPORT_PATH = org/meecast/data QT += qml quick dbus CONFIG += qt plugin dbus link_pkgconfig PKGCONFIG += contentaction5 @@ -33,9 +34,8 @@ patch.path = /usr/share/patchmanager/patches/sailfishos-lockscreen-meecast-patch qmldir.files = qmldir unix { - installPath = $$[QT_INSTALL_QML]/$$replace(uri, \\., /) - qmldir.path = $$installPath - target.path = $$installPath + qmldir.path = $$[QT_INSTALL_QML]/$$$$PLUGIN_IMPORT_PATH + target.path = $$[QT_INSTALL_QML]/$$PLUGIN_IMPORT_PATH INSTALLS += target qmldir patch }