- Update to 1.9.1 * Fixed issue with screen resolution detection during sleep on macOS * Updated OpenSSL to v1.0.2o - Update to 1.9.0 * Ported UI to Qt 5 * Moved GUI build script to CMake * Build with MSVC 2015 * Removal of deprecated 'hm.sh' script and toolchains - Add Provides and Obsoletes synergy-core (new upstream name) - Remove patch 0001-OpenSSL-1.1.0-build-fix.patch as now upstream - Add patch qt5_fixes.patch to fix building under QT5.11 - Refresh patch synergy-1.5.0-pthread.patch - Refresh patch synergy-1.5.0-disable-version-check.patch OBS-URL: https://build.opensuse.org/request/show/616349 OBS-URL: https://build.opensuse.org/package/show/X11:Utilities/synergy?expand=0&rev=76
38 lines
1.1 KiB
Diff
38 lines
1.1 KiB
Diff
diff --git a/src/gui/CMakeLists.txt b/src/gui/CMakeLists.txt
|
|
index 54cafabc..67f63113 100644
|
|
--- a/src/gui/CMakeLists.txt
|
|
+++ b/src/gui/CMakeLists.txt
|
|
@@ -39,7 +39,7 @@ elseif (${CMAKE_SYSTEM_NAME} MATCHES "Linux")
|
|
target_link_libraries (synergy dns_sd)
|
|
endif()
|
|
|
|
-qt5_use_modules (synergy Core Widgets Network)
|
|
+target_link_libraries(synergy Qt5::Core Qt5::Widgets Qt5::Network)
|
|
target_compile_definitions (synergy PRIVATE -DSYNERGY_VERSION_STAGE="${SYNERGY_VERSION_STAGE}")
|
|
target_compile_definitions (synergy PRIVATE -DSYNERGY_REVISION="${SYNERGY_REVISION}")
|
|
|
|
diff --git a/src/gui/src/ActionDialog.h b/src/gui/src/ActionDialog.h
|
|
index 34e4e856..264c1bf4 100644
|
|
--- a/src/gui/src/ActionDialog.h
|
|
+++ b/src/gui/src/ActionDialog.h
|
|
@@ -21,6 +21,7 @@
|
|
#define ACTIONDIALOG_H
|
|
|
|
#include <QDialog>
|
|
+#include <QButtonGroup>
|
|
|
|
#include "ui_ActionDialogBase.h"
|
|
|
|
diff --git a/src/gui/src/ScreenSetupView.h b/src/gui/src/ScreenSetupView.h
|
|
index 38eae2a4..f415f5c6 100644
|
|
--- a/src/gui/src/ScreenSetupView.h
|
|
+++ b/src/gui/src/ScreenSetupView.h
|
|
@@ -22,6 +22,7 @@
|
|
|
|
#include <QTableView>
|
|
#include <QFlags>
|
|
+#include <QHeaderView>
|
|
|
|
#include "Screen.h"
|
|
|