diff --git a/customWidgets.h b/customWidgets.h index 5047185..4ac57c2 100644 --- a/customWidgets.h +++ b/customWidgets.h @@ -15,6 +15,13 @@ #include #include +#if (QT_VERSION > QT_VERSION_CHECK(6,3,0)) +#include +#include +#include +#endif + + class customIcon : public QPushButton{ Q_OBJECT diff --git a/mainwindow.cpp b/mainwindow.cpp index e1bdf26..4d2d055 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -5,6 +5,11 @@ #include #include +#if (QT_VERSION > QT_VERSION_CHECK(6,3,0)) +#include +#endif + + MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent) , ui(new Ui::MainWindow) diff --git a/mycanvas.h b/mycanvas.h index 8377378..213a99e 100644 --- a/mycanvas.h +++ b/mycanvas.h @@ -7,6 +7,11 @@ #include "graph_view.h" #include "graph_implement.h" +#if (QT_VERSION > QT_VERSION_CHECK(6,3,0)) +#include +#endif + + class MyCanvas : public QWidget { Q_OBJECT