Skip to content

qt-kde

The qt-kde macros are used for projects that supply a Makefile, and potentially a ./configure script.

%qmake_qt5

Invokes Qt5 with the correct default values
Example usage
%qmake_qt5 -other-qmake-flag

%cmake_qt6

Perform cmake with the default options for Qt6 builds
Example usage
%cmake_qt6 -DQt_Feature_So_and_So=ON

%cmake_kf6

Perform cmake with the default options for KF6/Qt6 builds. This includes KDE Frameworks, Plasma, and KDE Gear
Example usage
%cmake_kf6 -DSO_AND_SO=ON
Setup user-facing binaries (DEPRECATED)
Example usage
%qt_user_facing_links