fingerterm.pro 1.22 KB
Newer Older
Herrie's avatar
Herrie committed
1
QT = core gui qml quick dbus 
2

3
CONFIG += link_pkgconfig
4

5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
enable-feedback {
    QT += feedback  
    DEFINES += HAVE_FEEDBACK  
}

enable-nemonotifications {
    PKGCONFIG += nemonotifications-qt5  
}

isEmpty(DEFAULT_FONT) {
    DEFINES += DEFAULT_FONTFAMILY=\\\"monospace\\\"  
}

defined(DEFAULT_FONT)
{
	DEFINES += DEFAULT_FONTFAMILY=\\\"$$DEFAULT_FONT\\\"
}

23
TEMPLATE = app
Aard's avatar
Aard committed
24
TARGET = fingerterm
25 26 27 28 29 30 31 32 33 34 35 36
DEPENDPATH += .
INCLUDEPATH += .
LIBS += -lutil

# Input
HEADERS += \
    ptyiface.h \
    terminal.h \
    textrender.h \
    version.h \
    util.h \
    keyloader.h \
Herrie's avatar
Herrie committed
37 38 39 40 41
    mainwindow.h 
SOURCES += \
    main.cpp \
    terminal.cpp \
    textrender.cpp \
42 43 44
    ptyiface.cpp \
    util.cpp \
    keyloader.cpp \
Herrie's avatar
Herrie committed
45
    mainwindow.cpp
46 47 48 49 50 51 52

OTHER_FILES += \
    qml/Main.qml \
    qml/Keyboard.qml \
    qml/Key.qml \
    qml/Lineview.qml \
    qml/Button.qml \
53
    qml/MenuFingerterm.qml \
54 55 56 57 58 59 60
    qml/NotifyWin.qml \
    qml/UrlWindow.qml \
    qml/LayoutWindow.qml

RESOURCES += \
    resources.qrc

61 62
target.path = /usr/bin
INSTALLS += target
63

Aard's avatar
Aard committed
64
contains(MEEGO_EDITION,nemo) {
65
    desktopfile.extra = cp $${TARGET}.desktop.nemo $${TARGET}.desktop
Aard's avatar
Aard committed
66
    desktopfile.path = /usr/share/applications
67
    desktopfile.files = $${TARGET}.desktop
Aard's avatar
Aard committed
68 69
    INSTALLS += desktopfile
}