Fix path loading

This commit is contained in:
T'JAMPENS QUENTIN p2406187 2025-06-20 18:15:26 +02:00
parent 2b07de57d0
commit 0e5b7e3743

View File

@ -3,17 +3,13 @@
#include <QApplication> #include <QApplication>
#include <step.h> #include <step.h>
#include <QFile> #include <QFile>
#include <web.h>
using namespace std; using namespace std;
int main(int argc, char *argv[]) int main(int argc, char *argv[])
{ {
QApplication a(argc, argv); QApplication a(argc, argv);
MainWindow w; MainWindow w;
QStringList fichiers = {"data/parcours1.json", "data/parcours2.json"};
w.loadAndExportPaths(fichiers);
Web u(w.getPath());
u.siteHtml();
w.show(); w.show();
return a.exec(); return a.exec();