diff --git a/src/QtUsb.pri b/src/QtUsb.pri index 139bc74..6f79ae2 100755 --- a/src/QtUsb.pri +++ b/src/QtUsb.pri @@ -28,10 +28,9 @@ msvc { LIBS += setupapi.lib winusb.lib } -else:linux { - !packagesExist(libusb-1.0):message("Could not find libusb-1.0 libs") - else:message("Found libusb 1.0") - message(Building QtUsb with LibUsb 1.0 support.) +else:linux-g++* { + !packagesExist(libusb-1.0):error("Could not find libusb-1.0 using PKGCONFIG") + else:message(Building QtUsb with LibUsb 1.0 support.) DEFINES += QLIBUSB SOURCES += qlibusb.cpp HEADERS += qlibusb.h diff --git a/src/src.pro b/src/src.pro index 5a004e4..59b2d64 100644 --- a/src/src.pro +++ b/src/src.pro @@ -4,7 +4,7 @@ # #------------------------------------------------- -VERSION = 0.2 +VERSION = 0.2.1 QT -= gui TEMPLATE = lib CONFIG += static_and_shared