Commit 8f142d37 authored by Camilo Higuita's avatar Camilo Higuita

res-sructure project tree

parent f1e74801
breeze-icons @ c0c4e4f4
Subproject commit c0c4e4f46ae1dc332277c71a4024dd0eb592c51a
kirigami @ 0c578797
Subproject commit 0c578797c7274c74cfd19d170cab09d90e71370e
QT += qml quick quickcontrols2
#android:
#{
# include(3rdparty/kirigami/kirigami.pri)
#}
CONFIG += c++11
# The following define makes your compiler emit warnings if you use
# any feature of Qt which as been marked deprecated (the exact warnings
# depend on your compiler). Please consult the documentation of the
# deprecated API in order to know how to port your code away from it.
DEFINES += QT_DEPRECATED_WARNINGS
# You can also make your code fail to compile if you use deprecated APIs.
# In order to do so, uncomment the following line.
# You can also select to disable deprecated APIs only up to a certain version of Qt.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
SOURCES += main.cpp
# Additional import path used to resolve QML modules in Qt Creator's code model
QML_IMPORT_PATH =
# Additional import path used to resolve QML modules just for Qt Quick Designer
QML_DESIGNER_IMPORT_PATH =
# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target
SUBDIRS += \
src/Pixs.pro
RESOURCES += \
src/qml.qrc
DISTFILES += \
src/qtquickcontrols2.conf \
This diff is collapsed.
#include <QGuiApplication>
#include <QQmlApplicationEngine>
#include <QFontDatabase>
//#ifdef Q_OS_ANDROID
//#include "./3rdparty/kirigami/src/kirigamiplugin.h"
//#endif
int main(int argc, char *argv[])
{
......@@ -10,6 +13,10 @@ int main(int argc, char *argv[])
QFontDatabase::addApplicationFont(":/utils/materialdesignicons-webfont.ttf");
// #ifdef Q_OS_ANDROID
// KirigamiPlugin::getInstance().registerTypes();
// #endif
QQmlApplicationEngine engine;
engine.load(QUrl(QStringLiteral("qrc:/main.qml")));
if (engine.rootObjects().isEmpty())
......
import QtQuick 2.9
import QtQuick.Controls 2.2
//import org.kde.kirigami 2.0 as Kirigami
import "widgets"
......@@ -65,7 +66,6 @@ ApplicationWindow
}
}
Component
......
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