Skip to content

Is it supported to have a cxx-qt-based crate as a Cargo dependency? #1047

Answered by SanderVocke
SanderVocke asked this question in Q&A
Discussion options

You must be logged in to vote

Turns out that with the latest main version of cxx-qt, this just works. I didn't use library() as I don't intend to create additional cxx-qt-based functionality in crate_b. I just used CxxQtBuilder::new() and crate_b was able to compile with crate_a as a dependency, without using a build script.

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@LeonMatthesKDAB
Comment options

@SanderVocke
Comment options

@LeonMatthesKDAB
Comment options

@SanderVocke
Comment options

Answer selected by SanderVocke
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants