qt: drop Qt Network and Qt OpenSSL deps, use epee library instead

This commit is contained in:
xiphon
2020-03-08 15:30:34 +00:00
parent cee56a7d23
commit 55b548f31c
5 changed files with 97 additions and 89 deletions

View File

@@ -30,7 +30,6 @@
#include <QQmlApplicationEngine>
#include <QtQml>
#include <QStandardPaths>
#include <QNetworkAccessManager>
#include <QIcon>
#include <QDebug>
#include <QDesktopServices>
@@ -437,8 +436,7 @@ int main(int argc, char *argv[])
#endif
engine.rootContext()->setContextProperty("builtWithScanner", builtWithScanner);
QNetworkAccessManager *manager = new QNetworkAccessManager();
Prices prices(manager);
Prices prices;
engine.rootContext()->setContextProperty("Prices", &prices);
// Load main window (context properties needs to be defined obove this line)