Commit dbf01f7c authored by Jasem Mutlaq's avatar Jasem Mutlaq Committed by Andreas Sturmlechner

Better use version check for different QT versions for Qt DBus headers

(cherry picked from commit f51523f8)
parent ff593171
......@@ -24,7 +24,11 @@
#include <kxmlguiwindow.h>
#include <QDockWidget>
#if QT_VERSION >= QT_VERSION_CHECK(5, 9, 0)
#include <QtDBus/qtdbusglobal.h>
#else
#include <QtDBus/qdbusmacros.h>
#endif
#ifdef HAVE_CFITSIO
#include <QPointer>
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment