diff options
| author | Rusty Wagner <rusty.wagner@gmail.com> | 2021-02-19 19:25:53 -0500 |
|---|---|---|
| committer | Rusty Wagner <rusty.wagner@gmail.com> | 2021-03-16 20:40:13 -0400 |
| commit | e43222c3e8da9f42d0d95207fa94335165a27d9d (patch) | |
| tree | e8f64b54dafd7c75f48c95bd7c7e62fed0c904a2 /examples/triage/files.h | |
| parent | a327eb06173d0aa814460842e5280a6bf1edddf1 (diff) | |
Compatibility with Qt 6
Diffstat (limited to 'examples/triage/files.h')
| -rw-r--r-- | examples/triage/files.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/triage/files.h b/examples/triage/files.h index 6919c614..9874691c 100644 --- a/examples/triage/files.h +++ b/examples/triage/files.h @@ -2,7 +2,11 @@ #include <QtWidgets/QWidget> #include <QtWidgets/QTreeView> +#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0) #include <QtWidgets/QFileSystemModel> +#else +#include <QtGui/QFileSystemModel> +#endif #include "action.h" #include "menus.h" |
