projection: use the supported QML load path
Desktop now stays within the QML engine API supplied by the pinned CXX-Qt release. Source-Sha: c40b2289c485dec198d8e8d13d4005cb6183498d Policy-Sha: c40b2289c485dec198d8e8d13d4005cb6183498d Tree-Digest: e920395d09696b93852d5502e0d11f5e51b97d9d8e43d90d42c316bdd359d03b
This commit is contained in:
parent
00c1686b87
commit
f096fe03f6
1 changed files with 0 additions and 6 deletions
|
|
@ -23,12 +23,6 @@ fn main() {
|
|||
|
||||
let mut engine = QQmlApplicationEngine::new();
|
||||
if let Some(mut engine) = engine.as_mut() {
|
||||
engine
|
||||
.as_mut()
|
||||
.on_object_creation_failed(|_, url| {
|
||||
eprintln!("redflag-desktop: QML root failed to construct: {url}");
|
||||
})
|
||||
.release();
|
||||
engine.load(&QUrl::from("qrc:/qt/qml/com/redflag/desktop/qml/Main.qml"));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue