命名规范
This commit is contained in:
@@ -5,11 +5,11 @@
|
||||
#endif
|
||||
#include "./BackEnd/MainWidget.h"
|
||||
#include "Application.h"
|
||||
#include "YSGraphic_Core/architecture/export.h"
|
||||
#include "Renderive/architecture/export.h"
|
||||
int main(int argc, char* argv[]) {
|
||||
Application app(argc, argv);
|
||||
Application::setAttribute(Qt::AA_UseHighDpiPixmaps);
|
||||
BackEnd::instance();
|
||||
Back_End::instance();
|
||||
QFile file(":/qss/ElegantDark.qss");
|
||||
file.open(QIODevice::ReadOnly);
|
||||
QString stylesheet = QLatin1String(file.readAll());
|
||||
@@ -21,9 +21,9 @@ int main(int argc, char* argv[]) {
|
||||
system("chcp 65001");
|
||||
//setbuf(stdout, 0);
|
||||
#endif
|
||||
MainWidget w;
|
||||
app.mMainWidget = &w;
|
||||
YSG::start_render_scheduler();
|
||||
Main_Widget w;
|
||||
app.main_widget = &w;
|
||||
renderive::start_render_scheduler();
|
||||
w.show();
|
||||
return QApplication::exec();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user