#include "SmokeBoxIdentification.h" #include #include "log.h" int main(int argc, char *argv[]) { QApplication a(argc, argv); QString folderPath = ".\\log\\"; if (!QDir(folderPath).exists()) { QDir().mkpath(folderPath); } LogInfo::recordLog(folderPath); SmokeBoxIdentification w; w.show(); return a.exec(); }