# SPDX-FileCopyrightText: 2022 Klarälvdalens Datakonsult AB, a KDAB Group company # SPDX-FileContributor: Be Wilson # # SPDX-License-Identifier: MIT OR Apache-2.0 [package] name = "qt-build-utils" version.workspace = true edition.workspace = true authors = ["Be Wilson "] license.workspace = true description = "Build script helper for linking Qt libraries and using moc code generator. Intended to be used together with cc, cpp_build, or cxx_build" repository.workspace = true [dependencies] cc.workspace = true versions = "6.3" thiserror = "1.0" [features] # When Cargo links an executable, whether a bin crate or test executable, # and Qt 6 is linked statically, this feature must be enabled to link # unarchived .o files with static symbols that Qt ships (for example # to initialize Qt resources embedded within Qt libraries). # # CMake also links those .o files when linking Qt's targets, so this # feature must be disabled for staticlib crates. Otherwise, linking # will fail with duplicate symbol errors. # # When linking Qt dynamically, this makes no difference. link_qt_object_files = []