eaf改qt6以后gentoo下exwm没法起动

qt.core.plugin.factoryloader: checking directory path "/home/star/lib/python3.11/site-packages/PyQt6/Qt6/plugins/platforms" ...
qt.core.plugin.factoryloader: looking at "/home/star/lib/python3.11/site-packages/PyQt6/Qt6/plugins/platforms/libqvnc.so"
qt.core.plugin.loader: Found metadata in lib /home/star/lib/python3.11/site-packages/PyQt6/Qt6/plugins/platforms/libqvnc.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "vnc"
        ]
    },
    "archlevel": 1,
    "className": "QVncIntegrationPlugin",
    "debug": false,
    "version": 394496
}


qt.core.plugin.factoryloader: Got keys from plugin meta data QList("vnc")
qt.core.plugin.factoryloader: looking at "/home/star/lib/python3.11/site-packages/PyQt6/Qt6/plugins/platforms/libqxcb.so"
qt.core.plugin.loader: Found metadata in lib /home/star/lib/python3.11/site-packages/PyQt6/Qt6/plugins/platforms/libqxcb.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "xcb"
        ]
    },
    "archlevel": 1,
    "className": "QXcbIntegrationPlugin",
    "debug": false,
    "version": 394496
}


qt.core.plugin.factoryloader: Got keys from plugin meta data QList("xcb")
qt.core.plugin.factoryloader: looking at "/home/star/lib/python3.11/site-packages/PyQt6/Qt6/plugins/platforms/libqwayland-generic.so"
qt.core.plugin.loader: Found metadata in lib /home/star/lib/python3.11/site-packages/PyQt6/Qt6/plugins/platforms/libqwayland-generic.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "wayland"
        ]
    },
    "archlevel": 1,
    "className": "QWaylandIntegrationPlugin",
    "debug": false,
    "version": 394496
}


qt.core.plugin.factoryloader: Got keys from plugin meta data QList("wayland")
qt.core.plugin.factoryloader: looking at "/home/star/lib/python3.11/site-packages/PyQt6/Qt6/plugins/platforms/libqoffscreen.so"
qt.core.plugin.loader: Found metadata in lib /home/star/lib/python3.11/site-packages/PyQt6/Qt6/plugins/platforms/libqoffscreen.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "offscreen"
        ]
    },
    "archlevel": 1,
    "className": "QOffscreenIntegrationPlugin",
    "debug": false,
    "version": 394496
}


qt.core.plugin.factoryloader: Got keys from plugin meta data QList("offscreen")
qt.core.plugin.factoryloader: looking at "/home/star/lib/python3.11/site-packages/PyQt6/Qt6/plugins/platforms/libqminimalegl.so"
qt.core.plugin.loader: Found metadata in lib /home/star/lib/python3.11/site-packages/PyQt6/Qt6/plugins/platforms/libqminimalegl.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "minimalegl"
        ]
    },
    "archlevel": 1,
    "className": "QMinimalEglIntegrationPlugin",
    "debug": false,
    "version": 394496
}


qt.core.plugin.factoryloader: Got keys from plugin meta data QList("minimalegl")
qt.core.plugin.factoryloader: looking at "/home/star/lib/python3.11/site-packages/PyQt6/Qt6/plugins/platforms/libqeglfs.so"
qt.core.plugin.loader: Found metadata in lib /home/star/lib/python3.11/site-packages/PyQt6/Qt6/plugins/platforms/libqeglfs.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "eglfs"
        ]
    },
    "archlevel": 1,
    "className": "QEglFSIntegrationPlugin",
    "debug": false,
    "version": 394496
}


qt.core.plugin.factoryloader: Got keys from plugin meta data QList("eglfs")
qt.core.plugin.factoryloader: looking at "/home/star/lib/python3.11/site-packages/PyQt6/Qt6/plugins/platforms/libqlinuxfb.so"
qt.core.plugin.loader: Found metadata in lib /home/star/lib/python3.11/site-packages/PyQt6/Qt6/plugins/platforms/libqlinuxfb.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "linuxfb"
        ]
    },
    "archlevel": 1,
    "className": "QLinuxFbIntegrationPlugin",
    "debug": false,
    "version": 394496
}


qt.core.plugin.factoryloader: Got keys from plugin meta data QList("linuxfb")
qt.core.plugin.factoryloader: looking at "/home/star/lib/python3.11/site-packages/PyQt6/Qt6/plugins/platforms/libqwayland-egl.so"
qt.core.plugin.loader: Found metadata in lib /home/star/lib/python3.11/site-packages/PyQt6/Qt6/plugins/platforms/libqwayland-egl.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "wayland-egl"
        ]
    },
    "archlevel": 1,
    "className": "QWaylandEglPlatformIntegrationPlugin",
    "debug": false,
    "version": 394496
}


qt.core.plugin.factoryloader: Got keys from plugin meta data QList("wayland-egl")
qt.core.plugin.factoryloader: looking at "/home/star/lib/python3.11/site-packages/PyQt6/Qt6/plugins/platforms/libqminimal.so"
qt.core.plugin.loader: Found metadata in lib /home/star/lib/python3.11/site-packages/PyQt6/Qt6/plugins/platforms/libqminimal.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "minimal"
        ]
    },
    "archlevel": 1,
    "className": "QMinimalIntegrationPlugin",
    "debug": false,
    "version": 394496
}


qt.core.plugin.factoryloader: Got keys from plugin meta data QList("minimal")
qt.core.plugin.factoryloader: looking at "/home/star/lib/python3.11/site-packages/PyQt6/Qt6/plugins/platforms/libqvkkhrdisplay.so"
qt.core.plugin.loader: Found metadata in lib /home/star/lib/python3.11/site-packages/PyQt6/Qt6/plugins/platforms/libqvkkhrdisplay.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "vkkhrdisplay"
        ]
    },
    "archlevel": 1,
    "className": "QVkKhrDisplayIntegrationPlugin",
    "debug": false,
    "version": 394496
}


qt.core.plugin.factoryloader: Got keys from plugin meta data QList("vkkhrdisplay")
qt.core.plugin.factoryloader: checking directory path "/usr/bin/platforms" ...
qt.core.library: "/home/star/lib/python3.11/site-packages/PyQt6/Qt6/plugins/platforms/libqoffscreen.so" loaded library
qt.core.plugin.factoryloader: checking directory path "/home/star/lib/python3.11/site-packages/PyQt6/Qt6/plugins/platformthemes" ...
qt.core.plugin.factoryloader: looking at "/home/star/lib/python3.11/site-packages/PyQt6/Qt6/plugins/platformthemes/libqgtk3.so"
qt.core.plugin.loader: Found metadata in lib /home/star/lib/python3.11/site-packages/PyQt6/Qt6/plugins/platformthemes/libqgtk3.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformThemeFactoryInterface.5.1",
    "MetaData": {
        "Keys": [
            "gtk3"
        ]
    },
    "archlevel": 1,
    "className": "QGtk3ThemePlugin",
    "debug": false,
    "version": 394496
}


qt.core.plugin.factoryloader: Got keys from plugin meta data QList("gtk3")
qt.core.plugin.factoryloader: looking at "/home/star/lib/python3.11/site-packages/PyQt6/Qt6/plugins/platformthemes/libqxdgdesktopportal.so"
qt.core.plugin.loader: Found metadata in lib /home/star/lib/python3.11/site-packages/PyQt6/Qt6/plugins/platformthemes/libqxdgdesktopportal.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformThemeFactoryInterface.5.1",
    "MetaData": {
        "Keys": [
            "xdgdesktopportal",
            "flatpak",
            "snap"
        ]
    },
    "archlevel": 1,
    "className": "QXdgDesktopPortalThemePlugin",
    "debug": false,
    "version": 394496
}


qt.core.plugin.factoryloader: Got keys from plugin meta data QList("xdgdesktopportal", "flatpak", "snap")
qt.core.plugin.factoryloader: checking directory path "/usr/bin/platformthemes" ...
qt.core.plugin.factoryloader: checking directory path "/home/star/lib/python3.11/site-packages/PyQt6/Qt6/plugins/platforminputcontexts" ...
qt.core.plugin.factoryloader: looking at "/home/star/lib/python3.11/site-packages/PyQt6/Qt6/plugins/platforminputcontexts/libcomposeplatforminputcontextplugin.so"
qt.core.plugin.loader: Found metadata in lib /home/star/lib/python3.11/site-packages/PyQt6/Qt6/plugins/platforminputcontexts/libcomposeplatforminputcontextplugin.so, metadata=
{
    "IID": "org.qt-project.Qt.QPlatformInputContextFactoryInterface.5.1",
    "MetaData": {
        "Keys": [
            "compose",
            "xim"
        ]
    },
    "archlevel": 1,
    "className": "QComposePlatformInputContextPlugin",
    "debug": false,
    "version": 394496
}


qt.core.plugin.factoryloader: Got keys from plugin meta data QList("compose", "xim")
qt.core.plugin.factoryloader: looking at "/home/star/lib/python3.11/site-packages/PyQt6/Qt6/plugins/platforminputcontexts/libibusplatforminputcontextplugin.so"
qt.core.plugin.loader: Found metadata in lib /home/star/lib/python3.11/site-packages/PyQt6/Qt6/plugins/platforminputcontexts/libibusplatforminputcontextplugin.so, metadata=
{
    "IID": "org.qt-project.Qt.QPlatformInputContextFactoryInterface.5.1",
    "MetaData": {
        "Keys": [
            "ibus"
        ]
    },
    "archlevel": 1,
    "className": "QIbusPlatformInputContextPlugin",
    "debug": false,
    "version": 394496
}


qt.core.plugin.factoryloader: Got keys from plugin meta data QList("ibus")
qt.core.plugin.factoryloader: checking directory path "/usr/bin/platforminputcontexts" ...
qt.core.library: "/home/star/lib/python3.11/site-packages/PyQt6/Qt6/plugins/platforminputcontexts/libcomposeplatforminputcontextplugin.so" loaded library
qt.core.plugin.factoryloader: checking directory path "/home/star/lib/python3.11/site-packages/PyQt6/Qt6/plugins/styles" ...
qt.core.plugin.factoryloader: checking directory path "/usr/bin/styles" ...
qt.core.plugin.factoryloader: checking directory path "/home/star/lib/python3.11/site-packages/PyQt6/Qt6/plugins/accessiblebridge" ...
qt.core.plugin.factoryloader: checking directory path "/usr/bin/accessiblebridge" ...
This plugin does not support propagateSizeHints()
qt.core.plugin.factoryloader: checking directory path "/home/star/lib/python3.11/site-packages/PyQt6/Qt6/plugins/accessible" ...
qt.core.plugin.factoryloader: checking directory path "/usr/bin/accessible" ...
QWindow::fromWinId(): platform plugin does not support foreign windows.
This plugin does not support propagateSizeHints()
QWindow::fromWinId(): platform plugin does not support foreign windows.

搞了好几天了,无法起动demo。gentoo直接exwm作窗口管理器startx启动。有没有人提示我一下是哪里出问题了。

你试试不用pip安装的依赖。话说你qtwebengine6编译了多久。。。我开始编译就提示我的电脑内存不够32GB。。。直接不给我编译了。

记得qtwebengine的use要打开bindist,不然没有解码器

编译到我怀疑人生,我电脑内存8g大概是跑了三四个小时(可能不止,我睡着了)。没让你编译会不会是不是因为/var不够大?我直接接了一张硬盘mount在/var/tmp下让我跑了。 最后问题解决了。emerge一遍pyqt6还有qtwebengine和sip,然后把整个用户目录作为虚拟环境再pip一遍刚才三个以及pip install epc,在虚拟环境下启动exwm,现在demo出来了。我怀疑是不是pip出来的pyqt6缺少某些依赖导致的。

我朋友64G内存电脑编译40分钟,但是内存吃了62G,其中主要耗时的是chromium编译,光chromium编译耗了30分钟

是的,pip里面的包是有问题的,不要用。用portage里面的,该装的装好就没问题。

不是的,我6月初编译过qtwebengine6,虽然花了几个小时,但是没有错误的完成了。后来加了个bindist的use。。。它直接检测的时候就不让我编译了。。。说我的内存只有31.2GB,和我说再见。。。。

视频解码器解决了吗?你加bindist了吗?用起来怎么样

按照你的提示换了一个16g内存的机器加上bindist的use跑qtwebengine:6,并没有出现你提到的报内存不够而不让编译。最后跑完了(这次至少6个小时),但是视频仍然是无法播放。头疼

奇怪了,我再查查。还有,我个人建议视频这种用mpv播放比较舒服,只要你安装好libva,十几的处理器占用就能看1080p这种视频。我最近在找eaf有没有接口可以传网址出去自动打开mpv播放。消耗低,节能。