rust/cxx-qt pocs

This commit is contained in:
2026-04-03 16:26:06 +02:00
commit 4e2265cb62
10 changed files with 636 additions and 0 deletions

34
Cargo.toml Normal file
View File

@@ -0,0 +1,34 @@
# file: poc-qt/Cargo.toml
[workspace]
members = [
"poc001",
]
resolver = "3"
[workspace.package]
version = "0.1.0"
edition = "2024"
license = "MIT"
repository = "https://git.sasedev.com/Sasedev/poc-qt"
authors = ["SinuS von SifriduS <sinus@sasedev.net>"]
[workspace.dependencies]
cxx = { version = "^1", features = ["c++14", "c++17", "c++20"] }
cxx-qt = { version = "^0.8", features = [] }
cxx-qt-build = { version = "^0.8", features = ["link_qt_object_files"] }
cxx-qt-lib = { version = "^0.8", features = ["full", "link_qt_object_files"] }
jsonschema = { version = "^0.40", features = [] }
serde = { version = "^1.0", features = ["derive"] }
serde_json = { version = "^1.0", features = [] }
[profile.dev]
incremental = true # Compile your binary in smaller steps.
[profile.release]
codegen-units = 1 # Allows LLVM to perform better optimization.
lto = true # Enables link-time-optimizations.
opt-level = 3 # s Prioritizes small binary size. Use `3` if you prefer speed.
panic = "abort" # Higher performance by disabling panic handlers.
strip = true # Ensures debug symbols are removed.