qtk/example-app/main.cpp

22 lines
827 B
C++
Raw Normal View History

2021-09-03 16:56:57 +00:00
/*##############################################################################
## Author: Shaun Reed ##
## 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>
#include <QMainWindow>
2021-09-03 16:56:57 +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[]) {
QApplication app(argc, argv);
2021-09-03 16:56:57 +00:00
auto window = new QMainWindow;
window->setCentralWidget(new ExampleWidget);
window->show();
2021-09-03 16:56:57 +00:00
app.exec();
}