Commit f51523f8 authored by Jasem Mutlaq's avatar Jasem Mutlaq
Browse files

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

parent c5e10538
......@@ -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