void-packages/srcpkgs/qt6ct/patches/lib32.patch

12 lines
510 B
Diff

--- a/CMakeLists.txt 2024-04-13 23:50:30.592858658 +0200
+++ b/CMakeLists.txt 2024-04-13 23:50:16.419859312 +0200
@@ -51,7 +51,7 @@
endif()
#execute_process(COMMAND ${QT_QTPATHS_EXECUTABLE} -query QT_INSTALL_PLUGINS OUTPUT_VARIABLE PLUGINDIR OUTPUT_STRIP_TRAILING_WHITESPACE)
-execute_process(COMMAND ${QT_QTPATHS_EXECUTABLE} --plugin-dir OUTPUT_VARIABLE PLUGINDIR OUTPUT_STRIP_TRAILING_WHITESPACE)
+set(PLUGINDIR /usr/${QT6_INSTALL_PLUGINS})
if(PLUGINDIR)
message(STATUS "Plugin path: ${PLUGINDIR}")