mirror of
https://gitlab.com/kelteseth/ScreenPlay.git
synced 2024-11-22 10:42:29 +01:00
Add QtWebEngineQuick::initialize again
this is only because we still don't know for sure what is wrong here.
This commit is contained in:
parent
5a7f6e85d3
commit
58782fb490
@ -4,12 +4,13 @@
|
||||
#include <QStringList>
|
||||
#include <QVector>
|
||||
#include <QtGlobal>
|
||||
#include <QtWebEngineQuick>
|
||||
|
||||
#include "ScreenPlayWallpaper/CMakeVariables.h"
|
||||
|
||||
#include "ScreenPlayUtil/exitcodes.h"
|
||||
#include "ScreenPlayUtil/util.h"
|
||||
|
||||
#include "ScreenPlayWallpaper/CMakeVariables.h"
|
||||
|
||||
#if defined(Q_OS_WIN)
|
||||
#include "src/winwindow.h"
|
||||
Q_IMPORT_QML_PLUGIN(ScreenPlaySysInfoPlugin)
|
||||
@ -24,6 +25,9 @@ Q_IMPORT_QML_PLUGIN(ScreenPlayWeatherPlugin)
|
||||
int main(int argc, char* argv[])
|
||||
{
|
||||
|
||||
// Lets keep using it until: https://bugreports.qt.io/browse/QTBUG-109401
|
||||
QtWebEngineQuick::initialize();
|
||||
|
||||
#if defined(Q_OS_WIN)
|
||||
// Workaround for Qt 6.5.1 crash https://bugreports.qt.io/browse/QTBUG-113832
|
||||
qputenv("QT_DISABLE_HW_TEXTURES_CONVERSION", "1");
|
||||
|
@ -6,6 +6,7 @@
|
||||
#include <QQmlExtensionPlugin>
|
||||
#include <QString>
|
||||
#include <QStringList>
|
||||
#include <QtWebEngineQuick>
|
||||
|
||||
#include "src/widgetwindow.h"
|
||||
|
||||
@ -21,7 +22,10 @@ Q_IMPORT_QML_PLUGIN(ScreenPlayWeatherPlugin)
|
||||
int main(int argc, char* argv[])
|
||||
{
|
||||
|
||||
#if !defined(Q_OS_LINUX)
|
||||
// Lets keep using it until: https://bugreports.qt.io/browse/QTBUG-109401
|
||||
QtWebEngineQuick::initialize();
|
||||
|
||||
#if defined(Q_OS_WIN)
|
||||
qputenv("QT_MEDIA_BACKEND", "ffmpeg");
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user