#include "view/MainWindow.h" #include #include #include #include #include #include int main(int argc, char* argv[]) { QApplication a(argc, argv); MainWindow w; QString jsonString = R"( [{"id":"stderr","level":1,"location":{"file":"../../../host-projects/sono/logic/src/viewModel/factory/ApplicationStarter.cpp","func":"init","lineno":69},"msg":["FUCK\n"],"scope":"global","threadId":124330260010752,"timestamp":1716911725703}] )"; QJsonDocument jsonDoc = QJsonDocument::fromJson(jsonString.toUtf8()); QJsonArray jsonArray = jsonDoc.array(); w.show(); return a.exec(); }