diff options
| author | Joerg Bornemann <joerg.bornemann@qt.io> | 2025-11-20 07:46:51 +0100 |
|---|---|---|
| committer | Joerg Bornemann <joerg.bornemann@qt.io> | 2025-11-25 16:07:11 +0100 |
| commit | 6cb59d2977a2244b537e114489b1d8fed7d41da7 (patch) | |
| tree | 5bd7ba023c43509197ff72ffa80ea4eed5293f49 /doc/src/snippets/process/process.cpp | |
| parent | d26207d526b832f40baf8c818f59f4dc57e96857 (diff) | |
CMake: Remove faulty version numbers from qt_find_package(XCB) calls
The version in qt_find_package(XCB 0.1.1) is the version of libxcb, not
the version of one of its components. The version checks have been
ported from qmake but where never effective, because they check the
wrong thing and are so low that they're never failing.
The right version check for e.g.
qt_find_package(XCB 0.3.8 MODULE COMPONENTS UTIL)
would be
qt_find_package(XCB_UTIL 0.3.8 MODULE)
but that would change the XCB target names, and we evidently never ran
into compatibility problems in Qt 6 times, so let's remove the versions.
Change-Id: I42e8882a486c0184f96d86d73cd229bdb7c73057
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'doc/src/snippets/process/process.cpp')
0 files changed, 0 insertions, 0 deletions
