add windows warning

This commit is contained in:
b1ek 2023-04-16 10:35:13 +10:00
parent ffcc5a5e5c
commit 2d3be7c9e9
Signed by: blek
GPG Key ID: 14546221E3595D0C
1 changed files with 10 additions and 1 deletions

View File

@ -7,15 +7,24 @@
#endif #endif
#endif #endif
#ifdef _WIN32
#pragma message ( "Windows build is not supported, and should be quite unstable." )
#endif
#include <QApplication> #include <QApplication>
#include "./src/config/config.h" #include <iostream>
#include "src/config/config.h"
#include "src/sysutil.h"
#include "src/mainwindow.h" #include "src/mainwindow.h"
int main(int argc, char *argv[]) int main(int argc, char *argv[])
{ {
Config config; Config config;
std::cout << config.loadDefaultConfig() << '\n';
return 0;
QApplication a(argc, argv); QApplication a(argc, argv);
MainWindow w; MainWindow w;