1
0
mirror of https://github.com/Swordfish90/cool-retro-term.git synced 2025-01-18 12:15:27 +00:00

switched to QApplication and QWidget to have native styling in linux

This commit is contained in:
Filippo Scognamiglio 2013-11-25 16:45:44 +01:00
parent ff1b3be708
commit 69bf0a8e20
2 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
QT += gui quick QT += widgets quick
include(yat/yat_declarative/yat_declarative.pro) include(yat/yat_declarative/yat_declarative.pro)

View File

@ -1,4 +1,4 @@
#include <QGuiApplication> #include <QApplication>
#include <QQmlApplicationEngine> #include <QQmlApplicationEngine>
#include <QQuickWindow> #include <QQuickWindow>
@ -8,7 +8,7 @@
int main(int argc, char *argv[]) int main(int argc, char *argv[])
{ {
QGuiApplication app(argc, argv); QApplication app(argc, argv);
app.setApplicationName("cool-old-term"); app.setApplicationName("cool-old-term");
register_qml_types(); register_qml_types();