first commit

This commit is contained in:
2025-12-18 09:26:50 +08:00
parent 02c1e325b9
commit b32406225f
70 changed files with 35435 additions and 0 deletions

19
qopengltest/main.cpp Normal file
View File

@@ -0,0 +1,19 @@
#include <QtWidgets/QApplication>
#include <QtGui/qsurfaceformat.h>
#include <iostream>
int main(int argc, char** argv) {
QApplication app(argc, argv);
QSurfaceFormat fmt;
fmt.setVersion(3, 3);
fmt.setProfile(QSurfaceFormat::CoreProfile);
fmt.setDepthBufferSize(24);
fmt.setStencilBufferSize(8);
fmt.setSamples(4);
fmt.setSwapInterval(1);
QSurfaceFormat::setDefaultFormat(fmt);
std::cout << "Hello, from qopengltest!\n";
return app.exec();
}