diff options
author | Thiago Macieira <thiago@macieira.org> | 2015-01-17 07:02:03 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-01-18 21:26:53 +1200 |
commit | f5726ffa9d21f80232b1206456eaf971468c4b2f (patch) | |
tree | 4c16ef0f7fb31c9435d26103266419e1ec009f59 /qt-ui | |
parent | 76e3a10f08f20c447c0d93df9a1cc48cb9288c55 (diff) | |
download | subsurface-f5726ffa9d21f80232b1206456eaf971468c4b2f.tar.gz |
Fix build: add missing #includes
qt-ui/profile/profilewidget2.cpp:1351:10: error: invalid use of incomplete type ‘class QDebug’
qt-ui/printlayout.cpp:141:27: error: variable ‘QPointer<ProfileWidget2> profile’ has initializer but incomplete type
In commit f9ceff009b35 ("Clean up the header files") things got broken for
an as of now unreliesed future version of Qt.
Signed-off-by: Thiago Macieira <thiago@macieira.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui')
-rw-r--r-- | qt-ui/printlayout.cpp | 1 | ||||
-rw-r--r-- | qt-ui/profile/profilewidget2.cpp | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/qt-ui/printlayout.cpp b/qt-ui/printlayout.cpp index a347e1fdb..6b88f0d29 100644 --- a/qt-ui/printlayout.cpp +++ b/qt-ui/printlayout.cpp @@ -2,6 +2,7 @@ #include <QDesktopWidget> #include <QPicture> #include <QMessageBox> +#include <QPointer> #include "mainwindow.h" #include "printdialog.h" diff --git a/qt-ui/profile/profilewidget2.cpp b/qt-ui/profile/profilewidget2.cpp index a390ae6a5..850f357cf 100644 --- a/qt-ui/profile/profilewidget2.cpp +++ b/qt-ui/profile/profilewidget2.cpp @@ -15,6 +15,7 @@ #include <QtCore/qmath.h> #include <QMessageBox> #include <QInputDialog> +#include <QDebug> #ifndef QT_NO_DEBUG #include <QTableView> |