Skip to content
Snippets Groups Projects
Commit 56f29462 authored by Richard Gustavsen's avatar Richard Gustavsen
Browse files

Use QApplication because of QFileSystemModel

parent 56d6e6e4
No related branches found
No related tags found
No related merge requests found
......@@ -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("/");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment