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