tests/auto/cmake/test_qt_add_ui_common/uic_test/mainwindow.cpp
raw| 1 | // Copyright (C) 2023 The Qt Company Ltd. |
| 2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only |
| 3 | |
| 4 | #include "../UicBuildFolderLeakageCommon/mainwindow.h" |
| 5 | #include "sub1/sub2/sub3/ui_mainwindow.h" |
| 6 | |
| 7 | MainWindow::MainWindow(QWidget* parent) |
| 8 | : QMainWindow(parent) |
| 9 | , ui(new Ui::MainWindow) |
| 10 | { |
| 11 | ui->setupUi(this); |
| 12 | } |
| 13 | |
| 14 | MainWindow::~MainWindow() |
| 15 | { |
| 16 | delete ui; |
| 17 | } |