Revert hidraw version check

* `packagesExist(hidapi-hidraw>=0.10.1)` is not a valid qmake version test
This commit is contained in:
Chris committed 2024-09-03 18:19:34 +10:00
1 parent 4fcf0d01a2
commit 4a74103e70
1 file changed
+2 -1
+2 -1
View File
@@ -515,7 +515,8 @@ contains(QMAKE_PLATFORM, linux) {
# hidapi-hidraw >= 0.10.1 supports USAGE/USAGE_PAGE #
# Define USE_HID_USAGE if hidapi-hidraw supports it #
#---------------------------------------------------------------------------------------#
packagesExist(hidapi-hidraw>=0.10.1) {
HIDAPI_HIDRAW_VERSION = $$system($$PKG_CONFIG --modversion hidapi-hidraw)
if(versionAtLeast(HIDAPI_HIDRAW_VERSION, "0.10.1")) {
DEFINES += USE_HID_USAGE
}
} else {