summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swift/QtUI/Swift.pro')
-rw-r--r--Swift/QtUI/Swift.pro92
1 files changed, 92 insertions, 0 deletions
diff --git a/Swift/QtUI/Swift.pro b/Swift/QtUI/Swift.pro
new file mode 100644
index 0000000..16db0d1
--- /dev/null
+++ b/Swift/QtUI/Swift.pro
@@ -0,0 +1,92 @@
+TEMPLATE = app
+QT += webkit
+CONFIG += debug
+unix:!mac {
+ TARGET = swift
+}
+else {
+ TARGET = Swift
+}
+
+win32 {
+ CONFIG += console
+
+ # Configuration
+ HAVE_EXPAT=yes
+ USE_BUNDLED_EXPAT=yes
+ DEFINES += HAVE_EXPAT
+
+ HAVE_OPENSSL=yes
+ DEFINES += HAVE_OPENSSL
+ INCLUDEPATH += F:/OpenSSL/include
+ LIBS += -LF:/OpenSSL/lib/VC -llibeay32MT -lssleay32MT
+
+ include(Swiften.pri)
+ LIBS += -ldnsapi -lws2_32 -lwsock32
+}
+else {
+ DEPENDPATH += . ../.. ../../3rdParty/Boost
+ INCLUDEPATH += . ../.. ../../3rdParty/Boost
+ LIBS += ../../Swiften/Swiften.a -lexpat -lssl -lcrypto
+ unix {
+ LIBS += -lresolv
+ }
+}
+
+# Resources
+win32 {
+ RC_FILE = ../../resources/Windows/Swift.rc
+}
+mac {
+ ICON = ../../resources/MacOSX/Swift.icns
+}
+
+DEFINES += BOOST_SIGNALS_NAMESPACE=bsignals BOOST_ALL_NO_LIB
+
+HEADERS += \
+ QtChatWindow.h \
+ QtChatWindowFactory.h \
+ QtJoinMUCDialog.h \
+ QtLoginWindow.h \
+ QtLoginWindowFactory.h \
+ QtMainEventLoop.h \
+ QtMainWindow.h \
+ QtMainWindowFactory.h \
+ QtSettingsProvider.h \
+ QtStatusWidget.h \
+ QtSwift.h \
+ QtTreeWidget.h \
+ QtTreeWidgetFactory.h \
+ QtTreeWidgetItem.h \
+ QtChatView.h \
+ ChatSnippet.h \
+ MessageSnippet.h \
+ SystemMessageSnippet.h
+
+SOURCES += \
+ main.cpp \
+ QtChatWindow.cpp \
+ QtChatWindowFactory.cpp \
+ QtJoinMUCDialog.cpp \
+ QtLoginWindow.cpp \
+ QtLoginWindowFactory.cpp \
+ QtMainWindow.cpp \
+ QtMainWindowFactory.cpp \
+ QtSettingsProvider.cpp \
+ QtStatusWidget.cpp \
+ QtSwift.cpp \
+ QtTreeWidget.cpp \
+ QtChatView.cpp \
+ ChatSnippet.cpp \
+ MessageSnippet.cpp \
+ SystemMessageSnippet.cpp
+
+FORMS += QtJoinMUCDialog.ui
+
+RESOURCES += Swift.qrc DefaultTheme.qrc
+
+win32 {
+ DefaultThemeQRC.target = DefaultTheme.qrc
+ DefaultThemeQRC.commands = ..\..\tools\ThemeQRC.py ../../resources/themes/Default > DefaultTheme.qrc
+ QMAKE_EXTRA_TARGETS = DefaultThemeQRC
+}