# Copyright © SixtyFPS GmbH <info@slint.dev>
# SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.1 OR LicenseRef-Slint-commercial

[package]
name = "i-slint-backend-qt"
description = "Qt rendering backend for Slint"
authors.workspace = true
edition.workspace = true
homepage.workspace = true
license.workspace = true
repository.workspace = true
rust-version.workspace = true
version.workspace = true
links = "i_slint_backend_qt" # just so we can pass metadata to the dependee's build script

[features]
rtti = ["i-slint-core/rtti"]
default = []

[lib]
path = "lib.rs"

[dependencies]
i-slint-common = { workspace = true, features = ["default"] }
i-slint-core-macros = { workspace = true, features = ["default"] }
i-slint-core = { workspace = true, features = ["default"] }

const-field-offset = { version = "0.1", path = "../../../helper_crates/const-field-offset" }
vtable = { version = "0.1.8", path = "../../../helper_crates/vtable" }

cpp = "0.5.5"
lyon_path = "1"
once_cell = "1"
pin-project = "1"
pin-weak = "1"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
qttypes = { version = "0.2.7", default-features = false }

[build-dependencies]
cpp_build = "0.5.5"
