[deepin exploration] Could NOT find Qt6Multimedia (missing: Qt6Multimedia_DIR)
Tofloor
poster avatar
158******75
deepin
2024-03-07 15:48
Author

deepin 23 beta3

Reply Favorite View the author
All Replies
sweetyfish
deepin
2024-03-07 16:22
#1

apt install qt6-multimedia-dev

Reply View the author
158******75
deepin
2024-03-07 16:27
#2
sweetyfish

apt install qt6-multimedia-dev

but it set Qt6_FOUND to FALSE so package "Qt6" is considered to be NOT
FOUND. Reason given by package:

Failed to find required Qt component "X11Extras"

还缺这个

Reply View the author
把一切操作变成GUI
deepin
Backbone of ecological co-construction group
2024-03-07 17:04
#3

在 Qt 6 ,Qt X11 Extras 模块好像已被移除了吧?

用相关的函数替代一下,例如 QNativeInterface::QX11Application::connection()QNativeInterface::QX11Application::display() 来替代。再不然可能需要对代码进行一些调整了。

Reply View the author
158******75
deepin
2024-03-07 18:21
#4
把一切操作变成GUI

在 Qt 6 ,Qt X11 Extras 模块好像已被移除了吧?

用相关的函数替代一下,例如 QNativeInterface::QX11Application::connection()QNativeInterface::QX11Application::display() 来替代。再不然可能需要对代码进行一些调整了。

是啊,完全找不到,但是我在编译qtscrcpy 却需要这个模块。。。。

Reply View the author
158******75
deepin
2024-03-08 12:54
#5
把一切操作变成GUI

在 Qt 6 ,Qt X11 Extras 模块好像已被移除了吧?

用相关的函数替代一下,例如 QNativeInterface::QX11Application::connection()QNativeInterface::QX11Application::display() 来替代。再不然可能需要对代码进行一些调整了。

正在修改QTScrcpy源码,升级到QT6 还真麻烦,一大堆错误

Reply View the author