12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364 |
- diff -rupN parley-17.12.1.old/CMakeLists.txt parley-17.12.1/CMakeLists.txt
- --- parley-17.12.1.old/CMakeLists.txt 2018-01-17 18:16:34.530616323 +0100
- +++ parley-17.12.1/CMakeLists.txt 2018-01-17 18:28:26.597544722 +0100
- @@ -21,7 +21,7 @@ find_package(Qt5 ${REQUIRED_QT_VERSION}
- Svg
- Concurrent
- Multimedia
- - WebEngineWidgets
- + WebKitWidgets
- )
-
- find_package(KF5 5.22 MODULE REQUIRED COMPONENTS
- @@ -104,7 +104,7 @@ set( parley_LINK_LIBS
- KF5::Notifications
- KF5::Crash
- KF5::CoreAddons
- - Qt5::WebEngineWidgets
- + Qt5::WebKitWidgets
- )
-
- message(STATUS "cmake cflags ${CMAKE_C_FLAGS}")
- diff -rupN parley-17.12.1.old/src/editor/browserwidget.cpp parley-17.12.1/src/editor/browserwidget.cpp
- --- parley-17.12.1.old/src/editor/browserwidget.cpp 2018-01-17 18:16:34.527282963 +0100
- +++ parley-17.12.1/src/editor/browserwidget.cpp 2018-01-17 18:25:59.043296112 +0100
- @@ -16,7 +16,7 @@
- #include "browserwidget.h"
-
- #include <keduvocexpression.h>
- -#include <QtWebEngineWidgets/QWebEngineView>
- +#include <QtWebKitWidgets/QWebView>
-
- #include <QDragEnterEvent>
-
- @@ -29,7 +29,7 @@ BrowserWidget::BrowserWidget(QWidget *pa
- m_entry = 0;
- m_currentProvider = 0; ///@todo kconfig?
-
- - m_htmlPart = new QWebEngineView(widget);
- + m_htmlPart = new QWebView(widget);
- QHBoxLayout *layout = new QHBoxLayout(widget);
- widget->setLayout(layout);
- layout->addWidget(m_htmlPart);
- diff -rupN parley-17.12.1.old/src/editor/browserwidget.h parley-17.12.1/src/editor/browserwidget.h
- --- parley-17.12.1.old/src/editor/browserwidget.h 2018-01-17 18:16:34.527282963 +0100
- +++ parley-17.12.1/src/editor/browserwidget.h 2018-01-17 18:24:41.782813266 +0100
- @@ -18,7 +18,7 @@
-
-
- #include "ui_browserwidget.h"
- -#include <QtWebEngineWidgets/QWebEngineView>
- +#include <QtWebKitWidgets/QWebView>
-
- class KEduVocExpression;
-
- @@ -63,7 +63,7 @@ private:
- /// Selection in the doc - if more than one row is selected behavior is different
- KEduVocExpression* m_entry;
-
- - QWebEngineView *m_htmlPart;
- + QWebView *m_htmlPart;
- QList<DictionaryProvider> m_providers;
- int m_currentProvider;
- };
|