From f5726ffa9d21f80232b1206456eaf971468c4b2f Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Sat, 17 Jan 2015 07:02:03 -0800 Subject: Fix build: add missing #includes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit qt-ui/profile/profilewidget2.cpp:1351:10: error: invalid use of incomplete type ‘class QDebug’ qt-ui/printlayout.cpp:141:27: error: variable ‘QPointer 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 Signed-off-by: Dirk Hohndel --- qt-ui/printlayout.cpp | 1 + qt-ui/profile/profilewidget2.cpp | 1 + 2 files changed, 2 insertions(+) (limited to 'qt-ui') 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 #include #include +#include #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 #include #include +#include #ifndef QT_NO_DEBUG #include -- cgit v1.2.3-70-g09d2