nixpkgs/pkgs/servers/misc/qremotecontrol-server/0001-fix-qt5-build-include-QDataStream.patch
Francesco Gazzetta a102efba92 qremotecontrol-server: 2.4.2 -> unstable-2014-11-05, use Qt5
Qt4 is going to be removed: #174634
2022-07-24 09:29:10 +02:00

26 lines
676 B
Diff

From 922d3dd36ac72b29ea21c4c728a922b43b19400e Mon Sep 17 00:00:00 2001
From: Francesco Gazzetta <fgaz@fgaz.me>
Date: Tue, 14 Jun 2022 17:55:43 +0200
Subject: [PATCH] Another Qt5 fix
---
qtsingleapplication/qtlocalpeer.cpp | 3 +++
1 file changed, 3 insertions(+)
diff --git a/qtsingleapplication/qtlocalpeer.cpp b/qtsingleapplication/qtlocalpeer.cpp
index 4a84036..e6ccc72 100644
--- a/qtsingleapplication/qtlocalpeer.cpp
+++ b/qtsingleapplication/qtlocalpeer.cpp
@@ -41,6 +41,9 @@
#include "qtlocalpeer.h"
#include <QCoreApplication>
+#if (QT_VERSION >= QT_VERSION_CHECK(5, 0, 0))
+#include <QDataStream>
+#endif
#include <QTime>
#if defined(Q_OS_WIN)
--
2.36.0