Skip to content

Commit

Permalink
Fixed qmake files for linux gcc
Browse files Browse the repository at this point in the history
  • Loading branch information
fpoussin committed Dec 5, 2016
1 parent 3b5dbea commit af739b3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
7 changes: 3 additions & 4 deletions src/QtUsb.pri
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/src.pro
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#
#-------------------------------------------------

VERSION = 0.2
VERSION = 0.2.1
QT -= gui
TEMPLATE = lib
CONFIG += static_and_shared
Expand Down

0 comments on commit af739b3

Please sign in to comment.