aboutsummaryrefslogtreecommitdiff
path: root/src/kristall.pro
blob: e46b7355971ae41f259ad3fff345d42afb1382b6 (plain) (blame)
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
QT       += core gui svg

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets network multimedia multimediawidgets

CONFIG += c++17

# The following define makes your compiler emit warnings if you use
# any Qt feature that has been marked deprecated (the exact warnings
# depend on your compiler). Please consult the documentation of the
# deprecated API in order to know how to port your code away from it.
DEFINES += QT_DEPRECATED_WARNINGS

# You can also make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
# You can also select to disable deprecated APIs only up to a certain version of Qt.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0

LIBS += -lcrypto
QMAKE_CFLAGS += -Wno-unused-parameter
QMAKE_CXXFLAGS += -Wno-unused-parameter

win32-msvc {
    QMAKE_CFLAGS -= -Wno-unused-parameter
    QMAKE_CXXFLAGS -= -Wno-unused-parameter

    QMAKE_CFLAGS += /permissive-
    QMAKE_CXXFLAGS += /permissive-
    LIBS -= -lcrypto
    LIBS += "C:\Program Files\OpenSSL\lib\libcrypto.lib"
    INCLUDEPATH += "C:\Program Files\OpenSSL\include"
}

android: include(/home/felix/projects/android-hass/android-sdk/android_openssl/openssl.pri)

# android {
#   INCLUDEPATH += /home/felix/projects/android-hass/android-sdk/android_openssl/static/include
#   LIBS += -L /home/felix/projects/android-hass/android-sdk/android_openssl/static/lib/arm/
# }

INCLUDEPATH += $$PWD/../lib/luis-l-gist/
DEPENDPATH += $$PWD/../lib/luis-l-gist/

SOURCES += \
    ../lib/luis-l-gist/interactiveview.cpp \
    browsertab.cpp \
    certificatehelper.cpp \
    certificatemanagementdialog.cpp \
    certificateselectiondialog.cpp \
    cryptoidentity.cpp \
    documentoutlinemodel.cpp \
    documentstyle.cpp \
    elidelabel.cpp \
    favouritecollection.cpp \
    fingerclient.cpp \
    geminiclient.cpp \
    geminirenderer.cpp \
    gopherclient.cpp \
    gophermaprenderer.cpp \
    identitycollection.cpp \
    ioutil.cpp \
    main.cpp \
    mainwindow.cpp \
    mediaplayer.cpp \
    newidentitiydialog.cpp \
    plaintextrenderer.cpp \
    protocolsetup.cpp \
    settingsdialog.cpp \
    ssltrust.cpp \
    tabbrowsinghistory.cpp \
    trustedhost.cpp \
    trustedhostcollection.cpp \
    webclient.cpp

HEADERS += \
    ../lib/luis-l-gist/interactiveview.hpp \
    browsertab.hpp \
    certificatehelper.hpp \
    certificatemanagementdialog.hpp \
    certificateselectiondialog.hpp \
    cryptoidentity.hpp \
    documentoutlinemodel.hpp \
    documentstyle.hpp \
    elidelabel.hpp \
    favouritecollection.hpp \
    fingerclient.hpp \
    geminiclient.hpp \
    geminirenderer.hpp \
    gopherclient.hpp \
    gophermaprenderer.hpp \
    identitycollection.hpp \
    ioutil.hpp \
    kristall.hpp \
    mainwindow.hpp \
    mediaplayer.hpp \
    newidentitiydialog.hpp \
    plaintextrenderer.hpp \
    protocolsetup.hpp \
    settingsdialog.hpp \
    ssltrust.hpp \
    tabbrowsinghistory.hpp \
    trustedhost.hpp \
    trustedhostcollection.hpp \
    webclient.hpp

FORMS += \
    browsertab.ui \
    certificatemanagementdialog.ui \
    certificateselectiondialog.ui \
    mainwindow.ui \
    mediaplayer.ui \
    newidentitiydialog.ui \
    settingsdialog.ui

TRANSLATIONS += \
    kristall_en_US.ts

# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target

RESOURCES += \
  ../lib/BreezeStyleSheets/breeze.qrc \
  builtins.qrc \
  icons.qrc

DISTFILES += \
  gophertypes.txt