2010-05-02 16:15:02 -04:00
|
|
|
CONFIG += qt gui uic qrc resources uitools idle
|
2010-02-14 10:50:10 -05:00
|
|
|
QT += network xml script opengl
|
|
|
|
|
2009-12-13 16:59:26 -05:00
|
|
|
TEMPLATE = app
|
|
|
|
TARGET = RetroShare
|
|
|
|
|
2010-02-14 09:18:53 -05:00
|
|
|
DEFINES += RS_RELEASE_VERSION
|
2009-12-13 16:59:26 -05:00
|
|
|
RCC_DIR = temp/qrc
|
|
|
|
UI_DIR = temp/ui
|
|
|
|
MOC_DIR = temp/moc
|
|
|
|
|
2010-02-14 09:18:53 -05:00
|
|
|
#CONFIG += debug
|
|
|
|
debug {
|
2010-05-11 20:17:10 -04:00
|
|
|
QMAKE_CFLAGS += -g
|
2010-02-14 09:18:53 -05:00
|
|
|
}
|
|
|
|
|
2009-12-13 16:59:26 -05:00
|
|
|
################################# Linux ##########################################
|
|
|
|
# Put lib dir in QMAKE_LFLAGS so it appears before -L/usr/lib
|
|
|
|
linux-* {
|
2010-04-21 07:45:22 -04:00
|
|
|
#CONFIG += version_detail_bash_script
|
2010-04-10 10:56:34 -04:00
|
|
|
QMAKE_CXXFLAGS *= -D_FILE_OFFSET_BITS=64
|
2010-05-11 20:17:10 -04:00
|
|
|
|
|
|
|
system(which gpgme-config >/dev/null 2>&1) {
|
|
|
|
INCLUDEPATH += $$system(gpgme-config --cflags | sed -e "s/-I//g")
|
|
|
|
} else {
|
|
|
|
message(Could not find gpgme-config on your system, assuming gpgme.h is in /usr/include)
|
|
|
|
}
|
|
|
|
|
2009-12-13 16:59:26 -05:00
|
|
|
LIBS += ../../libretroshare/src/lib/libretroshare.a
|
2010-05-11 20:17:10 -04:00
|
|
|
LIBS += -lssl -lgpgme -lupnp -lXss
|
2010-04-27 08:30:46 -04:00
|
|
|
DEFINES *= HAVE_XSS # for idle time, libx screensaver extensions
|
2009-12-13 16:59:26 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
linux-g++ {
|
|
|
|
OBJECTS_DIR = temp/linux-g++/obj
|
|
|
|
}
|
|
|
|
|
|
|
|
linux-g++-64 {
|
|
|
|
OBJECTS_DIR = temp/linux-g++-64/obj
|
|
|
|
}
|
|
|
|
|
|
|
|
version_detail_bash_script {
|
|
|
|
DEFINES += ADD_LIBRETROSHARE_VERSION_INFO
|
|
|
|
QMAKE_EXTRA_TARGETS += write_version_detail
|
|
|
|
PRE_TARGETDEPS = write_version_detail
|
|
|
|
write_version_detail.commands = ./version_detail.sh
|
|
|
|
}
|
|
|
|
|
2010-02-10 03:00:31 -05:00
|
|
|
install_rs {
|
|
|
|
INSTALLS += binary_rs
|
|
|
|
binary_rs.path = $$(PREFIX)/usr/bin
|
|
|
|
binary_rs.files = ./RetroShare
|
|
|
|
}
|
|
|
|
|
2009-12-13 16:59:26 -05:00
|
|
|
#################### Cross compilation for windows under Linux ###################
|
|
|
|
|
|
|
|
win32-x-g++ {
|
|
|
|
OBJECTS_DIR = temp/win32-x-g++/obj
|
|
|
|
|
|
|
|
LIBS += ../../libretroshare/src/lib.win32xgcc/libretroshare.a
|
|
|
|
LIBS += ../../../../lib/win32-x-g++-v0.5/libssl.a
|
|
|
|
LIBS += ../../../../lib/win32-x-g++-v0.5/libcrypto.a
|
|
|
|
LIBS += ../../../../lib/win32-x-g++-v0.5/libgpgme.dll.a
|
|
|
|
LIBS += ../../../../lib/win32-x-g++-v0.5/libminiupnpc.a
|
|
|
|
LIBS += ../../../../lib/win32-x-g++-v0.5/libz.a
|
|
|
|
LIBS += -L${HOME}/.wine/drive_c/pthreads/lib -lpthreadGCE2
|
|
|
|
LIBS += -lQtUiTools
|
|
|
|
LIBS += -lws2_32 -luuid -lole32 -liphlpapi -lcrypt32 -gdi32
|
|
|
|
LIBS += -lole32 -lwinmm
|
|
|
|
|
|
|
|
DEFINES *= WIN32 WIN32_CROSS_UBUNTU
|
|
|
|
|
|
|
|
INCLUDEPATH += ../../../../gpgme-1.1.8/src/
|
|
|
|
INCLUDEPATH += ../../../../libgpg-error-1.7/src/
|
|
|
|
|
|
|
|
RC_FILE = gui/images/retroshare_win.rc
|
|
|
|
}
|
|
|
|
|
|
|
|
#################################### Windows #####################################
|
|
|
|
|
|
|
|
win32 {
|
|
|
|
|
|
|
|
OBJECTS_DIR = temp/obj
|
|
|
|
#LIBS += -L"D/Qt/2009.03/qt/plugins/imageformats"
|
|
|
|
#QTPLUGIN += qjpeg
|
|
|
|
|
|
|
|
LIBS += ../../libretroshare/src/lib/libretroshare.a
|
|
|
|
LIBS += -L"../../../../lib"
|
|
|
|
LIBS += -lssl -lcrypto -lgpgme -lpthreadGC2d -lminiupnpc -lz
|
|
|
|
LIBS += -lws2_32 -luuid -lole32 -liphlpapi -lcrypt32-cygwin -lgdi32
|
|
|
|
LIBS += -lole32 -lwinmm
|
|
|
|
RC_FILE = gui/images/retroshare_win.rc
|
|
|
|
|
|
|
|
GPG_ERROR_DIR = ../../../../libgpg-error-1.7
|
|
|
|
GPGME_DIR = ../../../../gpgme-1.1.8
|
|
|
|
INCLUDEPATH += . $${GPGME_DIR}/src $${GPG_ERROR_DIR}/src
|
|
|
|
}
|
|
|
|
|
|
|
|
##################################### MacOS ######################################
|
|
|
|
|
|
|
|
macx {
|
|
|
|
# ENABLE THIS OPTION FOR Univeral Binary BUILD.
|
|
|
|
# CONFIG += ppc x86
|
|
|
|
|
2010-02-16 18:08:48 -05:00
|
|
|
CONFIG += version_detail_bash_script
|
|
|
|
LIBS += ../../libretroshare/src/lib/libretroshare.a
|
|
|
|
LIBS += -lssl -lcrypto -lz -lgpgme -lgpg-error
|
|
|
|
LIBS += ../../../miniupnpc-1.0/libminiupnpc.a
|
|
|
|
|
|
|
|
INCLUDEPATH += .
|
2010-04-27 08:30:46 -04:00
|
|
|
#DEFINES* = MAC_IDLE # for idle feature
|
2010-02-16 18:08:48 -05:00
|
|
|
|
2009-12-13 16:59:26 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
############################## Common stuff ######################################
|
|
|
|
|
|
|
|
# On Linux systems that alredy have libssl and libcrypto it is advisable
|
|
|
|
# to rename the patched version of SSL to something like libsslxpgp.a and libcryptoxpg.a
|
|
|
|
|
|
|
|
# ###########################################
|
|
|
|
|
|
|
|
|
|
|
|
DEPENDPATH += . \
|
|
|
|
rsiface \
|
|
|
|
control \
|
|
|
|
gui \
|
|
|
|
lang \
|
|
|
|
util \
|
|
|
|
gui\bwgraph \
|
|
|
|
gui\chat \
|
|
|
|
gui\connect \
|
|
|
|
gui\images \
|
|
|
|
gui\common \
|
|
|
|
gui\toaster \
|
|
|
|
gui\help\browser \
|
|
|
|
gui\elastic
|
|
|
|
|
|
|
|
INCLUDEPATH += ../../libretroshare/src/
|
|
|
|
|
|
|
|
# Input
|
|
|
|
HEADERS += rshare.h \
|
2009-12-28 16:11:00 -05:00
|
|
|
gui/notifyqt.h \
|
2009-12-13 16:59:26 -05:00
|
|
|
control/bandwidthevent.h \
|
|
|
|
control/eventtype.h \
|
2010-01-08 08:00:00 -05:00
|
|
|
gui/QuickStartWizard.h \
|
2010-01-05 19:10:15 -05:00
|
|
|
gui/DetailsDialog.h \
|
2009-12-13 16:59:26 -05:00
|
|
|
gui/DLListDelegate.h \
|
|
|
|
gui/ULListDelegate.h \
|
|
|
|
gui/StartDialog.h \
|
|
|
|
gui/NetworkDialog.h \
|
|
|
|
gui/GenCertDialog.h \
|
|
|
|
gui/TransfersDialog.h \
|
|
|
|
gui/graphframe.h \
|
|
|
|
gui/linetypes.h \
|
|
|
|
gui/mainpage.h \
|
|
|
|
gui/mainpagestack.h \
|
|
|
|
gui/MainWindow.h \
|
2010-05-02 17:37:54 -04:00
|
|
|
gui/RSHumanReadableDelegate.h \
|
2009-12-13 16:59:26 -05:00
|
|
|
gui/TurtleRouterDialog.h \
|
2009-12-30 21:23:02 -05:00
|
|
|
gui/AboutDialog.h \
|
2009-12-13 16:59:26 -05:00
|
|
|
gui/AddLinksDialog.h \
|
|
|
|
gui/LinksDialog.h \
|
|
|
|
gui/ForumsDialog.h \
|
2010-01-02 10:47:07 -05:00
|
|
|
gui/forums/ForumDetails.h \
|
2009-12-13 16:59:26 -05:00
|
|
|
gui/forums/CreateForum.h \
|
|
|
|
gui/forums/CreateForumMsg.h \
|
|
|
|
gui/NetworkView.h \
|
|
|
|
gui/TrustView.h \
|
|
|
|
gui/MessengerWindow.h \
|
|
|
|
gui/PeersDialog.h \
|
|
|
|
gui/RemoteDirModel.h \
|
2010-03-10 16:38:26 -05:00
|
|
|
gui/RetroShareLink.h \
|
2009-12-13 16:59:26 -05:00
|
|
|
gui/SearchTreeWidget.h \
|
2010-02-01 09:47:54 -05:00
|
|
|
gui/SendLinkDialog.h \
|
2009-12-13 16:59:26 -05:00
|
|
|
gui/SearchDialog.h \
|
|
|
|
gui/SharedFilesDialog.h \
|
|
|
|
gui/ShareManager.h \
|
2010-04-08 12:33:10 -04:00
|
|
|
gui/ShareDialog.h \
|
2010-01-08 08:00:00 -05:00
|
|
|
gui/SFListDelegate.h \
|
2009-12-13 16:59:26 -05:00
|
|
|
gui/SoundManager.h \
|
|
|
|
gui/FileTransferInfoWidget.h \
|
|
|
|
gui/RsAutoUpdatePage.h \
|
|
|
|
gui/HelpDialog.h \
|
|
|
|
gui/InfoDialog.h \
|
|
|
|
gui/LogoBar.h \
|
|
|
|
gui/xprogressbar.h \
|
|
|
|
gui/plugins/PluginInterface.h \
|
|
|
|
gui/im_history/IMHistoryKeeper.h \
|
|
|
|
gui/im_history/IMHistoryReader.h \
|
|
|
|
gui/im_history/IMHistoryItem.h \
|
|
|
|
gui/im_history/IMHistoryWriter.h \
|
|
|
|
lang/languagesupport.h \
|
|
|
|
util/stringutil.h \
|
|
|
|
util/win32.h \
|
|
|
|
util/RetroStyleLabel.h \
|
|
|
|
util/dllexport.h \
|
|
|
|
util/NonCopyable.h \
|
|
|
|
util/rsutildll.h \
|
|
|
|
util/dllexport.h \
|
|
|
|
util/global.h \
|
|
|
|
util/rsqtutildll.h \
|
|
|
|
util/Interface.h \
|
|
|
|
util/PixmapMerging.h \
|
|
|
|
util/MouseEventFilter.h \
|
|
|
|
util/EventFilter.h \
|
|
|
|
util/Widget.h \
|
|
|
|
util/rsversion.h \
|
|
|
|
util/RsAction.h \
|
|
|
|
util/printpreview.h \
|
|
|
|
util/log.h \
|
|
|
|
util/misc.h \
|
|
|
|
gui/bwgraph/bwgraph.h \
|
|
|
|
gui/profile/ProfileView.h \
|
|
|
|
gui/profile/ProfileEdit.h \
|
|
|
|
gui/profile/ProfileWidget.h \
|
|
|
|
gui/profile/StatusMessage.h \
|
|
|
|
gui/chat/PopupChatDialog.h \
|
2010-05-11 20:17:10 -04:00
|
|
|
gui/chat/HandleRichText.h \
|
2010-05-02 16:15:02 -04:00
|
|
|
gui/channels/CreateChannel.h \
|
2010-01-19 19:29:40 -05:00
|
|
|
gui/channels/ChannelDetails.h \
|
2010-01-18 16:02:16 -05:00
|
|
|
gui/channels/CreateChannelMsg.h \
|
2009-12-13 16:59:26 -05:00
|
|
|
gui/connect/ConnectDialog.h \
|
|
|
|
gui/connect/ConfCertDialog.h \
|
|
|
|
gui/msgs/ChanMsgDialog.h \
|
2010-01-25 09:03:38 -05:00
|
|
|
gui/msgs/textformat.h \
|
2009-12-13 16:59:26 -05:00
|
|
|
gui/images/retroshare_win.rc.h \
|
2009-12-14 12:13:10 -05:00
|
|
|
gui/settings/rsharesettings.h \
|
2010-05-02 16:15:02 -04:00
|
|
|
gui/settings/rsettings.h \
|
|
|
|
gui/settings/rsettingswin.h \
|
|
|
|
gui/settings/GeneralPage.h \
|
|
|
|
gui/settings/DirectoriesPage.h \
|
|
|
|
gui/settings/ServerPage.h \
|
|
|
|
gui/settings/NetworkPage.h \
|
|
|
|
gui/settings/NotifyPage.h \
|
|
|
|
gui/settings/CryptoPage.h \
|
|
|
|
gui/settings/AppearancePage.h \
|
|
|
|
gui/settings/FileAssociationsPage.h \
|
|
|
|
gui/settings/SoundPage.h \
|
|
|
|
gui/settings/TransferPage.h \
|
2010-05-03 17:17:36 -04:00
|
|
|
gui/settings/ChatPage.h \
|
2010-05-02 16:15:02 -04:00
|
|
|
gui/settings/AddFileAssociationDialog.h \
|
2009-12-13 16:59:26 -05:00
|
|
|
gui/toaster/MessageToaster.h \
|
|
|
|
gui/toaster/OnlineToaster.h \
|
|
|
|
gui/toaster/ChatToaster.h \
|
|
|
|
gui/toaster/CallToaster.h \
|
|
|
|
gui/toaster/QtToaster.h \
|
|
|
|
gui/toaster/IQtToaster.h \
|
|
|
|
gui/toaster/RetroStyleLabelProxy.h \
|
|
|
|
gui/common/vmessagebox.h \
|
|
|
|
gui/common/rwindow.h \
|
|
|
|
gui/common/html.h \
|
|
|
|
gui/MessagesDialog.h \
|
|
|
|
gui/MessagesPopupDialog.h \
|
|
|
|
gui/help/browser/helpbrowser.h \
|
|
|
|
gui/help/browser/helptextbrowser.h \
|
|
|
|
gui/statusbar/peerstatus.h \
|
|
|
|
gui/statusbar/natstatus.h \
|
|
|
|
gui/statusbar/ratesstatus.h \
|
|
|
|
gui/advsearch/advancedsearchdialog.h \
|
|
|
|
gui/advsearch/expressionwidget.h \
|
|
|
|
gui/advsearch/guiexprelement.h \
|
|
|
|
gui/elastic/graphwidget.h \
|
|
|
|
gui/elastic/edge.h \
|
|
|
|
gui/elastic/arrow.h \
|
|
|
|
gui/elastic/node.h \
|
|
|
|
gui/NewsFeed.h \
|
|
|
|
gui/ChannelFeed.h \
|
|
|
|
gui/GeneralMsgDialog.h \
|
|
|
|
gui/ChanGroupDelegate.h \
|
|
|
|
gui/feeds/FeedHolder.h \
|
|
|
|
gui/feeds/ForumNewItem.h \
|
|
|
|
gui/feeds/ForumMsgItem.h \
|
|
|
|
gui/feeds/PeerItem.h \
|
|
|
|
gui/feeds/MsgItem.h \
|
|
|
|
gui/feeds/ChanNewItem.h \
|
|
|
|
gui/feeds/ChanMsgItem.h \
|
|
|
|
gui/feeds/BlogMsgItem.h \
|
|
|
|
gui/feeds/SubFileItem.h \
|
|
|
|
gui/feeds/SubDestItem.h \
|
2010-01-20 16:39:27 -05:00
|
|
|
gui/feeds/AttachFileItem.h \
|
2009-12-13 16:59:26 -05:00
|
|
|
gui/connect/ConnectFriendWizard.h
|
|
|
|
|
|
|
|
|
|
|
|
FORMS += gui/StartDialog.ui \
|
|
|
|
gui/GenCertDialog.ui \
|
2009-12-30 21:23:02 -05:00
|
|
|
gui/AboutDialog.ui \
|
2009-12-13 16:59:26 -05:00
|
|
|
gui/AddLinksDialog.ui \
|
2010-01-08 08:00:00 -05:00
|
|
|
gui/QuickStartWizard.ui \
|
2009-12-13 16:59:26 -05:00
|
|
|
gui/NetworkDialog.ui \
|
|
|
|
gui/TransfersDialog.ui \
|
|
|
|
gui/ForumsDialog.ui \
|
|
|
|
gui/MainWindow.ui \
|
|
|
|
gui/TurtleRouterDialog.ui \
|
|
|
|
gui/LinksDialog.ui \
|
|
|
|
gui/forums/CreateForum.ui \
|
|
|
|
gui/forums/CreateForumMsg.ui \
|
2010-01-02 10:47:07 -05:00
|
|
|
gui/forums/ForumDetails.ui \
|
2009-12-13 16:59:26 -05:00
|
|
|
gui/NetworkView.ui \
|
|
|
|
gui/TrustView.ui \
|
|
|
|
gui/MessengerWindow.ui \
|
|
|
|
gui/PeersDialog.ui \
|
|
|
|
gui/SearchDialog.ui \
|
2010-02-01 09:47:54 -05:00
|
|
|
gui/SendLinkDialog.ui \
|
2009-12-13 16:59:26 -05:00
|
|
|
gui/SharedFilesDialog.ui \
|
|
|
|
gui/ShareManager.ui \
|
2010-04-08 12:33:10 -04:00
|
|
|
gui/ShareDialog.ui \
|
2009-12-13 16:59:26 -05:00
|
|
|
gui/MessagesDialog.ui \
|
|
|
|
gui/MessagesPopupDialog.ui \
|
|
|
|
gui/help/browser/helpbrowser.ui \
|
|
|
|
gui/HelpDialog.ui \
|
|
|
|
gui/InfoDialog.ui \
|
2010-01-05 19:10:15 -05:00
|
|
|
gui/DetailsDialog.ui \
|
2010-02-24 07:58:24 -05:00
|
|
|
gui/bwgraph/bwgraph.ui \
|
2009-12-13 16:59:26 -05:00
|
|
|
gui/profile/ProfileView.ui \
|
|
|
|
gui/profile/ProfileEdit.ui \
|
|
|
|
gui/profile/ProfileWidget.ui \
|
|
|
|
gui/profile/StatusMessage.ui \
|
2010-05-02 16:15:02 -04:00
|
|
|
gui/channels/CreateChannel.ui \
|
2010-01-18 16:02:16 -05:00
|
|
|
gui/channels/CreateChannelMsg.ui \
|
2010-01-19 19:29:40 -05:00
|
|
|
gui/channels/ChannelDetails.ui \
|
2009-12-13 16:59:26 -05:00
|
|
|
gui/chat/PopupChatDialog.ui \
|
|
|
|
gui/connect/ConnectDialog.ui \
|
|
|
|
gui/connect/ConfCertDialog.ui \
|
|
|
|
gui/msgs/ChanMsgDialog.ui \
|
2010-05-02 16:15:02 -04:00
|
|
|
gui/settings/settings.ui \
|
|
|
|
gui/settings/GeneralPage.ui \
|
|
|
|
gui/settings/DirectoriesPage.ui \
|
|
|
|
gui/settings/ServerPage.ui \
|
|
|
|
gui/settings/NetworkPage.ui \
|
|
|
|
gui/settings/NotifyPage.ui \
|
|
|
|
gui/settings/CryptoPage.ui \
|
|
|
|
gui/settings/AppearancePage.ui \
|
|
|
|
gui/settings/TransferPage.ui \
|
|
|
|
gui/settings/SoundPage.ui \
|
2010-05-03 17:17:36 -04:00
|
|
|
gui/settings/ChatPage.ui \
|
2009-12-13 16:59:26 -05:00
|
|
|
gui/toaster/CallToaster.ui \
|
|
|
|
gui/toaster/ChatToaster.ui \
|
|
|
|
gui/toaster/MessageToaster.ui \
|
|
|
|
gui/toaster/OnlineToaster.ui \
|
|
|
|
gui/advsearch/AdvancedSearchDialog.ui \
|
|
|
|
gui/advsearch/expressionwidget.ui \
|
|
|
|
gui/NewsFeed.ui \
|
|
|
|
gui/ChannelFeed.ui \
|
|
|
|
gui/GeneralMsgDialog.ui \
|
|
|
|
gui/feeds/ForumNewItem.ui \
|
|
|
|
gui/feeds/ForumMsgItem.ui \
|
|
|
|
gui/feeds/PeerItem.ui \
|
|
|
|
gui/feeds/MsgItem.ui \
|
|
|
|
gui/feeds/ChanNewItem.ui \
|
|
|
|
gui/feeds/ChanMsgItem.ui \
|
|
|
|
gui/feeds/BlogMsgItem.ui \
|
|
|
|
gui/feeds/SubFileItem.ui \
|
|
|
|
gui/feeds/SubDestItem.ui \
|
2010-01-20 16:39:27 -05:00
|
|
|
gui/feeds/AttachFileItem.ui
|
2009-12-13 16:59:26 -05:00
|
|
|
|
|
|
|
SOURCES += main.cpp \
|
|
|
|
rshare.cpp \
|
2009-12-28 16:11:00 -05:00
|
|
|
gui/notifyqt.cpp \
|
2009-12-30 21:23:02 -05:00
|
|
|
gui/AboutDialog.cpp \
|
2010-01-08 08:00:00 -05:00
|
|
|
gui/QuickStartWizard.cpp \
|
2010-01-05 19:10:15 -05:00
|
|
|
gui/DetailsDialog.cpp \
|
2009-12-13 16:59:26 -05:00
|
|
|
gui/DLListDelegate.cpp \
|
|
|
|
gui/ULListDelegate.cpp \
|
|
|
|
gui/StartDialog.cpp \
|
|
|
|
gui/GenCertDialog.cpp \
|
|
|
|
gui/NetworkDialog.cpp \
|
|
|
|
gui/TransfersDialog.cpp \
|
|
|
|
gui/graphframe.cpp \
|
|
|
|
gui/mainpagestack.cpp \
|
|
|
|
gui/TurtleRouterDialog.cpp \
|
|
|
|
gui/MainWindow.cpp \
|
|
|
|
gui/LinksDialog.cpp \
|
|
|
|
gui/ForumsDialog.cpp \
|
2010-01-02 10:47:07 -05:00
|
|
|
gui/forums/ForumDetails.cpp \
|
2009-12-13 16:59:26 -05:00
|
|
|
gui/forums/CreateForum.cpp \
|
|
|
|
gui/forums/CreateForumMsg.cpp \
|
|
|
|
gui/NetworkView.cpp \
|
|
|
|
gui/TrustView.cpp \
|
|
|
|
gui/MessengerWindow.cpp \
|
|
|
|
gui/PeersDialog.cpp \
|
|
|
|
gui/RemoteDirModel.cpp \
|
|
|
|
gui/RsAutoUpdatePage.cpp \
|
2010-03-10 16:38:26 -05:00
|
|
|
gui/RetroShareLink.cpp \
|
2009-12-13 16:59:26 -05:00
|
|
|
gui/SearchTreeWidget.cpp \
|
|
|
|
gui/SearchDialog.cpp \
|
2010-02-01 09:47:54 -05:00
|
|
|
gui/SendLinkDialog.cpp \
|
2009-12-13 16:59:26 -05:00
|
|
|
gui/AddLinksDialog.cpp \
|
|
|
|
gui/SharedFilesDialog.cpp \
|
|
|
|
gui/ShareManager.cpp \
|
2010-04-08 12:33:10 -04:00
|
|
|
gui/ShareDialog.cpp \
|
2010-01-08 08:00:00 -05:00
|
|
|
gui/SFListDelegate.cpp \
|
2009-12-13 16:59:26 -05:00
|
|
|
gui/SoundManager.cpp \
|
|
|
|
gui/MessagesDialog.cpp \
|
|
|
|
gui/FileTransferInfoWidget.cpp \
|
|
|
|
gui/MessagesPopupDialog.cpp \
|
|
|
|
gui/im_history/IMHistoryKeeper.cpp \
|
|
|
|
gui/im_history/IMHistoryReader.cpp \
|
|
|
|
gui/im_history/IMHistoryItem.cpp \
|
|
|
|
gui/im_history/IMHistoryWriter.cpp \
|
|
|
|
gui/help/browser/helpbrowser.cpp \
|
|
|
|
gui/help/browser/helptextbrowser.cpp \
|
|
|
|
gui/HelpDialog.cpp \
|
|
|
|
gui/InfoDialog.cpp \
|
|
|
|
gui/LogoBar.cpp \
|
|
|
|
gui/xprogressbar.cpp \
|
|
|
|
lang/languagesupport.cpp \
|
|
|
|
util/stringutil.cpp \
|
|
|
|
util/win32.cpp \
|
|
|
|
util/RetroStyleLabel.cpp \
|
|
|
|
util/WidgetBackgroundImage.cpp \
|
|
|
|
util/NonCopyable.cpp \
|
|
|
|
util/PixmapMerging.cpp \
|
|
|
|
util/MouseEventFilter.cpp \
|
|
|
|
util/EventFilter.cpp \
|
|
|
|
util/Widget.cpp \
|
|
|
|
util/RsAction.cpp \
|
|
|
|
util/rsversion.cpp \
|
|
|
|
util/printpreview.cpp \
|
|
|
|
util/log.cpp \
|
|
|
|
gui/bwgraph/bwgraph.cpp \
|
|
|
|
gui/profile/ProfileView.cpp \
|
|
|
|
gui/profile/ProfileEdit.cpp \
|
|
|
|
gui/profile/ProfileWidget.cpp \
|
2010-02-24 07:58:24 -05:00
|
|
|
gui/profile/StatusMessage.cpp \
|
2010-05-02 16:15:02 -04:00
|
|
|
gui/channels/CreateChannel.cpp \
|
2010-01-18 16:02:16 -05:00
|
|
|
gui/channels/CreateChannelMsg.cpp \
|
2010-01-19 19:29:40 -05:00
|
|
|
gui/channels/ChannelDetails.cpp \
|
2009-12-13 16:59:26 -05:00
|
|
|
gui/chat/PopupChatDialog.cpp \
|
2010-05-11 20:17:10 -04:00
|
|
|
gui/chat/HandleRichText.cpp \
|
2009-12-13 16:59:26 -05:00
|
|
|
gui/connect/ConnectDialog.cpp \
|
|
|
|
gui/connect/ConfCertDialog.cpp \
|
|
|
|
gui/msgs/ChanMsgDialog.cpp \
|
|
|
|
gui/common/vmessagebox.cpp \
|
|
|
|
gui/common/rwindow.cpp \
|
2009-12-14 12:13:10 -05:00
|
|
|
gui/common/html.cpp \
|
|
|
|
gui/settings/rsharesettings.cpp \
|
2010-05-02 16:15:02 -04:00
|
|
|
gui/settings/rsettings.cpp \
|
|
|
|
gui/settings/rsettingswin.cpp \
|
|
|
|
gui/settings/GeneralPage.cpp \
|
|
|
|
gui/settings/DirectoriesPage.cpp \
|
|
|
|
gui/settings/ServerPage.cpp \
|
|
|
|
gui/settings/NetworkPage.cpp \
|
|
|
|
gui/settings/NotifyPage.cpp \
|
|
|
|
gui/settings/CryptoPage.cpp \
|
|
|
|
gui/settings/AppearancePage.cpp \
|
|
|
|
gui/settings/FileAssociationsPage.cpp \
|
|
|
|
gui/settings/SoundPage.cpp \
|
|
|
|
gui/settings/TransferPage.cpp \
|
2010-05-03 17:17:36 -04:00
|
|
|
gui/settings/ChatPage.cpp \
|
2010-05-02 16:15:02 -04:00
|
|
|
gui/settings/AddFileAssociationDialog.cpp \
|
2009-12-13 16:59:26 -05:00
|
|
|
gui/statusbar/peerstatus.cpp \
|
|
|
|
gui/statusbar/natstatus.cpp \
|
|
|
|
gui/statusbar/ratesstatus.cpp \
|
|
|
|
gui/toaster/ChatToaster.cpp \
|
|
|
|
gui/toaster/MessageToaster.cpp \
|
|
|
|
gui/toaster/CallToaster.cpp \
|
|
|
|
gui/toaster/OnlineToaster.cpp \
|
|
|
|
gui/toaster/QtToaster.cpp \
|
|
|
|
gui/advsearch/advancedsearchdialog.cpp \
|
|
|
|
gui/advsearch/expressionwidget.cpp \
|
|
|
|
gui/advsearch/guiexprelement.cpp \
|
|
|
|
gui/elastic/graphwidget.cpp \
|
|
|
|
gui/elastic/edge.cpp \
|
|
|
|
gui/elastic/arrow.cpp \
|
|
|
|
gui/elastic/node.cpp \
|
|
|
|
gui/NewsFeed.cpp \
|
|
|
|
gui/ChannelFeed.cpp \
|
|
|
|
gui/GeneralMsgDialog.cpp \
|
|
|
|
gui/ChanGroupDelegate.cpp \
|
|
|
|
gui/feeds/ForumNewItem.cpp \
|
|
|
|
gui/feeds/ForumMsgItem.cpp \
|
|
|
|
gui/feeds/PeerItem.cpp \
|
|
|
|
gui/feeds/MsgItem.cpp \
|
|
|
|
gui/feeds/ChanNewItem.cpp \
|
|
|
|
gui/feeds/ChanMsgItem.cpp \
|
|
|
|
gui/feeds/BlogMsgItem.cpp \
|
|
|
|
gui/feeds/SubFileItem.cpp \
|
|
|
|
gui/feeds/SubDestItem.cpp \
|
2010-01-20 16:39:27 -05:00
|
|
|
gui/feeds/AttachFileItem.cpp \
|
2009-12-13 16:59:26 -05:00
|
|
|
gui/connect/ConnectFriendWizard.cpp
|
|
|
|
|
|
|
|
RESOURCES += gui/images.qrc lang/lang.qrc gui/help/content/content.qrc
|
|
|
|
|
|
|
|
TRANSLATIONS += \
|
|
|
|
lang/retroshare_en.ts \
|
2010-03-26 12:20:12 -04:00
|
|
|
lang/retroshare_da.ts \
|
2009-12-13 16:59:26 -05:00
|
|
|
lang/retroshare_de.ts \
|
|
|
|
lang/retroshare_fr.ts \
|
2010-03-11 19:16:39 -05:00
|
|
|
lang/retroshare_ja_JP.ts \
|
2010-03-07 17:42:41 -05:00
|
|
|
lang/retroshare_ko.ts \
|
2009-12-13 16:59:26 -05:00
|
|
|
lang/retroshare_ru.ts \
|
|
|
|
lang/retroshare_tr.ts \
|
|
|
|
lang/retroshare_sv.ts \
|
2010-03-17 08:30:57 -04:00
|
|
|
lang/retroshare_zh_CN.ts
|
2010-03-22 17:59:33 -04:00
|
|
|
|
|
|
|
unfinishedtranslations {
|
|
|
|
|
|
|
|
TRANSLATIONS += \
|
|
|
|
lang/retroshare_bg.ts \
|
|
|
|
lang/retroshare_es.ts \
|
|
|
|
lang/retroshare_fi.ts \
|
|
|
|
lang/retroshare_af.ts \
|
|
|
|
lang/retroshare_gr.ts \
|
|
|
|
lang/retroshare_it.ts \
|
2010-03-22 18:06:08 -04:00
|
|
|
lang/retroshare_nl.ts \
|
2010-03-22 17:59:33 -04:00
|
|
|
lang/retroshare_pl.ts \
|
|
|
|
lang/retroshare_pt.ts \
|
|
|
|
lang/retroshare_sl.ts \
|
|
|
|
lang/retroshare_sr.ts \
|
|
|
|
lang/retroshare_zh_TW.ts
|
|
|
|
|
|
|
|
}
|
2009-12-13 16:59:26 -05:00
|
|
|
|
|
|
|
# Shifted Qt4.4 dependancies to here.
|
|
|
|
# qmake CONFIG=pluginmgr
|
|
|
|
|
|
|
|
pluginmgr {
|
|
|
|
|
|
|
|
SOURCES += gui/PluginsPage.cpp \
|
|
|
|
gui/PluginManagerWidget.cpp \
|
|
|
|
gui/PluginManager.cpp
|
|
|
|
|
|
|
|
HEADERS += gui/PluginsPage.h \
|
|
|
|
gui/PluginManagerWidget.h \
|
|
|
|
gui/PluginManager.h
|
|
|
|
|
|
|
|
DEFINES *= PLUGINMGR
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2010-02-25 08:12:18 -05:00
|
|
|
blogs {
|
|
|
|
|
|
|
|
DEPENDPATH += gui/unfinished \
|
|
|
|
|
|
|
|
HEADERS += gui/unfinished/blogs/BlogsDialog.h \
|
|
|
|
gui/unfinished/blogs/CreateBlog.h \
|
|
|
|
gui/unfinished/blogs/CreateBlogMsg.h \
|
2010-02-28 16:26:46 -05:00
|
|
|
gui/unfinished/blogs/BlogsMsgItem.h \
|
|
|
|
gui/unfinished/blogs/BlogDetails.h
|
2010-02-25 08:12:18 -05:00
|
|
|
|
|
|
|
FORMS += gui/unfinished/blogs/BlogsDialog.ui \
|
|
|
|
gui/unfinished/blogs/CreateBlog.ui \
|
|
|
|
gui/unfinished/blogs/CreateBlogMsg.ui \
|
2010-02-28 16:26:46 -05:00
|
|
|
gui/unfinished/blogs/BlogsMsgItem.ui \
|
|
|
|
gui/unfinished/blogs/BlogDetails.ui
|
2010-02-25 08:12:18 -05:00
|
|
|
|
|
|
|
SOURCES += gui/unfinished/blogs/BlogsDialog.cpp \
|
|
|
|
gui/unfinished/blogs/CreateBlog.cpp \
|
|
|
|
gui/unfinished/blogs/CreateBlogMsg.cpp \
|
2010-02-28 16:26:46 -05:00
|
|
|
gui/unfinished/blogs/BlogsMsgItem.cpp \
|
|
|
|
gui/unfinished/blogs/BlogDetails.cpp
|
2010-02-25 08:12:18 -05:00
|
|
|
|
|
|
|
DEFINES *= BLOGS
|
|
|
|
}
|
|
|
|
|
2009-12-13 16:59:26 -05:00
|
|
|
|
|
|
|
unfinished {
|
|
|
|
|
|
|
|
DEPENDPATH += gui/unfinished \
|
|
|
|
|
|
|
|
HEADERS += gui/unfinished/ApplicationWindow.h \
|
|
|
|
gui/unfinished/CalDialog.h \
|
|
|
|
gui/unfinished/ExampleDialog.h \
|
|
|
|
gui/unfinished/GamesDialog.h \
|
|
|
|
gui/unfinished/PhotoDialog.h \
|
|
|
|
gui/unfinished/PhotoShow.h \
|
2010-03-17 08:52:42 -04:00
|
|
|
gui/unfinished/StatisticDialog.h
|
2010-04-27 08:30:46 -04:00
|
|
|
|
2009-12-13 16:59:26 -05:00
|
|
|
|
|
|
|
FORMS += gui/unfinished/ApplicationWindow.ui \
|
|
|
|
gui/unfinished/CalDialog.ui \
|
|
|
|
gui/unfinished/ExampleDialog.ui \
|
|
|
|
gui/unfinished/GamesDialog.ui \
|
|
|
|
gui/unfinished/PhotoDialog.ui \
|
|
|
|
gui/unfinished/PhotoShow.ui \
|
2010-03-17 08:52:42 -04:00
|
|
|
gui/unfinished/StatisticDialog.ui
|
2009-12-13 16:59:26 -05:00
|
|
|
|
|
|
|
SOURCES += gui/unfinished/ApplicationWindow.cpp \
|
|
|
|
gui/unfinished/CalDialog.cpp \
|
|
|
|
gui/unfinished/ExampleDialog.cpp \
|
|
|
|
gui/unfinished/GamesDialog.cpp \
|
|
|
|
gui/unfinished/PhotoDialog.cpp \
|
|
|
|
gui/unfinished/PhotoShow.cpp \
|
2010-03-17 08:52:42 -04:00
|
|
|
gui/unfinished/StatisticDialog.cpp
|
2009-12-13 16:59:26 -05:00
|
|
|
|
|
|
|
DEFINES *= UNFINISHED
|
|
|
|
}
|
|
|
|
|
2010-04-27 08:30:46 -04:00
|
|
|
idle {
|
|
|
|
|
|
|
|
HEADERS += idle/idle.h
|
|
|
|
|
|
|
|
SOURCES += idle/idle.cpp \
|
|
|
|
idle/idle_platform.cpp
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2009-12-13 16:59:26 -05:00
|
|
|
|