tests/auto/cmake/test_QTBUG-63422/mywidget.cpp
raw| 1 | // Copyright (C) 2017 Klarälvdalens Datakonsult AB, a KDAB Group company, [email protected], author Kevin Funk <[email protected]> |
| 2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only |
| 3 | |
| 4 | #include "mywidget.h" |
| 5 | #include "ui_mywidget.h" |
| 6 | |
| 7 | MyWidget::MyWidget(QWidget *parent) |
| 8 | : QWidget(parent) |
| 9 | { |
| 10 | emit someSignal(); |
| 11 | } |
| 12 | |
| 13 | int main(int argc, char **argv) |
| 14 | { |
| 15 | QApplication app(argc, argv); |
| 16 | MyWidget myWidget; |
| 17 | return 0; |
| 18 | } |