Fix compilation with Qt 6 (beta1)
This commit is contained in:
parent
04bf32cf6b
commit
79038808ce
|
@ -9,11 +9,15 @@
|
||||||
|
|
||||||
#include <QAbstractItemModel>
|
#include <QAbstractItemModel>
|
||||||
|
|
||||||
|
#if (QT_VERSION >= QT_VERSION_CHECK(6, 0, 0))
|
||||||
|
#include <passwordfile/io/entry.h>
|
||||||
|
#else
|
||||||
namespace Io {
|
namespace Io {
|
||||||
class Entry;
|
class Entry;
|
||||||
class NodeEntry;
|
class NodeEntry;
|
||||||
enum class EntryType;
|
enum class EntryType;
|
||||||
} // namespace Io
|
} // namespace Io
|
||||||
|
#endif
|
||||||
|
|
||||||
namespace QtGui {
|
namespace QtGui {
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue