2021-09-03 16:56:57 +00:00
|
|
|
/*##############################################################################
|
|
|
|
## Author: Shaun Reed ##
|
2023-03-12 02:02:26 +00:00
|
|
|
## Legal: All Content (c) 2023 Shaun Reed, all rights reserved ##
|
|
|
|
## About: Example Qt desktop application using Qtk ##
|
2021-09-03 16:56:57 +00:00
|
|
|
## ##
|
|
|
|
## Contact: shaunrd0@gmail.com | URL: www.shaunreed.com | GitHub: shaunrd0 ##
|
|
|
|
##############################################################################*/
|
|
|
|
|
|
|
|
#include <QApplication>
|
2023-03-12 02:02:26 +00:00
|
|
|
#include <QMainWindow>
|
2021-09-03 16:56:57 +00:00
|
|
|
|
2023-03-12 02:02:26 +00:00
|
|
|
#include "examplewidget.h"
|
2021-09-03 16:56:57 +00:00
|
|
|
|
2022-11-24 22:26:53 +00:00
|
|
|
int main(int argc, char * argv[]) {
|
2023-03-12 02:02:26 +00:00
|
|
|
QApplication app(argc, argv);
|
2021-09-03 16:56:57 +00:00
|
|
|
|
2023-03-12 02:02:26 +00:00
|
|
|
auto window = new QMainWindow;
|
|
|
|
window->setCentralWidget(new ExampleWidget);
|
|
|
|
window->show();
|
2021-09-03 16:56:57 +00:00
|
|
|
|
2023-03-12 02:02:26 +00:00
|
|
|
app.exec();
|
|
|
|
}
|