cxx_qt_lib/
lib.rs

1// SPDX-FileCopyrightText: 2021 Klarälvdalens Datakonsult AB, a KDAB Group company <info@kdab.com>
2// SPDX-FileContributor: Andrew Hayzen <andrew.hayzen@kdab.com>
3// SPDX-FileContributor: Gerhard de Clercq <gerhard.declercq@kdab.com>
4//
5// SPDX-License-Identifier: MIT OR Apache-2.0
6
7#[cfg(not(any(cxxqt_qt_version_major = "5", cxxqt_qt_version_major = "6")))]
8compile_error!("cxxqt_qt_version_major must be either \"5\" or \"6\"");
9
10mod core;
11
12pub use crate::core::*;
13
14#[cfg(feature = "qt_gui")]
15mod gui;
16#[cfg(feature = "qt_gui")]
17pub use crate::gui::*;
18
19#[cfg(feature = "qt_qml")]
20mod qml;
21#[cfg(feature = "qt_qml")]
22pub use crate::qml::*;
23
24#[cfg(feature = "qt_quickcontrols")]
25mod quickcontrols;
26#[cfg(feature = "qt_quickcontrols")]
27pub use crate::quickcontrols::*;