Is it supported to have a cxx-qt-based crate as a Cargo dependency? #1047
-
In my project structure, I have a crate There is also a top-level crate It could be I'm doing something wrong, but for me this does not work out of the box:
The only workaround I can think of at the moment is to build As usual, thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 7 replies
-
I should add that |
Beta Was this translation helpful? Give feedback.
Turns out that with the latest
main
version ofcxx-qt
, this just works. I didn't uselibrary()
as I don't intend to create additionalcxx-qt
-based functionality incrate_b
. I just usedCxxQtBuilder::new()
andcrate_b
was able to compile withcrate_a
as a dependency, without using a build script.