Cargo Features

[dependencies]
qttypes = { version = "0.2.12", default-features = false, features = ["required", "qtquick", "qtwebengine", "qtquickcontrols2", "qtmultimedia", "qtmultimediawidgets", "qtsql", "qttest", "chrono"] }
required default

When this feature is enabled (the default), the build script will panic with an error if Qt is not found.

qtquick

Link against QtQuick

qtwebengine

Link against QtWebEngine

qtquickcontrols2

Link against QtQuickControls2

qtmultimedia

Link against QtMultimedia

qtmultimediawidgets

Link against QtMultimediaWidgets

qtsql

Link against QtSql

qttest

Link against QtTest

default = required

The required feature is set by default whenever qttypes is added without default-features = false somewhere in the dependency tree.

Features from optional dependencies

chrono implicit feature

Enables chrono

chrono:

Date and time library for Rust