| [2] | 1 | #
|
|---|
| 2 | # Psi qmake profile
|
|---|
| 3 | #
|
|---|
| 4 |
|
|---|
| 5 | # Configuration
|
|---|
| 6 | TEMPLATE = app
|
|---|
| 7 | CONFIG += qt thread x11
|
|---|
| 8 |
|
|---|
| 9 | #CONFIG += use_crash
|
|---|
| 10 | #DEFINES += GPG_DEBUG
|
|---|
| 11 |
|
|---|
| [16] | 12 | os2:DEFINES += MAP_NDNS_TO_QDNS
|
|---|
| 13 |
|
|---|
| [2] | 14 | # Executable name
|
|---|
| 15 | TARGET = psi
|
|---|
| 16 |
|
|---|
| [16] | 17 | os2:DESTDIR = ../psios2
|
|---|
| [2] | 18 |
|
|---|
| [16] | 19 | debug: {
|
|---|
| 20 | MOC_DIR = debug/.moc
|
|---|
| 21 | OBJECTS_DIR = debug/.obj
|
|---|
| 22 | UI_DIR = debug/.ui
|
|---|
| 23 | } else {
|
|---|
| 24 | MOC_DIR = .moc
|
|---|
| 25 | OBJECTS_DIR = .obj
|
|---|
| 26 | UI_DIR = .ui
|
|---|
| 27 | }
|
|---|
| 28 |
|
|---|
| [2] | 29 | # qconf
|
|---|
| 30 | exists(../conf.pri) {
|
|---|
| 31 | include(../conf.pri)
|
|---|
| 32 |
|
|---|
| 33 | # Shared files
|
|---|
| 34 | sharedfiles.path = $$DATADIR
|
|---|
| 35 | sharedfiles.files = ../README ../COPYING ../iconsets ../sound ../certs
|
|---|
| 36 | INSTALLS += sharedfiles
|
|---|
| 37 |
|
|---|
| 38 | # Widgets
|
|---|
| 39 | #widgets.path = $$DATADIR/designer
|
|---|
| 40 | #widgets.files = ../libpsi/psiwidgets/libpsiwidgets.so
|
|---|
| 41 | #INSTALLS += widgets
|
|---|
| 42 |
|
|---|
| 43 | # icons and desktop files
|
|---|
| 44 | dt.path=$$PREFIX/share/applications/
|
|---|
| 45 | dt.files = ../psi.desktop
|
|---|
| 46 | icon1.path=$$PREFIX/share/icons/hicolor/16x16/apps
|
|---|
| 47 | icon1.extra = cp -f ../iconsets/system/default/icon_16.png $(INSTALL_ROOT)$$icon1.path/psi.png
|
|---|
| 48 | icon2.path=$$PREFIX/share/icons/hicolor/32x32/apps
|
|---|
| 49 | icon2.extra = cp -f ../iconsets/system/default/icon_32.png $(INSTALL_ROOT)$$icon2.path/psi.png
|
|---|
| 50 | icon3.path=$$PREFIX/share/icons/hicolor/48x48/apps
|
|---|
| 51 | icon3.extra = cp -f ../iconsets/system/default/icon_48.png $(INSTALL_ROOT)$$icon3.path/psi.png
|
|---|
| 52 | INSTALLS += dt icon1 icon2 icon3
|
|---|
| 53 | }
|
|---|
| 54 |
|
|---|
| 55 | win32: {
|
|---|
| 56 | include(../conf_win32.pri)
|
|---|
| 57 | }
|
|---|
| [16] | 58 | os2: {
|
|---|
| 59 | include(../conf_os2.pri)
|
|---|
| 60 | }
|
|---|
| [2] | 61 |
|
|---|
| 62 | # qxml
|
|---|
| 63 | !isEmpty(QXML_STATIC) {
|
|---|
| 64 | unix: {
|
|---|
| 65 | INCLUDEPATH += tools/qxml
|
|---|
| 66 | HEADERS += tools/qxml/qxml.h tools/qxml/qdom.h
|
|---|
| 67 | SOURCES += tools/qxml/qxml.cpp tools/qxml/qdom.cpp
|
|---|
| 68 | }
|
|---|
| 69 | }
|
|---|
| 70 |
|
|---|
| 71 | # IPv6 ?
|
|---|
| 72 | #DEFINES += NO_NDNS
|
|---|
| 73 |
|
|---|
| 74 | # include some of cutestuff
|
|---|
| 75 | CONFIG += psics
|
|---|
| 76 | IRISCS_CPP = ../../cutestuff
|
|---|
| 77 | exists(../cutestuff) {
|
|---|
| 78 | IRISCS_CPP = ../cutestuff
|
|---|
| 79 | }
|
|---|
| 80 | PSICS_CPP = tools
|
|---|
| 81 | include(../psics.pri)
|
|---|
| 82 |
|
|---|
| 83 | # qca
|
|---|
| 84 | #DEFINES += QCA_STATIC
|
|---|
| 85 | #QCA_PREFIX = ../qca
|
|---|
| 86 | #!exists(../qca) {
|
|---|
| 87 | # QCA_PREFIX = ../../qca/src
|
|---|
| 88 | #}
|
|---|
| 89 | #INCLUDEPATH += $$QCA_PREFIX
|
|---|
| 90 | #HEADERS += $$QCA_PREFIX/qca.h $$QCA_PREFIX/qcaprovider.h
|
|---|
| 91 | #SOURCES += $$QCA_PREFIX/qca.cpp
|
|---|
| 92 |
|
|---|
| 93 | # libxmpp
|
|---|
| 94 | #CONFIG += xmpp
|
|---|
| 95 | #XMPP_BASE = ../../xmpp
|
|---|
| 96 | #exists(../xmpp) {
|
|---|
| 97 | # XMPP_BASE = ../xmpp
|
|---|
| 98 | #}
|
|---|
| 99 | #include($$XMPP_BASE/xmpp.pri)
|
|---|
| 100 |
|
|---|
| 101 | # include Iris XMPP library
|
|---|
| 102 | #CONFIG += iris
|
|---|
| 103 | IRIS_BASE = ../../iris
|
|---|
| 104 | exists(../iris) {
|
|---|
| 105 | IRIS_BASE = ../iris
|
|---|
| 106 | }
|
|---|
| 107 | include(../iris.pri)
|
|---|
| 108 |
|
|---|
| 109 | # include Psi library
|
|---|
| 110 | CONFIG += libpsi
|
|---|
| 111 | LIBPSI_CPP = ../../libpsi
|
|---|
| 112 | exists(../libpsi) {
|
|---|
| 113 | LIBPSI_CPP = ../libpsi
|
|---|
| 114 | }
|
|---|
| 115 | include(../libpsi.pri)
|
|---|
| 116 |
|
|---|
| 117 | # Psi sources
|
|---|
| 118 | PSI_CPP = .
|
|---|
| 119 |
|
|---|
| 120 | # Header files
|
|---|
| 121 | HEADERS += \
|
|---|
| 122 | $$PSI_CPP/varlist.h \
|
|---|
| 123 | $$PSI_CPP/showtextdlg.h \
|
|---|
| 124 | $$PSI_CPP/profiles.h \
|
|---|
| 125 | $$PSI_CPP/profiledlg.h \
|
|---|
| 126 | $$PSI_CPP/main.h \
|
|---|
| 127 | $$PSI_CPP/psiaccount.h \
|
|---|
| 128 | $$PSI_CPP/psicon.h \
|
|---|
| 129 | $$PSI_CPP/psievent.h \
|
|---|
| 130 | $$PSI_CPP/xmlconsole.h \
|
|---|
| 131 | $$PSI_CPP/contactview.h \
|
|---|
| 132 | $$PSI_CPP/psiiconset.h \
|
|---|
| 133 | $$PSI_CPP/userlist.h \
|
|---|
| 134 | $$PSI_CPP/mainwin.h \
|
|---|
| 135 | $$PSI_CPP/mainwin_p.h \
|
|---|
| 136 | $$PSI_CPP/rtparse.h \
|
|---|
| 137 | $$PSI_CPP/common.h \
|
|---|
| 138 | $$PSI_CPP/proxy.h \
|
|---|
| 139 | $$PSI_CPP/accountdlg.h \
|
|---|
| 140 | $$PSI_CPP/changepwdlg.h \
|
|---|
| 141 | $$PSI_CPP/msgmle.h \
|
|---|
| 142 | $$PSI_CPP/statusdlg.h \
|
|---|
| 143 | $$PSI_CPP/eventdlg.h \
|
|---|
| 144 | $$PSI_CPP/chatdlg.h \
|
|---|
| 145 | $$PSI_CPP/tabdlg.h \
|
|---|
| 146 | $$PSI_CPP/adduserdlg.h \
|
|---|
| 147 | $$PSI_CPP/groupchatdlg.h \
|
|---|
| 148 | $$PSI_CPP/infodlg.h \
|
|---|
| 149 | $$PSI_CPP/eventdb.h \
|
|---|
| 150 | $$PSI_CPP/historydlg.h \
|
|---|
| 151 | $$PSI_CPP/servicesdlg.h \
|
|---|
| 152 | $$PSI_CPP/jltest.h \
|
|---|
| 153 | # $$PSI_CPP/browserdlg.h \
|
|---|
| 154 | $$PSI_CPP/psitoolbar.h \
|
|---|
| 155 | $$PSI_CPP/passphrasedlg.h \
|
|---|
| 156 | $$PSI_CPP/vcardfactory.h \
|
|---|
| 157 | $$PSI_CPP/sslcertdlg.h \
|
|---|
| 158 | $$PSI_CPP/qwextend.h \
|
|---|
| 159 | $$PSI_CPP/tasklist.h \
|
|---|
| 160 | $$PSI_CPP/discodlg.h \
|
|---|
| 161 | $$PSI_CPP/alerticon.h \
|
|---|
| 162 | $$PSI_CPP/psipopup.h \
|
|---|
| 163 | $$PSI_CPP/psiapplication.h \
|
|---|
| 164 | $$PSI_CPP/filetransdlg.h \
|
|---|
| 165 | $$PSI_CPP/avatars.h \
|
|---|
| 166 | $$PSI_CPP/actionlist.h \
|
|---|
| 167 | $$PSI_CPP/psiactionlist.h \
|
|---|
| 168 | $$PSI_CPP/xdata_widget.h \
|
|---|
| 169 | $$PSI_CPP/xmpp_xdata.h
|
|---|
| 170 |
|
|---|
| 171 | # Source files
|
|---|
| 172 | SOURCES += \
|
|---|
| 173 | $$PSI_CPP/varlist.cpp \
|
|---|
| 174 | $$PSI_CPP/showtextdlg.cpp \
|
|---|
| 175 | $$PSI_CPP/psi_profiles.cpp \
|
|---|
| 176 | $$PSI_CPP/profiledlg.cpp \
|
|---|
| 177 | $$PSI_CPP/main.cpp \
|
|---|
| 178 | $$PSI_CPP/psiaccount.cpp \
|
|---|
| 179 | $$PSI_CPP/psicon.cpp \
|
|---|
| 180 | $$PSI_CPP/psievent.cpp \
|
|---|
| 181 | $$PSI_CPP/xmlconsole.cpp \
|
|---|
| 182 | $$PSI_CPP/contactview.cpp \
|
|---|
| 183 | $$PSI_CPP/psiiconset.cpp \
|
|---|
| 184 | $$PSI_CPP/userlist.cpp \
|
|---|
| 185 | $$PSI_CPP/mainwin.cpp \
|
|---|
| 186 | $$PSI_CPP/mainwin_p.cpp \
|
|---|
| 187 | $$PSI_CPP/rtparse.cpp \
|
|---|
| 188 | $$PSI_CPP/common.cpp \
|
|---|
| 189 | $$PSI_CPP/proxy.cpp \
|
|---|
| 190 | $$PSI_CPP/accountdlg.cpp \
|
|---|
| 191 | $$PSI_CPP/changepwdlg.cpp \
|
|---|
| 192 | $$PSI_CPP/msgmle.cpp \
|
|---|
| 193 | $$PSI_CPP/statusdlg.cpp \
|
|---|
| 194 | $$PSI_CPP/eventdlg.cpp \
|
|---|
| 195 | $$PSI_CPP/chatdlg.cpp \
|
|---|
| 196 | $$PSI_CPP/tabdlg.cpp \
|
|---|
| 197 | $$PSI_CPP/adduserdlg.cpp \
|
|---|
| 198 | $$PSI_CPP/groupchatdlg.cpp \
|
|---|
| 199 | $$PSI_CPP/infodlg.cpp \
|
|---|
| 200 | $$PSI_CPP/eventdb.cpp \
|
|---|
| 201 | $$PSI_CPP/historydlg.cpp \
|
|---|
| 202 | $$PSI_CPP/servicesdlg.cpp \
|
|---|
| 203 | $$PSI_CPP/jltest.cpp \
|
|---|
| 204 | # $$PSI_CPP/browserdlg.cpp \
|
|---|
| 205 | $$PSI_CPP/psitoolbar.cpp \
|
|---|
| 206 | $$PSI_CPP/passphrasedlg.cpp \
|
|---|
| 207 | $$PSI_CPP/vcardfactory.cpp \
|
|---|
| 208 | $$PSI_CPP/sslcertdlg.cpp \
|
|---|
| 209 | $$PSI_CPP/qwextend.cpp \
|
|---|
| 210 | $$PSI_CPP/discodlg.cpp \
|
|---|
| 211 | $$PSI_CPP/alerticon.cpp \
|
|---|
| 212 | $$PSI_CPP/psipopup.cpp \
|
|---|
| 213 | $$PSI_CPP/psiapplication.cpp \
|
|---|
| 214 | $$PSI_CPP/filetransdlg.cpp \
|
|---|
| 215 | $$PSI_CPP/avatars.cpp \
|
|---|
| 216 | $$PSI_CPP/actionlist.cpp \
|
|---|
| 217 | $$PSI_CPP/psiactionlist.cpp \
|
|---|
| |
|---|