From 77b6cbe76d791130e9cd98c5c0ead6de500894fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Wed, 29 Aug 2018 21:02:27 +0200 Subject: [PATCH] Add missing Qt includes shaderDialog.h:55:21: error: 'QSlider' was not declared in this scope shaderDialog.h:56:15: error: 'QLineEdit' was not declared in this scope paintbox.cpp:35:30: error: invalid use of incomplete type 'class QAction' ... --- src/meshlabplugins/edit_paint/paintbox.cpp | 1 + src/meshlabplugins/render_gdp/shaderDialog.h | 2 ++ 2 files changed, 3 insertions(+) diff --git a/src/meshlabplugins/edit_paint/paintbox.cpp b/src/meshlabplugins/edit_paint/paintbox.cpp index 2097a5ba67..6bcd1a4166 100644 --- a/src/meshlabplugins/edit_paint/paintbox.cpp +++ b/src/meshlabplugins/edit_paint/paintbox.cpp @@ -23,6 +23,7 @@ #include "paintbox.h" #include +#include Paintbox::Paintbox(QWidget * parent, Qt::WindowFlags flags) : QWidget(parent, flags) { diff --git a/src/meshlabplugins/render_gdp/shaderDialog.h b/src/meshlabplugins/render_gdp/shaderDialog.h index a62d3b5177..ac2f9be689 100644 --- a/src/meshlabplugins/render_gdp/shaderDialog.h +++ b/src/meshlabplugins/render_gdp/shaderDialog.h @@ -32,6 +32,8 @@ #include "shaderStructs.h" #include "ui_shaderDialog.h" #include +#include +#include class QGLWidget;