mirror of
https://github.com/Linloir/GraphBuilder.git
synced 2025-12-16 19:58:12 +08:00
Add support for QT version 6.4.0
This commit is contained in:
parent
6309cce382
commit
06fb056c09
@ -15,6 +15,13 @@
|
||||
#include <QResizeEvent>
|
||||
#include <QFocusEvent>
|
||||
|
||||
#if (QT_VERSION > QT_VERSION_CHECK(6,3,0))
|
||||
#include <QGraphicsOpacityEffect>
|
||||
#include <QLabel>
|
||||
#include <QVBoxLayout>
|
||||
#endif
|
||||
|
||||
|
||||
class customIcon : public QPushButton{
|
||||
Q_OBJECT
|
||||
|
||||
|
||||
@ -5,6 +5,11 @@
|
||||
#include <QRegion>
|
||||
#include <QTimer>
|
||||
|
||||
#if (QT_VERSION > QT_VERSION_CHECK(6,3,0))
|
||||
#include <QFileDialog>
|
||||
#endif
|
||||
|
||||
|
||||
MainWindow::MainWindow(QWidget *parent)
|
||||
: QMainWindow(parent)
|
||||
, ui(new Ui::MainWindow)
|
||||
|
||||
@ -7,6 +7,11 @@
|
||||
#include "graph_view.h"
|
||||
#include "graph_implement.h"
|
||||
|
||||
#if (QT_VERSION > QT_VERSION_CHECK(6,3,0))
|
||||
#include <QFileDialog>
|
||||
#endif
|
||||
|
||||
|
||||
class MyCanvas : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user