PureRef не запускается из-за QT_AUTO_SCREEN_SCALE_FACTOR
Форум — General
Проблема конкретно только с PureRef. При запуске из консоли выдает данное сообщение:
Warning: QT_AUTO_SCREEN_SCALE_FACTOR is deprecated. Instead use:
QT_ENABLE_HIGHDPI_SCALING to enable platform plugin controlled per-screen factors.
No protocol specified
qt.qpa.xcb: could not connect to display :0
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: linuxfb, vnc, xcb.
Aborted (core dumped)
Либо:
Warning: QT_AUTO_SCREEN_SCALE_FACTOR is deprecated. Instead use:
QT_ENABLE_HIGHDPI_SCALING to enable platform plugin controlled per-screen factors.
Invalid MIT-MAGIC-COOKIE-1 keyqt.qpa.xcb: could not connect to display :0
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: linuxfb, vnc, xcb.
Aborted (core dumped)
Переустанавливал - ошибка остается даже на другой версии(на сайте 2 версии + с Appimage все также). Плагины, про которые пишется в сообщении, вроде установлены. Иногда, после перезапуска системы, приложение запускается и нормально работает. Вот что пишет при успешном запуске:
Warning: QT_AUTO_SCREEN_SCALE_FACTOR is deprecated. Instead use:
QT_ENABLE_HIGHDPI_SCALING to enable platform plugin controlled per-screen factors.
QFontDatabase: Cannot find font directory /tmp/.mount_PureReJLSCP3/usr/bin/lib/fonts.
Note that Qt no longer ships fonts. Deploy some (from https://dejavu-fonts.github.io/ for example) or switch to fontconfig.
"Your version of PureRef is up to date."
"Latest version reported from the server is '1.11.1'"
Что пишет при export QT_DEBUG_PLUGINS=1:
Warning: QT_AUTO_SCREEN_SCALE_FACTOR is deprecated. Instead use:
QT_ENABLE_HIGHDPI_SCALING to enable platform plugin controlled per-screen factors.
QFactoryLoader::QFactoryLoader() checking directory path "/tmp/.mount_PureReRguWJE/usr/bin/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() looking at "/tmp/.mount_PureReRguWJE/usr/bin/plugins/platforms/libqlinuxfb.so"
Found metadata in lib /tmp/.mount_PureReRguWJE/usr/bin/plugins/platforms/libqlinuxfb.so, metadata=
{
"IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
"MetaData": {
"Keys": [
"linuxfb"
]
},
"archreq": 0,
"className": "QLinuxFbIntegrationPlugin",
"debug": false,
"version": 330752
}
Got keys from plugin meta data ("linuxfb")
QFactoryLoader::QFactoryLoader() looking at "/tmp/.mount_PureReRguWJE/usr/bin/plugins/platforms/libqvnc.so"
Found metadata in lib /tmp/.mount_PureReRguWJE/usr/bin/plugins/platforms/libqvnc.so, metadata=
{
"IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
"MetaData": {
"Keys": [
"vnc"
]
},
"archreq": 0,
"className": "QVncIntegrationPlugin",
"debug": false,
"version": 330752
}
Got keys from plugin meta data ("vnc")
QFactoryLoader::QFactoryLoader() looking at "/tmp/.mount_PureReRguWJE/usr/bin/plugins/platforms/libqxcb.so"
Found metadata in lib /tmp/.mount_PureReRguWJE/usr/bin/plugins/platforms/libqxcb.so, metadata=
{
"IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
"MetaData": {
"Keys": [
"xcb"
]
},
"archreq": 0,
"className": "QXcbIntegrationPlugin",
"debug": false,
"version": 330752
}
Got keys from plugin meta data ("xcb")
QFactoryLoader::QFactoryLoader() checking directory path "/tmp/.mount_PureReRguWJE/usr/bin/platforms" ...
loaded library "/tmp/.mount_PureReRguWJE/usr/bin/plugins/platforms/libqxcb.so"
qt.qpa.xcb: could not connect to display desktop:0
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: linuxfb, vnc, xcb.
Aborted (core dumped)
Возможно ли что ошибка из-за старой версии Qt(5.12.7)? Что сделать/установить для решения данной проблемы? Система - openSUSE 15.2 Leap