diff options
Diffstat (limited to 'scribiu.pro')
-rw-r--r-- | scribiu.pro | 22 |
1 files changed, 18 insertions, 4 deletions
diff --git a/scribiu.pro b/scribiu.pro index 0623205..0c68fa4 100644 --- a/scribiu.pro +++ b/scribiu.pro @@ -1,13 +1,21 @@ TARGET = scribiu +VERSION = 1.5.3 TEMPLATE = app -QT += core gui widgets svg -QT += phonon4qt5 +QT += core gui widgets svg multimedia CONFIG += c++11 CONFIG += link_pkgconfig -PKGCONFIG += libudev libusb-1.0 openobex quazip +PKGCONFIG += libudev libusb-1.0 openobex + +packagesExist(quazip1-qt5) { + PKGCONFIG += quazip1-qt5 +} else { + # Some "distributions" forgot to distribute the pkg-config file... + LIBS += -lquazip5 + INCLUDEPATH += /usr/include/quazip5 +} SOURCES += main.cc \ mainwindow.cc \ @@ -15,6 +23,7 @@ SOURCES += main.cc \ notebookmodel.cc \ smartpensyncer.cc \ smartpen.cc bitreader.cc stfreader.cc \ + stfexporter.cc \ xmlutils.cc \ notebookview.cc \ afdnotebook.cc \ @@ -30,6 +39,7 @@ HEADERS += mainwindow.h \ notebookmodel.h \ smartpensyncer.h \ smartpen.h bitreader.h stfreader.h \ + stfexporter.h \ xmlutils.h \ notebookview.h \ afdnotebook.h \ @@ -46,9 +56,13 @@ isEmpty(PREFIX) { PREFIX = /usr } +isEmpty(UDEVDIR) { + UDEVDIR = $$system(pkg-config --variable=udevdir udev) +} + target.path = $$PREFIX/bin -udev.path = /lib/udev/rules.d +udev.path = $$UDEVDIR/rules.d udev.files = 60-livescribe.rules icon_scalable.path = $$PREFIX/share/icons/hicolor/scalable/apps |