From 69bf0a8e20de9c09afc6c177c6e657d7ef16b4c0 Mon Sep 17 00:00:00 2001 From: Filippo Scognamiglio Date: Mon, 25 Nov 2013 16:45:44 +0100 Subject: [PATCH] switched to QApplication and QWidget to have native styling in linux --- cool-old-term.pro | 2 +- main.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cool-old-term.pro b/cool-old-term.pro index 6aef271..548c1e5 100644 --- a/cool-old-term.pro +++ b/cool-old-term.pro @@ -1,4 +1,4 @@ -QT += gui quick +QT += widgets quick include(yat/yat_declarative/yat_declarative.pro) diff --git a/main.cpp b/main.cpp index e427fab..7471bc0 100644 --- a/main.cpp +++ b/main.cpp @@ -1,4 +1,4 @@ -#include +#include #include #include @@ -8,7 +8,7 @@ int main(int argc, char *argv[]) { - QGuiApplication app(argc, argv); + QApplication app(argc, argv); app.setApplicationName("cool-old-term"); register_qml_types();