MINGW-packages/mingw-w64-flameshot/0003-fix-static-linking-with-widgets.patch
Biswapriyo Nath 7574685524 flameshot: Replace workaround with proper patches
* Remove unknown DISABLE_UPDATE_CHECKER cmake option.
* Remove unused check function.
* Install translation with cmake instead of manually doing so.
* Fix translations install directory in executable.
* Remove unused kguiaddons-qt5 dependency which is used in wayland.
2024-08-15 12:57:23 +05:30

13 lines
344 B
Diff

--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -65,6 +65,9 @@
add_executable(Flameshot::flameshot ALIAS flameshot)
+# Follow external\Qt-Color-Widgets\CMakeLists.txt
+add_definitions(-DQTCOLORWIDGETS_STATICALLY_LINKED)
+
if(FLAMESHOT_ICON)
target_compile_definitions(flameshot PUBLIC FLAMESHOT_ICON="${FLAMESHOT_ICON}")
endif()