1 #-------------------------------------------------
3 # Project created by QtCreator 2012-05-10T21:19:20
5 #-------------------------------------------------
12 # The sigrok-qt version number. Define APP_VERSION macro for use in the code.
14 DEFINES += APP_VERSION=\\\"$$VERSION\\\"
19 HEADERS += mainwindow.h
21 FORMS += mainwindow.ui
23 RESOURCES += sigrok-qt2.qrc
25 # libsigrok and libsigrokdecode
26 # TODO: Check for the minimum versions of libsigrok/libsigrokdecode we need.
28 # On Windows/MinGW we need to use '--libs --static'.
29 # We also need to strip some stray '\n' characters here.
30 QMAKE_CXXFLAGS += $$system(pkg-config --cflags libsigrokdecode \
31 libsigrok | sed s/\n//g)
32 LIBS += $$system(pkg-config --libs --static libsigrokdecode \
33 libsigrok | sed s/\n//g)
35 QMAKE_CXXFLAGS += $$system(pkg-config --cflags libsigrokdecode)
36 QMAKE_CXXFLAGS += $$system(pkg-config --cflags libsigrok)
37 LIBS += $$system(pkg-config --libs libsigrokdecode)
38 LIBS += $$system(pkg-config --libs libsigrok)