#include #include "ElaApplication.h" #include #include #include "GLCore.h" #ifdef Q_OS_UNIX #include #endif int main(int argc, char *argv[]) { QApplication a(argc, argv); eApp->init(); // 设置云母效果图片 eApp->setMicaImagePath("Resources/Pic/Others/MicaBase.png"); #ifdef Q_OS_UNIX // 设置日志过滤规则,将这个特定分类的警告级别设置为“关闭” QLoggingCategory::setFilterRules("qt.multimedia.ffmpeg.libsymbolsresolver.warning=false"); #endif GLCore w(360, 480); w.show(); return a.exec(); }