qtk/src/app/main.cpp

23 lines
816 B
C++
Raw Normal View History

2021-09-03 16:56:57 +00:00
/*##############################################################################
## Author: Shaun Reed ##
2023-01-02 03:26:58 +00:00
## Legal: All Content (c) 2023 Shaun Reed, all rights reserved ##
2022-03-07 13:20:32 +00:00
## About: Main program for practice using Qt6 widgets and OpenGL ##
2021-09-03 16:56:57 +00:00
## ##
## Contact: shaunrd0@gmail.com | URL: www.shaunreed.com | GitHub: shaunrd0 ##
##############################################################################*/
#include <QApplication>
#include "qtkmainwindow.h"
2021-09-03 16:56:57 +00:00
2022-11-24 22:26:53 +00:00
int main(int argc, char * argv[]) {
2023-01-14 21:33:06 +00:00
Q_INIT_RESOURCE(resources);
2021-09-03 16:56:57 +00:00
QApplication a(argc, argv);
auto window = MainWindow::getMainWindow();
window->show();
2021-09-03 16:56:57 +00:00
2022-11-24 22:26:53 +00:00
return QApplication::exec();
2021-09-03 16:56:57 +00:00
}