commit 44b957fb854f300e92e9fbe7f169b02d5d6fce61 parent bfbc33a5d9ea3a33a23a5ce885dac3159a3f1a77 Author: Daniel Vrátil <dvratil@kde.org> Date: Mon, 4 Feb 2019 00:21:45 +0100 Pre-release cleanup Diffstat:
M | harbour-passilic.pro | | | 10 | ++++++++++ |
M | rpm/harbour-passilic.spec | | | 2 | +- |
M | src/main.cpp | | | 6 | +++--- |
3 files changed, 14 insertions(+), 4 deletions(-)
diff --git a/harbour-passilic.pro b/harbour-passilic.pro @@ -2,6 +2,16 @@ TARGET = harbour-passilic CONFIG += sailfishapp +DEFINES += \ + QT_NO_CAST_FROM_ASCII \ + QT_NO_CAST_TO_ASCII \ + QT_STRICT_ITERATORS \ + QT_USE_QSTRINGBUILDER \ + QT_NO_URL_CAST_FROM_STRING \ + QT_NO_CAST_FROM_BYTEARRAY \ + QT_NO_SIGNALS_SLOTS_KEYWORDS + + INCLUDEPATH += 3rdparty/kitemmodels/ SOURCES += \ diff --git a/rpm/harbour-passilic.spec b/rpm/harbour-passilic.spec @@ -54,5 +54,5 @@ desktop-file-install --delete-original \ %{_datadir}/icons/hicolor/*/apps/%{name}.png %changelog -* Sun Feb 02 2019 Daniel Vrátil <dvratil@kde.org> 0.0.1-1 +* Mon Feb 04 2019 Daniel Vrátil <dvratil@kde.org> 0.0.1-1 - Initial release diff --git a/src/main.cpp b/src/main.cpp @@ -20,9 +20,9 @@ #include "passwordsortproxymodel.h" #include "imageprovider.h" -#ifdef QT_QML_DEBUG -#include <QtQuick> -#endif +#include <QQuickView> +#include <QQmlEngine> +#include <QGuiApplication> #include <QScopedPointer> #include <sailfishapp.h>