]> sigrok.org Git - pulseview.git/blame - sigrok-qt2.pro
Created a custom about box with scrollable space for the supported list
[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\
40eb2ff4
JH
17 mainwindow.cpp \
18 about.cpp
d7bed479 19
40eb2ff4
JH
20HEADERS += mainwindow.h \
21 about.h
d7bed479 22
40eb2ff4
JH
23FORMS += mainwindow.ui \
24 about.ui
664fca5c 25
f1bf525a
JH
26RESOURCES += sigrok-qt2.qrc
27
664fca5c
JH
28# libsigrok and libsigrokdecode
29# TODO: Check for the minimum versions of libsigrok/libsigrokdecode we need.
30win32 {
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)
37} else {
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)
42}