Skip to content

Multiple Rust modules with "cargo test" (minimal example included) #1014

Answered by ahayzen-kdab
SanderVocke asked this question in Q&A

You must be logged in to vote

It could be that both modules are outputting to the same header file?

Could you try using cxx_file_stem to specify different files in the bridge macro?

See the book for more info https://kdab.github.io/cxx-qt/book/bridge/index.html#cxx_file_stem

Replies: 1 comment 5 replies

You must be logged in to vote
5 replies
@LeonMatthesKDAB

@LeonMatthesKDAB

@ahayzen-kdab

@SanderVocke

@SanderVocke

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
3 participants