Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我的嵌入式目标正在运行 Linux,并且有两个有效的平台插件:eglfs 和 linuxfb。默认情况下,我所有的 qt 应用程序都尝试加载 eglfs(并且由于某种原因失败)。我怎样才能让他们尝试 linuxfb?
通过将“-platform linuxfb”附加到您用来调用 Qt5 应用程序的命令行。例如“./myqt5app -platform linuxfb”。但是 linuxfb 从 Qt5.0.1 开始就被破坏了,并且会出现段错误。
要调试插件问题 - 您可以执行“导出 QT_DEBUG_PLUGINS=1”并检查打印的日志。