From 8e163c35650378f2ac74149b5390ad6094ebe6b6 Mon Sep 17 00:00:00 2001 From: Wouter Deconinck Date: Wed, 18 Dec 2024 19:16:30 -0600 Subject: [PATCH] qmake: docs about virtual provider (#48055) --- lib/spack/docs/build_systems/qmakepackage.rst | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lib/spack/docs/build_systems/qmakepackage.rst b/lib/spack/docs/build_systems/qmakepackage.rst index be66c4a1cfa..4a251057635 100644 --- a/lib/spack/docs/build_systems/qmakepackage.rst +++ b/lib/spack/docs/build_systems/qmakepackage.rst @@ -25,6 +25,14 @@ QMake does not appear to have a standardized way of specifying the installation directory, so you may have to set environment variables or edit ``*.pro`` files to get things working properly. +QMake packages will depend on the virtual ``qmake`` package which +is provided by multiple versions of Qt: ``qt`` provides Qt up to +Qt5, and ``qt-base`` provides Qt from version Qt6 onwards. This +split was motivated by the desire to split the single Qt package +into its components to allow for more fine-grained installation. +To depend on a specific version, refer to the documentation on +:ref:`virtual-dependencies`. + ^^^^^^ Phases ^^^^^^