]> sigrok.org Git - pulseview.git/blame - sigrok-qt2.pro
Added application icon
[pulseview.git] / sigrok-qt2.pro
CommitLineData
d7bed479
JH
1#-------------------------------------------------
2#
3# Project created by QtCreator 2012-05-10T21:19:20
4#
5#-------------------------------------------------
6
7QT += core gui
8
9TARGET = sigrok-qt2
10TEMPLATE = app
11
640e5565
JH
12# The sigrok-qt version number. Define APP_VERSION macro for use in the code.
13VERSION = 0.1.0
14DEFINES += APP_VERSION=\\\"$$VERSION\\\"
d7bed479
JH
15
16SOURCES += main.cpp\
17 mainwindow.cpp
18
19HEADERS += mainwindow.h
20
21FORMS += mainwindow.ui
664fca5c 22
f1bf525a
JH
23RESOURCES += sigrok-qt2.qrc
24
664fca5c
JH
25# libsigrok and libsigrokdecode
26# TODO: Check for the minimum versions of libsigrok/libsigrokdecode we need.
27win32 {
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)
34} else {
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)
39}