chore: initial commit
Initial commit
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
use cxx_qt_build::{CxxQtBuilder, PluginType, QmlModule};
|
||||
|
||||
fn main() {
|
||||
CxxQtBuilder::new_qml_module(
|
||||
QmlModule::new("one.krantz.rshell").plugin_type(PluginType::Dynamic),
|
||||
)
|
||||
.files(["src/my_object.rs"])
|
||||
.build();
|
||||
|
||||
// This is a fix for "Could not resolve 'qt_plugin_instance' function"
|
||||
// It works by using black magic with some rocket science to get things to work
|
||||
println!("cargo::rustc-link-arg-cdylib=-Wl,--version-script=qt-plugin.version");
|
||||
}
|
||||
Reference in New Issue
Block a user