Skip to content
This repository has been archived by the owner on Mar 21, 2020. It is now read-only.

Commit

Permalink
Fix build issues on 64 bit linux.
Browse files Browse the repository at this point in the history
  • Loading branch information
csete committed Dec 29, 2011
1 parent 3b46eb4 commit 67ddac8
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions qthid.pro
Expand Up @@ -31,7 +31,7 @@ VERSTR = '\\"$${VER}\\"' # place quotes around the version string
DEFINES += VERSION=\"$${VERSTR}\" # create a VERSION macro containing the version string

SOURCES +=\
mainwindow.cpp \
mainwindow.cpp \
main.cpp \
fcd.c \
freqctrl.cpp \
Expand All @@ -42,9 +42,13 @@ SOURCES +=\

mac: SOURCES += hidmac.c
win32: SOURCES += hidwin.cpp
linux-g++: SOURCES +=hid-libusb.c

HEADERS += mainwindow.h \
linux-g++|linux-g++-64 {
SOURCES +=hid-libusb.c
}

HEADERS += \
mainwindow.h \
hidapi.h \
fcd.h fcdhidcmd.h \
freqctrl.h \
Expand All @@ -65,7 +69,7 @@ mac:LIBS += /System/Library/Frameworks/CoreFoundation.framework/CoreFoundation \
win32:LIBS += "C:\\Program Files\\Microsoft SDKs\\Windows\\v7.0\\Lib\\setupapi.lib"

# libusb-1.0 on Linux uses pkg-config
linux-g++ {
linux-g++|linux-g++-64 {
CONFIG += link_pkgconfig
PKGCONFIG += libusb-1.0
}
Expand Down

0 comments on commit 67ddac8

Please sign in to comment.