diff options
| author | carols <[email protected]> | 2020-04-07 06:14:45 +0800 |
|---|---|---|
| committer | carols <[email protected]> | 2020-04-07 06:44:33 +0800 |
| commit | f4ecb2c0dfb21b0566e15efdae5b4f4069a274c9 (patch) | |
| tree | da38bcd864b338279d2d30e13dfb6c6f199b4fb5 /tests/projects/qt/with_private/src/mainwindow.cpp | |
| parent | a88d4dc9322430377ce6ff8b0e2e0ff3fa1eda92 (diff) | |
fix with_private name
Diffstat (limited to 'tests/projects/qt/with_private/src/mainwindow.cpp')
| -rw-r--r-- | tests/projects/qt/with_private/src/mainwindow.cpp | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/projects/qt/with_private/src/mainwindow.cpp b/tests/projects/qt/with_private/src/mainwindow.cpp new file mode 100644 index 000000000..4d9a6bcae --- /dev/null +++ b/tests/projects/qt/with_private/src/mainwindow.cpp @@ -0,0 +1,16 @@ +#include "mainwindow.h" +#include "ui_mainwindow.h" +#include <private/qquicktext_p.h> +MainWindow::MainWindow(QWidget *parent) : + QMainWindow(parent), + ui(new Ui::MainWindow) +{ + ui->setupUi(this); + QQuickText *text = new QQuickText(); + delete text; +} + +MainWindow::~MainWindow() +{ + delete ui; +} |
