Commit 56f29462 authored by Richard Gustavsen's avatar Richard Gustavsen

Use QApplication because of QFileSystemModel

parent 56d6e6e4
......@@ -26,12 +26,13 @@
****************************************************************************/
#include <QtGui>
#include <QtWidgets/QApplication>
#include <QtQml>
#include <QtQuick>
#include <QFileSystemModel>
int main(int argc, char **argv){
QGuiApplication app(argc, argv);
QApplication app(argc, argv);
QFileSystemModel model;
model.setRootPath("/");
......
......@@ -26,12 +26,13 @@
****************************************************************************/
#include <QtGui>
#include <QtWidgets/QApplication>
#include <QtQml>
#include <QtQuick>
#include <QFileSystemModel>
int main(int argc, char **argv){
QGuiApplication app(argc, argv);
QApplication app(argc, argv);
QFileSystemModel model;
model.setRootPath("/");
......
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