Commit 48e77e3d authored by Nicolas Fella's avatar Nicolas Fella
Browse files

Port away from KDeclarative

It doesn't do anything useful
parent f952fbd4
Pipeline #257486 passed with stage
in 3 minutes and 46 seconds
......@@ -10,7 +10,6 @@ Dependencies:
'frameworks/kxmlgui': '@stable'
'frameworks/kcrash': '@stable'
'frameworks/kio': '@stable'
'frameworks/kdeclarative': '@stable'
Options:
require-passing-tests-on: [ 'Linux', 'FreeBSD', 'Windows' ]
......@@ -44,7 +44,6 @@ find_package(KF5 ${KF5_MIN_VERSION} REQUIRED
XmlGui # For app
KIO # For part
I18n
Declarative
)
find_package(KF5DocTools) # Optional, not needed on Windows for example.
......
......@@ -69,7 +69,6 @@ target_link_libraries(filelight
KF5::I18n
KF5::XmlGui
KF5::KIOWidgets # Only used for KDirLister, may be able to move away from that.
KF5::Declarative
Qt${QT_MAJOR_VERSION}::Svg
Qt${QT_MAJOR_VERSION}::Quick
Qt${QT_MAJOR_VERSION}::QuickControls2
......
......@@ -10,7 +10,6 @@
#include <KAboutData>
#include <KActionCollection>
#include <KDeclarative/KDeclarative>
#include <KIO/Global> // upUrl
#include <KLocalizedString>
#include <KMessageBox> //::start()
......@@ -58,7 +57,6 @@ MainContext::MainContext(QObject *parent)
static auto l10nContext = new KLocalizedContext(engine);
l10nContext->setTranslationDomain(QStringLiteral(TRANSLATION_DOMAIN));
engine->rootContext()->setContextObject(l10nContext);
KDeclarative::KDeclarative::setupEngine(engine);
auto about = new About(this);
qRegisterMetaType<size_t>("size_t");
......
Supports Markdown
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