qimgv/qimgv-0.6-qt511.patch
Luigi Baldoni fa24e39852 Accepting request 616125 from home:alois:branches:graphics
- Update to version 0.6.3
  * You can now mirror images by pressing H / V keys.
  version 0.6.2
  * WebM/MP4 playback issues #49
  version 0.6.1
  * Initial HiDPI support. May be buggy.
  * Add scroll animation.
  * Add a checkbox for .mp4 playback.
  * Rewrite crop overlay logic.
  * Workaround for https://bugreports.qt.io/browse/QTBUG-66387
- Dropped qimgv-0.6-qt56.patch and
  qimgv-0.6-no_return_in_nonvoid.patch (merged upstream)
- Added qimgv-0.6-qt511.patch to fix build with Qt 5.11

OBS-URL: https://build.opensuse.org/request/show/616125
OBS-URL: https://build.opensuse.org/package/show/graphics/qimgv?expand=0&rev=3
2018-06-11 18:37:23 +00:00

23 lines
742 B
Diff

From bd5cdb210c1d5885b26cde89106fd14fd8ee5a1e Mon Sep 17 00:00:00 2001
From: easymodo <easymodofrf@gmail.com>
Date: Sun, 27 May 2018 19:57:26 +0300
Subject: [PATCH] [CMake] remove deprecated macro
---
CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index ead5858..1c298c0 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -40,7 +40,7 @@ add_executable(qimgv ${SRC} ${RES})
target_link_libraries(qimgv actionmanager cache directorymanager loader scaler thumbnailer gui utils sourcecontainers)
-qt5_use_modules (qimgv Core Widgets Concurrent)
+target_link_libraries(qimgv Qt5::Core Qt5::Widgets Qt5::Concurrent)
# binary
install(PROGRAMS ${CMAKE_BINARY_DIR}/qimgv