mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-08 08:03:51 +02:00
qt6ct: fix cross for 32bit targets
This commit is contained in:
parent
a853bf6f22
commit
16ade6c4f0
1 changed files with 21 additions and 0 deletions
21
srcpkgs/qt6ct/patches/lib32.patch
Normal file
21
srcpkgs/qt6ct/patches/lib32.patch
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
--- a/CMakeLists.txt 2023-03-12 12:57:50.000000000 +0100
|
||||||
|
+++ - 2023-10-31 20:41:33.141463182 +0100
|
||||||
|
@@ -40,17 +40,7 @@
|
||||||
|
message(FATAL_ERROR "Could NOT find lrelease executable")
|
||||||
|
endif()
|
||||||
|
|
||||||
|
-get_filename_component(QT_QTPATHS_EXECUTABLE ${QT_LRELEASE_EXECUTABLE} DIRECTORY)
|
||||||
|
-set(QT_QTPATHS_EXECUTABLE ${QT_QTPATHS_EXECUTABLE}/qtpaths)
|
||||||
|
-
|
||||||
|
-if(EXISTS ${QT_QTPATHS_EXECUTABLE})
|
||||||
|
- message(STATUS "Found qtpaths executable: " ${QT_QTPATHS_EXECUTABLE})
|
||||||
|
-else()
|
||||||
|
- message(FATAL_ERROR "Could NOT find qtpaths executable")
|
||||||
|
-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})
|
||||||
|
message(STATUS "Plugin path: " ${PLUGINDIR})
|
||||||
|
|
||||||
|
message(STATUS "Generating translations ...")
|
Loading…
Add table
Reference in a new issue