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\\\"
21 HEADERS += mainwindow.h \
25 FORMS += mainwindow.ui \
28 RESOURCES += sigrok-qt2.qrc
30 # libsigrok and libsigrokdecode
31 # TODO: Check for the minimum versions of libsigrok/libsigrokdecode we need.
33 # On Windows/MinGW we need to use '--libs --static'.
34 # We also need to strip some stray '\n' characters here.
35 QMAKE_CXXFLAGS += $$system(pkg-config --cflags libsigrokdecode \
36 libsigrok | sed s/\n//g)
37 LIBS += $$system(pkg-config --libs --static libsigrokdecode \
38 libsigrok | sed s/\n//g)
40 QMAKE_CXXFLAGS += $$system(pkg-config --cflags libsigrokdecode)
41 QMAKE_CXXFLAGS += $$system(pkg-config --cflags libsigrok)
42 LIBS += $$system(pkg-config --libs libsigrokdecode)
43 LIBS += $$system(pkg-config --libs libsigrok)