diff options
author | link2xt <link2xt@testrun.org> | 2021-05-22 15:23:16 +0300 |
---|---|---|
committer | link2xt <link2xt@testrun.org> | 2021-05-22 15:23:16 +0300 |
commit | 1860c787e167d1c08e71b15de41ebe7a6b5d0c29 (patch) | |
tree | 047ce375c8ae5b63ea5fdccd979c248054b6e431 /main.cpp | |
parent | 166d17e61da080ee7b83317b1a97ec2046960706 (diff) | |
download | kdeltachat-1860c787e167d1c08e71b15de41ebe7a6b5d0c29.tar.gz kdeltachat-1860c787e167d1c08e71b15de41ebe7a6b5d0c29.zip |
Add HTML view for messages
Diffstat (limited to 'main.cpp')
-rw-r--r-- | main.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -1,6 +1,7 @@ #include <QGuiApplication> #include <QQmlApplicationEngine> #include <QMetaType> +#include <QtWebEngine> #include "accounts.h" #include "message.h" @@ -13,7 +14,9 @@ int main(int argc, char *argv[]) { QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling); + QCoreApplication::setAttribute(Qt::AA_ShareOpenGLContexts); + QtWebEngine::initialize(); QGuiApplication app(argc, argv); app.setApplicationName("KDeltaChat"); |