figure out and document how to link multiple cxx-qt modules into an application #148
Labels
🔨 build system
Issues related to integrating CXX-Qt into CMake/Cargo
⬆️ upstream
blocked on an upstream issue
Application developers will likely want to link multiple cxx-qt modules into applications. I can think of two approaches this could take:
rlib
crates. Link them together into onestaticlib
crate and link thestaticlib
crate into the C++ application. This is the approach Firefox takes: https://hg.mozilla.org/mozilla-central/rev/841c2247f57d, https://bugzilla.mozilla.org/show_bug.cgi?id=1163224staticlib
crate with separate modules using cxx-qt within it. I doubt this would be a good idea for build times because Cargo parallelizes at the level of crates, not modules.The text was updated successfully, but these errors were encountered: