Commit 3c4f7f1e authored by Laurent Belcour's avatar Laurent Belcour

To have the console working on windows, one need to create a QCoreApplication

instead of a QApplication. This will be removed when we will avoid Qt.
parent de43bbdc
......@@ -4,7 +4,7 @@ CONFIG *= static \
DESTDIR = ../build
QMAKE_CXXFLAGS += -std=c++11
QMAKE_CXXFLAGS += -std=c++0x
HEADERS = args.h \
common.h \
......
CONFIG += qt
CONFIG += qt \
console
INCLUDEPATH += ../../
DESTDIR = ../../build
......
CONFIG += qt \
CONFIG += qt \
console
DESTDIR = ../../build
......
......@@ -6,7 +6,7 @@
#include <QPluginLoader>
#include <QtPlugin>
#include <QApplication>
#include <QCoreApplication>
#include <QDir>
#include <QTime>
......@@ -22,7 +22,7 @@ int main(int argc, char** argv)
// QCoreApplication::addLibraryPath() ;
// QCoreApplication::addLibraryPath(QString("/home/belcour/Projects/alta/sources/tests/plugin_loader/")) ;
QApplication app(argc, argv, false);
QCoreApplication app(argc, argv, false);
arguments args(argc, argv) ;
plugins_manager manager(args) ;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment