mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 03:43:06 +00:00
a102efba92
Qt4 is going to be removed: #174634
27 lines
676 B
Diff
27 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
|
|
|