添加OpenCv

This commit is contained in:
2025-09-15 22:28:43 +08:00
parent c0593df9e1
commit 94282fb1d9
423 changed files with 622349 additions and 97439 deletions

View File

@@ -1,5 +1,6 @@
#include "LaunchPage.h"
#include <QApplication>
#include <QLoggingCategory>
#include <QLocale>
#include <QTranslator>
#include <QFile>
@@ -106,6 +107,9 @@ int main(int argc, char *argv[])
#endif
QApplication a(argc, argv); // 创建一个QApplication对象它是所有GUI程序的起点
// 打印 Qt 自带调试信息
//QLoggingCategory::setFilterRules("*.debug=true");
qputenv("QT_RESOURCE_DEBUG", "1"); // 开启资源加载调试
#if CONFIG_EN_LOG
gDefaultHandler = qInstallMessageHandler(myMessageOutput);//注册日志函数,在其它地方调用qInstallMessageHandler设置新的输出函数但保存原来的函数
#endif