Added webengine initializer
This commit is contained in:
6
ui/qt/webengine/cpp/webengine.cpp
Normal file
6
ui/qt/webengine/cpp/webengine.cpp
Normal file
@ -0,0 +1,6 @@
|
||||
#include <QtWebEngine>
|
||||
#include "webengine.h"
|
||||
|
||||
void webengineInitialize() {
|
||||
QtWebEngine::initialize();
|
||||
}
|
14
ui/qt/webengine/cpp/webengine.h
Normal file
14
ui/qt/webengine/cpp/webengine.h
Normal file
@ -0,0 +1,14 @@
|
||||
#ifndef WEBENGINE_H
|
||||
#define WEBENGINE_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
void webengineInitialize();
|
||||
|
||||
#ifdef __cplusplus
|
||||
} // extern "C"
|
||||
#endif
|
||||
|
||||
#endif // WEBENGINE_H
|
Reference in New Issue
Block a user