mirror of
https://notabug.org/Sages-of-Gensokyo/gensokyo_kappa-overlay
synced 2025-01-19 02:11:13 +01:00
52 lines
1.8 KiB
Diff
52 lines
1.8 KiB
Diff
diff --git a/src/gui/CMakeLists.txt b/src/gui/CMakeLists.txt
|
|
index 9c902867..d49b4b04 100644
|
|
--- a/src/gui/CMakeLists.txt
|
|
+++ b/src/gui/CMakeLists.txt
|
|
@@ -22,13 +22,12 @@ add_executable (barrier WIN32
|
|
|
|
include_directories (./src)
|
|
|
|
-qt5_use_modules (barrier Core Widgets Network)
|
|
target_compile_definitions (barrier PRIVATE -DBARRIER_VERSION_STAGE="${BARRIER_VERSION_STAGE}")
|
|
target_compile_definitions (barrier PRIVATE -DBARRIER_REVISION="${BARRIER_REVISION}")
|
|
|
|
if (WIN32)
|
|
include_directories ($ENV{BONJOUR_SDK_HOME}/Include)
|
|
- find_library (DNSSD_LIB dnssd.lib
|
|
+ find_library (DNSSD_LIB dnssd.lib
|
|
HINTS ENV BONJOUR_SDK_HOME
|
|
PATH_SUFFIXES "Lib/x64")
|
|
set_target_properties (barrier PROPERTIES LINK_FLAGS "/NODEFAULTLIB:LIBCMT")
|
|
@@ -46,6 +45,7 @@ if (HAVE_X11)
|
|
endif()
|
|
|
|
target_link_libraries (barrier common)
|
|
+target_link_libraries (barrier Qt5::Core Qt5::Widgets Qt5::Network)
|
|
|
|
if (${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
|
|
install (TARGETS barrier DESTINATION ${BARRIER_BUNDLE_BINARY_DIR})
|
|
diff --git a/src/gui/src/ActionDialog.cpp b/src/gui/src/ActionDialog.cpp
|
|
index e824ea3c..3565cfbc 100644
|
|
--- a/src/gui/src/ActionDialog.cpp
|
|
+++ b/src/gui/src/ActionDialog.cpp
|
|
@@ -25,6 +25,7 @@
|
|
|
|
#include <QtCore>
|
|
#include <QtGui>
|
|
+#include <QButtonGroup>
|
|
|
|
ActionDialog::ActionDialog(QWidget* parent, ServerConfig& config, Hotkey& hotkey, Action& action) :
|
|
QDialog(parent, Qt::WindowTitleHint | Qt::WindowSystemMenuHint),
|
|
diff --git a/src/gui/src/ScreenSetupView.cpp b/src/gui/src/ScreenSetupView.cpp
|
|
index e42ae17e..46e70990 100644
|
|
--- a/src/gui/src/ScreenSetupView.cpp
|
|
+++ b/src/gui/src/ScreenSetupView.cpp
|
|
@@ -22,6 +22,7 @@
|
|
|
|
#include <QtCore>
|
|
#include <QtGui>
|
|
+#include <QHeaderView>
|
|
|
|
ScreenSetupView::ScreenSetupView(QWidget* parent) :
|
|
QTableView(parent)
|