add windows warning
This commit is contained in:
parent
ffcc5a5e5c
commit
2d3be7c9e9
11
main.cpp
11
main.cpp
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue