Open probonopd opened 4 years ago
I can compile it with this patch
diff --git a/platformthemeplugin/CMakeLists.txt b/platformthemeplugin/CMakeLists.txt
index 1bc8b1a..6cdc770 100644
--- a/platformthemeplugin/CMakeLists.txt
+++ b/platformthemeplugin/CMakeLists.txt
@@ -13,7 +13,6 @@ find_package(Qt5Gui CONFIG REQUIRED Private)
find_package(Qt5XdgIconLoader REQUIRED)
find_package(dbusmenu-qt5 REQUIRED)
find_package(KF5WindowSystem REQUIRED)
-find_package(libpanda-files REQUIRED)
# dependencies for QPA plugin
find_package(Qt5ThemeSupport REQUIRED)
@@ -50,17 +49,6 @@ qt5_add_dbus_adaptor(SRCS
StatusNotifierItem
)
-get_target_property(LIB_FM_QT_CONFIGURATIONS libpanda-files IMPORTED_CONFIGURATIONS)
-if (LIB_FM_QT_CONFIGURATIONS)
- # Extract the .soname from the first configuration found.
- # We don't use configuration mapping. Any config serves the purpose
- list(GET LIB_FM_QT_CONFIGURATIONS 0 LIB_FM_QT_FIRST_CONFIGURATION)
- get_target_property(LIB_FM_QT_SONAME libpanda-files IMPORTED_SONAME_${LIB_FM_QT_FIRST_CONFIGURATION})
-else()
- message(ERROR "libpanda-files, but no configuration found. Check your libpanda-files installation.")
-endif()
-mark_as_advanced(LIB_FM_QT_SONAME)
-
add_library(panda-qtplugin MODULE ${SRCS})
target_compile_definitions(panda-qtplugin
Not sure whether this breaks critical functionality. But at least I can compile.
When I run an application with QT_QPA_PLATFORMTHEME=panda vlc
, then the menu does show up. Good! :+1:
Removing panda-files dependencies did not destroy key functions, It provides a unified open file dialog box for all qt applications here :+1:
Cannot compile:
Please advise. Thank you.