-
Notifications
You must be signed in to change notification settings - Fork 80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WIP: cxx-qt-lib: remove cxx-qt-lib-headers and store in cxx-qt-lib #842
Conversation
@@ -22,6 +22,7 @@ serde_json.workspace = true | |||
|
|||
[build-dependencies] | |||
cxx-qt-build.workspace = true | |||
cxx-qt-lib.workspace = true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this causes Windows builds to fail with a missing dll 🤔
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(note it works when using cxx-qt-lib-headers, so is something specific to the build.rs and note it happened when using cxx_build instead of cxx-qt-build too)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note that in #843 the same build failure occurred in qml-features
, the issue turned out to be having a extern "Rust"
type in the bridges, removing that from the cxx-qt
crate resolved the build failure.
6b1b936
to
e8f2e26
Compare
@@ -251,5 +251,52 @@ fn main() { | |||
}); | |||
println!("cargo:rerun-if-changed=src/assertion_utils.h"); | |||
|
|||
builder.with_opts(cxx_qt_lib_headers::build_opts()).build(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this makes cxx-qt-lib
worse to build as we need to duplicate the header copy phase :-/
This reverts commit c357722. But it fails to build on Windows due to a missing dll. It appears to happen when cxx-qt-lib is a build dependency.
e8f2e26
to
9f8c402
Compare
|
This reverts commit c357722.
But it fails to build on Windows due to a missing dll.
It appears to happen when cxx-qt-lib is a build dependency.
Requires #764