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.
我正在展示一个工作链接的 Qt QML WebView。它在 Windows 和 iOS 上按预期工作,但在 Android 上,视图是黑色或空白的。loadRequest 成功完成,可见属性为 true。应用程序中的所有其他 QML 屏幕均正确显示。
如果我切换到另一个应用程序,例如设置,然后返回,则 WebView 将从那里按预期工作。
关于可能发生的事情有什么想法吗?QtWebView::initialize() 在应用启动时被调用。