Created
March 27, 2023 05:05
-
-
Save 8Observer8/e4d526aa9c247d413e03643613b67353 to your computer and use it in GitHub Desktop.
empty-window-qt6-cpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
QT += core gui widgets | |
SOURCES += main.cpp | |
TARGET = app |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
> qmake -makefile | |
> mingw32-make | |
> "release/app" | |
*/ | |
#include <QtWidgets/QApplication> | |
#include <QtWidgets/QWidget> | |
class MainWindow : public QWidget | |
{ | |
}; | |
int main(int argc, char *argv[]) | |
{ | |
QApplication app(argc, argv); | |
MainWindow w; | |
w.show(); | |
return app.exec(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment