2009-08-02 13:51:15 -04:00
|
|
|
CONFIG += qt gui uic qrc resources uitools debug pluginmgr #release newsettings
|
2009-03-01 10:18:34 -05:00
|
|
|
QT += network xml script
|
2009-02-01 09:05:24 -05:00
|
|
|
TEMPLATE = app
|
|
|
|
TARGET = RetroShare
|
|
|
|
|
2009-05-05 09:21:36 -04:00
|
|
|
DEFINES *= RS_RELEASE_VERSION
|
2009-01-25 14:05:53 -05:00
|
|
|
RCC_DIR = temp/qrc
|
|
|
|
UI_DIR = temp/ui
|
|
|
|
MOC_DIR = temp/moc
|
2008-03-03 09:41:15 -05:00
|
|
|
|
2009-02-01 09:05:24 -05:00
|
|
|
################################# Linux ##########################################
|
2009-05-23 11:13:01 -04:00
|
|
|
# Put lib dir in QMAKE_LFLAGS so it appears before -L/usr/lib
|
2009-02-01 09:05:24 -05:00
|
|
|
linux-g++ {
|
|
|
|
OBJECTS_DIR = temp/linux-g++/obj
|
2009-05-23 11:13:01 -04:00
|
|
|
QMAKE_LFLAGS += -L"../../../../lib/linux-g++"
|
2009-08-13 11:11:08 -04:00
|
|
|
CONFIG += version_detail_bash_script
|
2009-02-02 08:47:53 -05:00
|
|
|
}
|
|
|
|
linux-g++-64 {
|
|
|
|
OBJECTS_DIR = temp/linux-g++-64/obj
|
2009-05-23 11:13:01 -04:00
|
|
|
QMAKE_LFLAGS += -L"../../../../lib/linux-g++-64"
|
2009-08-13 11:11:08 -04:00
|
|
|
CONFIG += version_detail_bash_script
|
2009-02-01 09:05:24 -05:00
|
|
|
}
|
|
|
|
|
2009-08-13 11:11:08 -04:00
|
|
|
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
|
|
|
|
}
|
2009-02-01 09:05:24 -05:00
|
|
|
#################### Cross compilation for windows under Linux ###################
|
|
|
|
|
|
|
|
win32-x-g++ {
|
|
|
|
OBJECTS_DIR = temp/win32-x-g++/obj
|
|
|
|
|
2009-05-23 11:13:01 -04:00
|
|
|
LIBS += -L"../../../../lib/win32-x-g++"
|
|
|
|
LIBS += -lpthreadGCE2
|
|
|
|
LIBS += -lws2_32 -luuid -lole32 -liphlpapi -lcrypt32-cygwin -lgdi32
|
|
|
|
LIBS += -lole32 -lwinmm
|
2009-02-01 09:05:24 -05:00
|
|
|
|
2009-03-01 10:18:34 -05:00
|
|
|
DEFINES *= WIN32
|
|
|
|
|
2009-02-01 09:05:24 -05:00
|
|
|
RC_FILE = gui/images/retroshare_win.rc
|
|
|
|
}
|
|
|
|
|
|
|
|
#################################### Windows #####################################
|
|
|
|
|
|
|
|
win32 {
|
2009-05-08 19:07:08 -04:00
|
|
|
|
|
|
|
OBJECTS_DIR = temp/obj
|
2009-02-01 09:05:24 -05:00
|
|
|
|
|
|
|
LIBS += -L"../../../../lib" -lretroshare -lssl -lcrypto -lpthreadGC2d -lminiupnpc -lz
|
2009-02-24 16:39:17 -05:00
|
|
|
LIBS += -lws2_32 -luuid -lole32 -liphlpapi -lcrypt32-cygwin -lgdi32
|
2009-02-01 09:05:24 -05:00
|
|
|
LIBS += -lole32 -lwinmm
|
|
|
|
|
2009-05-01 12:17:24 -04:00
|
|
|
RC_FILE = gui/images/retroshare_win.rc
|
|
|
|
|
|
|
|
## ENABLE THIS OPTION for release Version.
|
|
|
|
#DEFINES += RS_RELEASE_VERSION
|
|
|
|
|
2009-05-08 19:07:08 -04:00
|
|
|
|
2009-02-01 09:05:24 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
##################################### MacOS ######################################
|
|
|
|
|
|
|
|
macx {
|
|
|
|
# ENABLE THIS OPTION FOR Univeral Binary BUILD.
|
|
|
|
# CONFIG += ppc x86
|
|
|
|
|
|
|
|
LIBS += -Wl,-search_paths_first
|
2009-05-07 15:54:40 -04:00
|
|
|
LIBS += -L"../../../../lib" -lretroshare -lssl -lcrypto -lminiupnpc -lz
|
2009-02-01 09:05:24 -05:00
|
|
|
}
|
2007-11-14 22:18:48 -05:00
|
|
|
|
2009-02-01 09:05:24 -05:00
|
|
|
############################## Common stuff ######################################
|
2007-11-14 22:18:48 -05:00
|
|
|
|
2009-07-08 10:49:20 -04:00
|
|
|
# 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
|
|
|
|
|
|
|
|
# comment the next option if you renamed libcrtypto and libssl
|
|
|
|
LIBS += -L"../../../../lib" -lretroshare -lminiupnpc -lssl -lcrypto
|
|
|
|
|
|
|
|
# uncomment the next option if you renamed libcrtypto and libssl
|
|
|
|
#LIBS += -L"../../../../lib" -lretroshare -lminiupnpc -lsslxpgp -lcryptoxpgp
|
|
|
|
|
|
|
|
# ###########################################
|
|
|
|
|
2009-07-30 17:48:54 -04:00
|
|
|
LIBS += -lz -lgpgme
|
2009-05-23 11:13:01 -04:00
|
|
|
LIBS += -lQtUiTools
|
|
|
|
|
2007-11-14 22:18:48 -05:00
|
|
|
DEPENDPATH += . \
|
|
|
|
rsiface \
|
|
|
|
control \
|
|
|
|
gui \
|
|
|
|
lang \
|
|
|
|
util \
|
|
|
|
games\qbackgammon \
|
|
|
|
gui\bwgraph \
|
|
|
|
gui\chat \
|
|
|
|
gui\connect \
|
|
|
|
gui\images \
|
|
|
|
gui\Preferences \
|
2008-08-20 17:39:03 -04:00
|
|
|
gui\common \
|
|
|
|
gui\library \
|
2007-11-14 22:18:48 -05:00
|
|
|
gui\toaster \
|
2008-08-05 14:36:07 -04:00
|
|
|
gui\help\browser \
|
2008-03-20 19:49:12 -04:00
|
|
|
gui\elastic
|
2007-11-14 22:18:48 -05:00
|
|
|
|
|
|
|
INCLUDEPATH += . \
|
|
|
|
|
|
|
|
# Input
|
|
|
|
HEADERS += rshare.h \
|
|
|
|
rsiface/rsiface.h \
|
|
|
|
rsiface/rstypes.h \
|
|
|
|
rsiface/notifyqt.h \
|
|
|
|
control/bandwidthevent.h \
|
|
|
|
control/eventtype.h \
|
|
|
|
gui/DLListDelegate.h \
|
|
|
|
gui/ULListDelegate.h \
|
|
|
|
gui/StartDialog.h \
|
2008-04-24 09:14:58 -04:00
|
|
|
gui/BlogDialog.h \
|
2009-05-01 08:45:27 -04:00
|
|
|
gui/CalDialog.h \
|
2007-11-14 22:18:48 -05:00
|
|
|
gui/NetworkDialog.h \
|
|
|
|
gui/GenCertDialog.h \
|
|
|
|
gui/TransfersDialog.h \
|
|
|
|
gui/graphframe.h \
|
|
|
|
gui/linetypes.h \
|
|
|
|
gui/mainpage.h \
|
|
|
|
gui/mainpagestack.h \
|
|
|
|
gui/MainWindow.h \
|
|
|
|
gui/ApplicationWindow.h \
|
|
|
|
gui/ExampleDialog.h \
|
2008-01-21 04:26:12 -05:00
|
|
|
gui/GamesDialog.h \
|
|
|
|
gui/PhotoDialog.h \
|
2009-08-16 16:10:53 -04:00
|
|
|
gui/TurtleRouterDialog.h \
|
2008-03-17 10:03:47 -04:00
|
|
|
gui/PhotoShow.h \
|
2009-08-18 03:37:22 -04:00
|
|
|
gui/AddLinksDialog.h \
|
2008-02-03 01:31:11 -05:00
|
|
|
gui/LinksDialog.h \
|
2008-08-19 18:08:48 -04:00
|
|
|
gui/LibraryDialog.h \
|
2008-04-09 08:57:26 -04:00
|
|
|
gui/ForumsDialog.h \
|
2008-04-15 12:40:38 -04:00
|
|
|
gui/forums/CreateForum.h \
|
|
|
|
gui/forums/CreateForumMsg.h \
|
2008-03-04 16:31:11 -05:00
|
|
|
gui/NetworkView.h \
|
2008-11-15 09:29:34 -05:00
|
|
|
gui/TrustView.h \
|
2007-11-14 22:18:48 -05:00
|
|
|
gui/MessengerWindow.h \
|
|
|
|
gui/PeersDialog.h \
|
2009-08-10 19:28:15 -04:00
|
|
|
gui/RemoteDirModel.h \
|
2009-05-18 10:23:55 -04:00
|
|
|
gui/RetroShareLinkAnalyzer.h \
|
2008-07-04 10:41:24 -04:00
|
|
|
gui/SearchTreeWidget.h \
|
2007-11-14 22:18:48 -05:00
|
|
|
gui/SearchDialog.h \
|
|
|
|
gui/SharedFilesDialog.h \
|
2008-12-10 20:19:34 -05:00
|
|
|
gui/ShareManager.h \
|
2007-11-14 22:18:48 -05:00
|
|
|
gui/StatisticDialog.h \
|
2009-07-17 07:21:40 -04:00
|
|
|
gui/SoundManager.h \
|
2007-11-14 22:18:48 -05:00
|
|
|
gui/HelpDialog.h \
|
|
|
|
gui/LogoBar.h \
|
2008-02-07 11:36:30 -05:00
|
|
|
gui/xprogressbar.h \
|
2009-02-01 11:18:10 -05:00
|
|
|
gui/plugins/PluginInterface.h \
|
2009-03-12 10:28:33 -04:00
|
|
|
gui/im_history/IMHistoryKeeper.h \
|
|
|
|
gui/im_history/IMHistoryReader.h \
|
|
|
|
gui/im_history/IMHistoryItem.h \
|
|
|
|
gui/im_history/IMHistoryWriter.h \
|
2007-11-14 22:18:48 -05:00
|
|
|
lang/languagesupport.h \
|
2008-08-15 13:49:57 -04:00
|
|
|
util/stringutil.h \
|
2007-11-14 22:18:48 -05:00
|
|
|
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 \
|
2009-08-13 11:11:08 -04:00
|
|
|
util/rsversion.h \
|
2007-11-14 22:18:48 -05:00
|
|
|
util/RsAction.h \
|
2008-03-26 10:22:51 -04:00
|
|
|
util/printpreview.h \
|
2008-08-15 13:49:57 -04:00
|
|
|
util/log.h \
|
2008-11-17 20:42:17 -05:00
|
|
|
util/misc.h \
|
2007-11-14 22:18:48 -05:00
|
|
|
gui/bwgraph/bwgraph.h \
|
2009-05-01 08:45:27 -04:00
|
|
|
gui/profile/ProfileView.h \
|
|
|
|
gui/profile/ProfileEdit.h \
|
2007-11-14 22:18:48 -05:00
|
|
|
gui/chat/PopupChatDialog.h \
|
|
|
|
gui/connect/ConnectDialog.h \
|
|
|
|
gui/connect/ConfCertDialog.h \
|
2008-08-20 17:39:03 -04:00
|
|
|
gui/library/FindWindow.h \
|
2007-11-14 22:18:48 -05:00
|
|
|
gui/msgs/ChanMsgDialog.h \
|
|
|
|
gui/msgs/ChanCreateDialog.h \
|
|
|
|
gui/images/retroshare_win.rc.h \
|
|
|
|
gui/Preferences/configpage.h \
|
|
|
|
gui/Preferences/configpagestack.h \
|
|
|
|
gui/Preferences/CryptographyDialog.h \
|
|
|
|
gui/Preferences/DirectoriesDialog.h \
|
2008-08-14 20:23:27 -04:00
|
|
|
gui/Preferences/AppearanceDialog.h \
|
2007-11-14 22:18:48 -05:00
|
|
|
gui/Preferences/GeneralDialog.h \
|
|
|
|
gui/Preferences/PreferencesWindow.h \
|
|
|
|
gui/Preferences/ServerDialog.h \
|
2008-12-07 09:19:13 -05:00
|
|
|
gui/Preferences/NotifyDialog.h \
|
2007-11-14 22:18:48 -05:00
|
|
|
gui/Preferences/ConfirmQuitDialog.h \
|
2008-08-14 20:23:27 -04:00
|
|
|
gui/Preferences/rsharesettings.h \
|
|
|
|
gui/Preferences/rsettings.h \
|
2009-04-07 04:08:03 -04:00
|
|
|
gui/Preferences/FileAssotiationsDialog.h \
|
|
|
|
gui/Preferences/AddFileAssotiationDialog.h \
|
2009-07-17 07:21:40 -04:00
|
|
|
gui/Preferences/SoundDialog.h \
|
2007-11-14 22:18:48 -05:00
|
|
|
gui/toaster/MessageToaster.h \
|
2008-08-08 15:47:50 -04:00
|
|
|
gui/toaster/OnlineToaster.h \
|
2007-11-14 22:18:48 -05:00
|
|
|
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 \
|
2008-08-05 14:36:07 -04:00
|
|
|
gui/common/html.h \
|
2007-11-14 22:18:48 -05:00
|
|
|
gui/MessagesDialog.h \
|
2009-01-08 12:29:01 -05:00
|
|
|
gui/MessagesPopupDialog.h \
|
2008-08-05 14:36:07 -04:00
|
|
|
gui/help/browser/helpbrowser.h \
|
|
|
|
gui/help/browser/helptextbrowser.h \
|
2008-06-15 11:34:56 -04:00
|
|
|
gui/statusbar/peerstatus.h \
|
2009-05-01 08:45:27 -04:00
|
|
|
gui/statusbar/dhtstatus.h \
|
2009-05-02 18:14:20 -04:00
|
|
|
gui/statusbar/natstatus.h \
|
|
|
|
gui/statusbar/ratesstatus.h \
|
2007-11-14 22:18:48 -05:00
|
|
|
gui/advsearch/advancedsearchdialog.h \
|
|
|
|
gui/advsearch/expressionwidget.h \
|
|
|
|
gui/advsearch/guiexprelement.h \
|
|
|
|
games/qbackgammon/bgwindow.h \
|
|
|
|
games/qbackgammon/bgwidget.h \
|
|
|
|
games/qbackgammon/bgboard.h \
|
2007-12-13 11:02:33 -05:00
|
|
|
games/qbackgammon/optionsdlg.h \
|
|
|
|
gui/channels/channelsDialog.h \
|
|
|
|
gui/channels/channelBrowserDialog.h \
|
|
|
|
gui/channels/channelStatsDialog.h \
|
|
|
|
gui/channels/myChannelsDialog.h \
|
2008-03-20 19:49:12 -04:00
|
|
|
gui/channels/mySubscriptionsDialog.h \
|
|
|
|
gui/elastic/graphwidget.h \
|
|
|
|
gui/elastic/edge.h \
|
2009-05-23 11:13:01 -04:00
|
|
|
gui/elastic/arrow.h \
|
2008-06-20 08:43:23 -04:00
|
|
|
gui/elastic/node.h \
|
|
|
|
gui/NewsFeed.h \
|
2008-07-04 10:41:24 -04:00
|
|
|
gui/PeersFeed.h \
|
|
|
|
gui/MsgFeed.h \
|
|
|
|
gui/TransferFeed.h \
|
2008-06-20 08:43:23 -04:00
|
|
|
gui/ChannelFeed.h \
|
2009-05-01 08:45:27 -04:00
|
|
|
gui/GeneralMsgDialog.h \
|
2008-06-20 08:43:23 -04:00
|
|
|
gui/feeds/FeedHolder.h \
|
|
|
|
gui/feeds/ForumNewItem.h \
|
|
|
|
gui/feeds/ForumMsgItem.h \
|
|
|
|
gui/feeds/PeerItem.h \
|
2008-07-04 10:41:24 -04:00
|
|
|
gui/feeds/MsgItem.h \
|
2008-06-20 08:43:23 -04:00
|
|
|
gui/feeds/ChanGroupItem.h \
|
|
|
|
gui/feeds/ChanMenuItem.h \
|
2008-07-04 10:41:24 -04:00
|
|
|
gui/feeds/ChanNewItem.h \
|
2008-06-20 08:43:23 -04:00
|
|
|
gui/feeds/ChanMsgItem.h \
|
|
|
|
gui/feeds/BlogMsgItem.h \
|
|
|
|
gui/feeds/SubFileItem.h \
|
2008-06-24 00:36:45 -04:00
|
|
|
gui/feeds/SubDestItem.h \
|
2009-03-26 12:58:06 -04:00
|
|
|
gui/connect/ConnectFriendWizard.h
|
2007-12-13 11:02:33 -05:00
|
|
|
|
2007-11-14 22:18:48 -05:00
|
|
|
|
2009-05-08 22:13:21 -04:00
|
|
|
FORMS += gui/BlogDialog.ui \
|
2009-05-01 08:45:27 -04:00
|
|
|
gui/CalDialog.ui \
|
2007-11-14 22:18:48 -05:00
|
|
|
gui/StartDialog.ui \
|
|
|
|
gui/GenCertDialog.ui \
|
2009-08-18 03:37:22 -04:00
|
|
|
gui/AddLinksDialog.ui \
|
2007-11-14 22:18:48 -05:00
|
|
|
gui/NetworkDialog.ui \
|
|
|
|
gui/TransfersDialog.ui \
|
|
|
|
gui/MainWindow.ui \
|
|
|
|
gui/ApplicationWindow.ui \
|
|
|
|
gui/ExampleDialog.ui \
|
2009-08-16 16:10:53 -04:00
|
|
|
gui/TurtleRouterDialog.ui \
|
2008-01-21 04:26:12 -05:00
|
|
|
gui/GamesDialog.ui \
|
|
|
|
gui/PhotoDialog.ui \
|
2008-03-17 10:03:47 -04:00
|
|
|
gui/PhotoShow.ui \
|
2008-02-03 01:31:11 -05:00
|
|
|
gui/LinksDialog.ui \
|
2008-08-19 18:08:48 -04:00
|
|
|
gui/LibraryDialog.ui \
|
2008-04-09 08:57:26 -04:00
|
|
|
gui/ForumsDialog.ui \
|
2008-04-15 12:40:38 -04:00
|
|
|
gui/forums/CreateForum.ui \
|
|
|
|
gui/forums/CreateForumMsg.ui \
|
2008-03-04 16:31:11 -05:00
|
|
|
gui/NetworkView.ui \
|
2008-11-15 09:29:34 -05:00
|
|
|
gui/TrustView.ui \
|
2007-11-14 22:18:48 -05:00
|
|
|
gui/MessengerWindow.ui \
|
|
|
|
gui/PeersDialog.ui \
|
|
|
|
gui/SearchDialog.ui \
|
|
|
|
gui/SharedFilesDialog.ui \
|
2009-05-01 08:45:27 -04:00
|
|
|
gui/ShareManager.ui \
|
2007-11-14 22:18:48 -05:00
|
|
|
gui/StatisticDialog.ui \
|
|
|
|
gui/MessagesDialog.ui \
|
2009-01-08 12:29:01 -05:00
|
|
|
gui/MessagesPopupDialog.ui \
|
2008-08-05 14:36:07 -04:00
|
|
|
gui/help/browser/helpbrowser.ui \
|
2007-11-14 22:18:48 -05:00
|
|
|
gui/HelpDialog.ui \
|
|
|
|
gui/bwgraph/bwgraph.ui \
|
2009-05-01 08:45:27 -04:00
|
|
|
gui/profile/ProfileView.ui \
|
|
|
|
gui/profile/ProfileEdit.ui \
|
2007-11-14 22:18:48 -05:00
|
|
|
gui/chat/PopupChatDialog.ui \
|
|
|
|
gui/connect/ConnectDialog.ui \
|
|
|
|
gui/connect/ConfCertDialog.ui \
|
|
|
|
gui/msgs/ChanMsgDialog.ui \
|
|
|
|
gui/msgs/ChanCreateDialog.ui \
|
|
|
|
gui/Preferences/CryptographyDialog.ui \
|
|
|
|
gui/Preferences/DirectoriesDialog.ui \
|
2008-08-14 20:23:27 -04:00
|
|
|
gui/Preferences/AppearanceDialog.ui \
|
2007-11-14 22:18:48 -05:00
|
|
|
gui/Preferences/GeneralDialog.ui \
|
|
|
|
gui/Preferences/PreferencesWindow.ui \
|
|
|
|
gui/Preferences/ServerDialog.ui \
|
2009-07-17 07:21:40 -04:00
|
|
|
gui/Preferences/NotifyDialog.ui \
|
|
|
|
gui/Preferences/SoundDialog.ui \
|
2007-11-14 22:18:48 -05:00
|
|
|
gui/Preferences/ConfirmQuitDialog.ui \
|
|
|
|
gui/toaster/CallToaster.ui \
|
|
|
|
gui/toaster/ChatToaster.ui \
|
|
|
|
gui/toaster/MessageToaster.ui \
|
2008-08-08 15:47:50 -04:00
|
|
|
gui/toaster/OnlineToaster.ui \
|
2009-03-12 10:28:33 -04:00
|
|
|
gui/advsearch/AdvancedSearchDialog.ui \
|
2007-12-13 11:02:33 -05:00
|
|
|
gui/advsearch/expressionwidget.ui \
|
|
|
|
gui/channels/ChannelsDialog.ui \
|
|
|
|
gui/channels/ChannelBrowserDialog.ui \
|
|
|
|
gui/channels/ChannelStatsDialog.ui \
|
|
|
|
gui/channels/MyChannelsDialog.ui \
|
2008-06-20 08:43:23 -04:00
|
|
|
gui/channels/MySubscriptionsDialog.ui \
|
|
|
|
gui/NewsFeed.ui \
|
2008-07-04 10:41:24 -04:00
|
|
|
gui/PeersFeed.ui \
|
|
|
|
gui/MsgFeed.ui \
|
|
|
|
gui/TransferFeed.ui \
|
2008-06-20 08:43:23 -04:00
|
|
|
gui/ChannelFeed.ui \
|
2009-05-08 22:13:21 -04:00
|
|
|
gui/GeneralMsgDialog.ui \
|
2008-06-20 08:43:23 -04:00
|
|
|
gui/feeds/ForumNewItem.ui \
|
|
|
|
gui/feeds/ForumMsgItem.ui \
|
|
|
|
gui/feeds/PeerItem.ui \
|
2008-07-04 10:41:24 -04:00
|
|
|
gui/feeds/MsgItem.ui \
|
2008-06-20 08:43:23 -04:00
|
|
|
gui/feeds/ChanGroupItem.ui \
|
|
|
|
gui/feeds/ChanMenuItem.ui \
|
2008-07-04 10:41:24 -04:00
|
|
|
gui/feeds/ChanNewItem.ui \
|
2008-06-20 08:43:23 -04:00
|
|
|
gui/feeds/ChanMsgItem.ui \
|
|
|
|
gui/feeds/BlogMsgItem.ui \
|
|
|
|
gui/feeds/SubFileItem.ui \
|
2008-06-24 00:36:45 -04:00
|
|
|
gui/feeds/SubDestItem.ui \
|
2007-11-14 22:18:48 -05:00
|
|
|
|
2009-05-08 22:13:21 -04:00
|
|
|
SOURCES += main.cpp \
|
2007-11-14 22:18:48 -05:00
|
|
|
rshare.cpp \
|
|
|
|
rsiface/notifyqt.cpp \
|
|
|
|
gui/DLListDelegate.cpp \
|
|
|
|
gui/ULListDelegate.cpp \
|
|
|
|
gui/StartDialog.cpp \
|
|
|
|
gui/GenCertDialog.cpp \
|
2008-04-24 09:14:58 -04:00
|
|
|
gui/BlogDialog.cpp \
|
2008-05-29 16:56:44 -04:00
|
|
|
gui/CalDialog.cpp \
|
2007-11-14 22:18:48 -05:00
|
|
|
gui/NetworkDialog.cpp \
|
|
|
|
gui/TransfersDialog.cpp \
|
|
|
|
gui/graphframe.cpp \
|
|
|
|
gui/mainpagestack.cpp \
|
2009-08-16 16:10:53 -04:00
|
|
|
gui/TurtleRouterDialog.cpp \
|
2007-11-14 22:18:48 -05:00
|
|
|
gui/MainWindow.cpp \
|
|
|
|
gui/ApplicationWindow.cpp \
|
|
|
|
gui/ExampleDialog.cpp \
|
2008-01-21 04:26:12 -05:00
|
|
|
gui/GamesDialog.cpp \
|
|
|
|
gui/PhotoDialog.cpp \
|
2008-03-17 10:03:47 -04:00
|
|
|
gui/PhotoShow.cpp \
|
2008-02-03 01:31:11 -05:00
|
|
|
gui/LinksDialog.cpp \
|
2008-08-19 18:08:48 -04:00
|
|
|
gui/LibraryDialog.cpp \
|
2008-04-09 08:57:26 -04:00
|
|
|
gui/ForumsDialog.cpp \
|
2008-04-15 12:40:38 -04:00
|
|
|
gui/forums/CreateForum.cpp \
|
|
|
|
gui/forums/CreateForumMsg.cpp \
|
2008-03-04 16:31:11 -05:00
|
|
|
gui/NetworkView.cpp \
|
2008-11-15 09:29:34 -05:00
|
|
|
gui/TrustView.cpp \
|
2007-11-14 22:18:48 -05:00
|
|
|
gui/MessengerWindow.cpp \
|
|
|
|
gui/PeersDialog.cpp \
|
2009-08-10 19:28:15 -04:00
|
|
|
gui/RemoteDirModel.cpp \
|
2009-05-18 10:23:55 -04:00
|
|
|
gui/RetroShareLinkAnalyzer.cpp \
|
2008-07-04 10:41:24 -04:00
|
|
|
gui/SearchTreeWidget.cpp \
|
2007-11-14 22:18:48 -05:00
|
|
|
gui/SearchDialog.cpp \
|
2009-08-18 03:37:22 -04:00
|
|
|
gui/AddLinksDialog.cpp \
|
2007-11-14 22:18:48 -05:00
|
|
|
gui/SharedFilesDialog.cpp \
|
2008-12-10 20:19:34 -05:00
|
|
|
gui/ShareManager.cpp \
|
2007-11-14 22:18:48 -05:00
|
|
|
gui/StatisticDialog.cpp \
|
2009-07-17 07:21:40 -04:00
|
|
|
gui/SoundManager.cpp \
|
2007-11-14 22:18:48 -05:00
|
|
|
gui/MessagesDialog.cpp \
|
2009-01-08 12:29:01 -05:00
|
|
|
gui/MessagesPopupDialog.cpp \
|
2009-03-12 10:28:33 -04:00
|
|
|
gui/im_history/IMHistoryKeeper.cpp \
|
|
|
|
gui/im_history/IMHistoryReader.cpp \
|
|
|
|
gui/im_history/IMHistoryItem.cpp \
|
|
|
|
gui/im_history/IMHistoryWriter.cpp \
|
2008-08-05 14:36:07 -04:00
|
|
|
gui/help/browser/helpbrowser.cpp \
|
|
|
|
gui/help/browser/helptextbrowser.cpp \
|
2007-11-14 22:18:48 -05:00
|
|
|
gui/HelpDialog.cpp \
|
|
|
|
gui/LogoBar.cpp \
|
2008-02-07 11:36:30 -05:00
|
|
|
gui/xprogressbar.cpp \
|
2007-11-14 22:18:48 -05:00
|
|
|
lang/languagesupport.cpp \
|
2008-08-15 13:49:57 -04:00
|
|
|
util/stringutil.cpp \
|
2007-11-14 22:18:48 -05:00
|
|
|
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 \
|
2009-08-13 11:11:08 -04:00
|
|
|
util/rsversion.cpp \
|
2008-03-26 10:22:51 -04:00
|
|
|
util/printpreview.cpp \
|
2008-08-15 13:49:57 -04:00
|
|
|
util/log.cpp \
|
2007-11-14 22:18:48 -05:00
|
|
|
gui/bwgraph/bwgraph.cpp \
|
2009-05-01 08:45:27 -04:00
|
|
|
gui/profile/ProfileView.cpp \
|
|
|
|
gui/profile/ProfileEdit.cpp \
|
2007-11-14 22:18:48 -05:00
|
|
|
gui/chat/PopupChatDialog.cpp \
|
|
|
|
gui/connect/ConnectDialog.cpp \
|
|
|
|
gui/connect/ConfCertDialog.cpp \
|
|
|
|
gui/msgs/ChanMsgDialog.cpp \
|
|
|
|
gui/msgs/ChanCreateDialog.cpp \
|
|
|
|
gui/Preferences/configpagestack.cpp \
|
|
|
|
gui/Preferences/CryptographyDialog.cpp \
|
|
|
|
gui/Preferences/DirectoriesDialog.cpp \
|
2008-08-14 20:23:27 -04:00
|
|
|
gui/Preferences/AppearanceDialog.cpp \
|
2007-11-14 22:18:48 -05:00
|
|
|
gui/Preferences/GeneralDialog.cpp \
|
|
|
|
gui/Preferences/PreferencesWindow.cpp \
|
|
|
|
gui/Preferences/ServerDialog.cpp \
|
2008-12-07 09:19:13 -05:00
|
|
|
gui/Preferences/NotifyDialog.cpp \
|
2007-11-14 22:18:48 -05:00
|
|
|
gui/Preferences/ConfirmQuitDialog.cpp \
|
2008-08-14 20:23:27 -04:00
|
|
|
gui/Preferences/rsharesettings.cpp \
|
|
|
|
gui/Preferences/rsettings.cpp \
|
2009-04-07 04:08:03 -04:00
|
|
|
gui/Preferences/FileAssotiationsDialog.cpp \
|
|
|
|
gui/Preferences/AddFileAssotiationDialog.cpp \
|
2009-07-17 07:21:40 -04:00
|
|
|
gui/Preferences/SoundDialog.cpp \
|
2007-11-14 22:18:48 -05:00
|
|
|
gui/common/vmessagebox.cpp \
|
2008-08-05 14:36:07 -04:00
|
|
|
gui/common/rwindow.cpp \
|
2008-08-20 17:39:03 -04:00
|
|
|
gui/common/html.cpp \
|
|
|
|
gui/library/FindWindow.cpp \
|
2009-05-01 08:45:27 -04:00
|
|
|
gui/statusbar/peerstatus.cpp \
|
|
|
|
gui/statusbar/dhtstatus.cpp \
|
2009-05-02 18:14:20 -04:00
|
|
|
gui/statusbar/natstatus.cpp \
|
|
|
|
gui/statusbar/ratesstatus.cpp \
|
2007-11-14 22:18:48 -05:00
|
|
|
gui/toaster/ChatToaster.cpp \
|
|
|
|
gui/toaster/MessageToaster.cpp \
|
|
|
|
gui/toaster/CallToaster.cpp \
|
2008-08-08 15:47:50 -04:00
|
|
|
gui/toaster/OnlineToaster.cpp \
|
2007-11-14 22:18:48 -05:00
|
|
|
gui/toaster/QtToaster.cpp \
|
|
|
|
gui/advsearch/advancedsearchdialog.cpp \
|
|
|
|
gui/advsearch/expressionwidget.cpp \
|
|
|
|
gui/advsearch/guiexprelement.cpp \
|
|
|
|
games/qbackgammon/bgwindow.cpp \
|
|
|
|
games/qbackgammon/bgwidget.cpp \
|
|
|
|
games/qbackgammon/bgboard.cpp \
|
2007-12-13 11:02:33 -05:00
|
|
|
games/qbackgammon/optionsdlg.cpp \
|
|
|
|
gui/channels/channelsDialog.cpp \
|
|
|
|
gui/channels/channelBrowserDialog.cpp \
|
|
|
|
gui/channels/channelStatsDialog.cpp \
|
|
|
|
gui/channels/myChannelsDialog.cpp \
|
2008-03-20 19:49:12 -04:00
|
|
|
gui/channels/mySubscriptionsDialog.cpp \
|
|
|
|
gui/elastic/graphwidget.cpp \
|
|
|
|
gui/elastic/edge.cpp \
|
2009-05-23 11:13:01 -04:00
|
|
|
gui/elastic/arrow.cpp \
|
2008-06-20 08:43:23 -04:00
|
|
|
gui/elastic/node.cpp \
|
|
|
|
gui/NewsFeed.cpp \
|
2008-07-04 10:41:24 -04:00
|
|
|
gui/PeersFeed.cpp \
|
|
|
|
gui/MsgFeed.cpp \
|
|
|
|
gui/TransferFeed.cpp \
|
2008-06-20 08:43:23 -04:00
|
|
|
gui/ChannelFeed.cpp \
|
2009-05-01 08:45:27 -04:00
|
|
|
gui/GeneralMsgDialog.cpp \
|
2008-06-20 08:43:23 -04:00
|
|
|
gui/feeds/ForumNewItem.cpp \
|
|
|
|
gui/feeds/ForumMsgItem.cpp \
|
|
|
|
gui/feeds/PeerItem.cpp \
|
2008-07-04 10:41:24 -04:00
|
|
|
gui/feeds/MsgItem.cpp \
|
2008-06-20 08:43:23 -04:00
|
|
|
gui/feeds/ChanGroupItem.cpp \
|
|
|
|
gui/feeds/ChanMenuItem.cpp \
|
2008-07-04 10:41:24 -04:00
|
|
|
gui/feeds/ChanNewItem.cpp \
|
2008-06-20 08:43:23 -04:00
|
|
|
gui/feeds/ChanMsgItem.cpp \
|
|
|
|
gui/feeds/BlogMsgItem.cpp \
|
|
|
|
gui/feeds/SubFileItem.cpp \
|
2008-06-24 00:36:45 -04:00
|
|
|
gui/feeds/SubDestItem.cpp \
|
2009-03-26 12:58:06 -04:00
|
|
|
gui/connect/ConnectFriendWizard.cpp
|
2007-11-14 22:18:48 -05:00
|
|
|
|
2009-02-01 09:05:24 -05:00
|
|
|
RESOURCES += gui/images.qrc lang/lang.qrc gui/help/content/content.qrc
|
|
|
|
|
2007-11-14 22:18:48 -05:00
|
|
|
TRANSLATIONS += \
|
|
|
|
lang/retroshare_en.ts \
|
|
|
|
lang/retroshare_de.ts \
|
2009-07-24 16:03:11 -04:00
|
|
|
lang/retroshare_da.ts \
|
2007-11-14 22:18:48 -05:00
|
|
|
lang/retroshare_bg.ts \
|
|
|
|
lang/retroshare_es.ts \
|
|
|
|
lang/retroshare_fi.ts \
|
|
|
|
lang/retroshare_fr.ts \
|
|
|
|
lang/retroshare_af.ts \
|
|
|
|
lang/retroshare_gr.ts \
|
|
|
|
lang/retroshare_it.ts \
|
|
|
|
lang/retroshare_jp.ts \
|
|
|
|
lang/retroshare_kr.ts \
|
|
|
|
lang/retroshare_pl.ts \
|
|
|
|
lang/retroshare_pt.ts \
|
|
|
|
lang/retroshare_ru.ts \
|
|
|
|
lang/retroshare_tr.ts \
|
|
|
|
lang/retroshare_sl.ts \
|
|
|
|
lang/retroshare_sr.ts \
|
2009-07-24 16:03:11 -04:00
|
|
|
lang/retroshare_sv.ts \
|
2009-04-20 09:24:56 -04:00
|
|
|
lang/retroshare_zh_CN.ts \
|
|
|
|
lang/retroshare_zh_TW.ts
|
2007-11-14 22:18:48 -05:00
|
|
|
|
2009-03-15 18:45:40 -04:00
|
|
|
# To compile for turtle hopping. I'm using this flag to avoid conflict while developping.
|
|
|
|
# Just do a
|
|
|
|
# qmake CONFIG=turtle
|
|
|
|
|
|
|
|
turtle {
|
|
|
|
SOURCES += gui/TurtleSearchDialog.cpp
|
|
|
|
HEADERS += rsiface/rsturtle.h gui/TurtleSearchDialog.h
|
|
|
|
FORMS += gui/TurtleSearchDialog.ui
|
|
|
|
DEFINES *= TURTLE_HOPPING
|
2009-05-05 09:21:36 -04:00
|
|
|
DEFINES *= RS_RELEASE_VERSION
|
2009-03-15 18:45:40 -04:00
|
|
|
}
|
|
|
|
|
2007-11-14 22:18:48 -05:00
|
|
|
|
2009-05-07 15:54:40 -04: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
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2009-07-23 13:11:51 -04:00
|
|
|
newsettings {
|
|
|
|
SOURCES += 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/AddFileAssociationDialog.cpp
|
|
|
|
|
|
|
|
HEADERS += 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/AddFileAssociationDialog.h
|
|
|
|
|
|
|
|
FORMS += 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/SoundPage.ui
|
|
|
|
|
|
|
|
DEFINES *= NEWSETTINGS
|
2009-05-07 15:54:40 -04:00
|
|
|
|
2009-07-23 13:11:51 -04:00
|
|
|
}
|
2009-01-25 14:05:53 -05:00
|
|
|
|
2008-03-22 10:34:53 -04:00
|
|
|
|
2007-11-14 22:18:48 -05:00
|
|
|
|
|
|
|
|
2008-02-29 13:54:49 -05:00
|
|
|
|