diff options
author | Darafei Praliaskouski <komzpa@mapswith.me> | 2013-07-04 16:28:33 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:58:07 +0300 |
commit | a3353dbd542388b14fcb7b37f50d0b9d0ddedffd (patch) | |
tree | 52336db0a76564e4270167d901a9028b9a4fe469 /qt/update_dialog.hpp | |
parent | 2586ee90ef57e36a66b2722a6f5412455b811a66 (diff) |
[qt] allow qt4 builds
Diffstat (limited to 'qt/update_dialog.hpp')
-rw-r--r-- | qt/update_dialog.hpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/qt/update_dialog.hpp b/qt/update_dialog.hpp index 4b4f74e875..1a92d2b49d 100644 --- a/qt/update_dialog.hpp +++ b/qt/update_dialog.hpp @@ -1,7 +1,12 @@ #pragma once #include "../map/framework.hpp" -#include <QtWidgets/QDialog> +#include <Qt> +#if QT_VERSION < QT_VERSION_CHECK(5, 0, 0) + #include <QtGui/QDialog> +#else + #include <QtWidgets/QDialog> +#endif class QTreeWidget; class QTreeWidgetItem; |