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:
parent
ff1b3be708
commit
69bf0a8e20
@ -1,4 +1,4 @@
|
||||
QT += gui quick
|
||||
QT += widgets quick
|
||||
|
||||
include(yat/yat_declarative/yat_declarative.pro)
|
||||
|
||||
|
4
main.cpp
4
main.cpp
@ -1,4 +1,4 @@
|
||||
#include <QGuiApplication>
|
||||
#include <QApplication>
|
||||
#include <QQmlApplicationEngine>
|
||||
#include <QQuickWindow>
|
||||
|
||||
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user