GUI fails to resolve QML source file paths after installation #12
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
with
cargo install --path .you can runclidedirectly for the TUI, but if you move to a location other than the root of this repository QML will fail to resolve sourcesNot sure what to do here, because you can't provide absolute paths the QML in CXX-QT?
bfdacd0698 (diff-a857d8ab271a343f5e402e90ab60a62dcdacbccd2d5d9fc889715fe53560a337R914-R916)I'm using the API as shown in the examples from the KDAB CXX-QT book: https://kdab.github.io/cxx-qt/book/getting-started/4-cargo-executable.html
I thought maybe the QQmlApplicationEngine should be given an absolute path for
addImportPath, but the docs say path is canonicalized.https://doc.qt.io/qt-6/qqmlengine.html#addImportPath