aboutsummaryrefslogtreecommitdiff
path: root/scribiu.pro
blob: afb596c59d6bfb510d38d8ad201183bef7be383b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
QT       += core gui svg phonon

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

TARGET = scribiu
TEMPLATE = app

CONFIG += link_pkgconfig
PKGCONFIG += libudev libusb openobex
LIBS += -lquazip

SOURCES += main.cc\
        mainwindow.cc \
    smartpenmanager.cc \
    notebookmodel.cc \
    smartpensyncer.cc \
    smartpen.cc bitreader.cc stfreader.cc \
    xmlutils.cc \
    notebookview.cc \
    afdnotebook.cc \
    pageitem.cc \
    stfgraphicsitem.cc \
    paperreplay.cc \
    afdpageaddress.cc \
    stfstrokeitem.cc \
    paperreplaymodel.cc

HEADERS  += mainwindow.h \
    smartpenmanager.h \
    notebookmodel.h \
    smartpensyncer.h \
    smartpen.h bitreader.h stfreader.h \
    xmlutils.h \
    notebookview.h \
    afdnotebook.h \
    pageitem.h \
    stfgraphicsitem.h \
    paperreplay.h \
    afdpageaddress.h \
    stfstrokeitem.h \
    paperreplaymodel.h

FORMS    += mainwindow.ui

isEmpty(PREFIX) {
	PREFIX = /usr
}

target.path = $$PREFIX/bin

icon_scalable.path = $$PREFIX/share/icons/hicolor/scalable/apps
icon_scalable.files = icons/scalable/scribiu.svg

icon_48.path = $$PREFIX/share/icons/hicolor/48x48/apps
icon_48.files = icons/48x48/scribiu.png

desktop.path = $$PREFIX/share/applications
desktop.files = scribiu.desktop

INSTALLS += target icon_scalable icon_48 desktop