|
From: <cn...@us...> - 2023-07-28 03:54:42
|
Revision: 1412
http://sourceforge.net/p/seq/svn/1412
Author: cn187
Date: 2023-07-28 03:54:40 +0000 (Fri, 28 Jul 2023)
Log Message:
-----------
[qt6] Fix qt4 breakage
Modified Paths:
--------------
showeq/branches/cn187_devel/src/interface.cpp
showeq/branches/cn187_devel/src/map.cpp
Modified: showeq/branches/cn187_devel/src/interface.cpp
===================================================================
--- showeq/branches/cn187_devel/src/interface.cpp 2023-07-28 03:46:44 UTC (rev 1411)
+++ showeq/branches/cn187_devel/src/interface.cpp 2023-07-28 03:54:40 UTC (rev 1412)
@@ -92,7 +92,10 @@
#include <QMenu>
#include <QWidgetAction>
#include <QStyleFactory>
+
+#if (QT_VERSION >= QT_VERSION_CHECK(6,0,0))
#include <QWindow>
+#endif
#if (QT_VERSION < QT_VERSION_CHECK(6,0,0))
#include <QDesktopWidget>
Modified: showeq/branches/cn187_devel/src/map.cpp
===================================================================
--- showeq/branches/cn187_devel/src/map.cpp 2023-07-28 03:46:44 UTC (rev 1411)
+++ showeq/branches/cn187_devel/src/map.cpp 2023-07-28 03:54:40 UTC (rev 1412)
@@ -83,7 +83,10 @@
#include <QHBoxLayout>
#include <QTextStream>
#include <QMouseEvent>
+
+#if (QT_VERSION >= QT_VERSION_CHECK(6,0,0))
#include <QWindow>
+#endif
#if (QT_VERSION >= QT_VERSION_CHECK(5,14,0))
#define ENDL Qt::endl
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|