mirror of
https://invent.kde.org/network/falkon.git
synced 2024-11-13 10:32:11 +01:00
Call QtWebEngine::initialize() in main
This commit is contained in:
parent
9d3769c8e6
commit
dad94c64a1
|
@ -22,6 +22,7 @@
|
||||||
|
|
||||||
#include <QMessageBox> // For QT_REQUIRE_VERSION
|
#include <QMessageBox> // For QT_REQUIRE_VERSION
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
#include <qtwebengineglobal.h>
|
||||||
|
|
||||||
#if defined(Q_OS_LINUX) || defined(__GLIBC__) || defined(__FreeBSD__) || defined(__HAIKU__)
|
#if defined(Q_OS_LINUX) || defined(__GLIBC__) || defined(__FreeBSD__) || defined(__HAIKU__)
|
||||||
#include <signal.h>
|
#include <signal.h>
|
||||||
|
@ -161,6 +162,8 @@ int main(int argc, char* argv[])
|
||||||
|
|
||||||
MainApplication app(argc, argv);
|
MainApplication app(argc, argv);
|
||||||
|
|
||||||
|
QtWebEngine::initialize();
|
||||||
|
|
||||||
if (app.isClosing())
|
if (app.isClosing())
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user