diff --git a/retroshare-gui/src/RetroShare.pro b/retroshare-gui/src/RetroShare.pro
index 5fb921345..f9c0b1512 100644
--- a/retroshare-gui/src/RetroShare.pro
+++ b/retroshare-gui/src/RetroShare.pro
@@ -1,4 +1,4 @@
-CONFIG += qt gui uic qrc resources uitools debug
+CONFIG += qt gui uic qrc resources uitools pluginmgr debug
QT += network xml script
TEMPLATE = app
TARGET = RetroShare
@@ -76,6 +76,7 @@ macx {
# CONFIG += ppc x86
LIBS += -Wl,-search_paths_first
+ LIBS += -L"../../../../lib" -lretroshare -lssl -lcrypto -lminiupnpc -lz
}
############################## Common stuff ######################################
@@ -145,9 +146,9 @@ HEADERS += rshare.h \
gui/HelpDialog.h \
gui/LogoBar.h \
gui/xprogressbar.h \
- gui/PluginsPage.h \
- gui/PluginManagerWidget.h \
- gui/PluginManager.h \
+ # gui/PluginsPage.h \
+ # gui/PluginManagerWidget.h \
+ # gui/PluginManager.h \
gui/plugins/PluginInterface.h \
gui/im_history/IMHistoryKeeper.h \
gui/im_history/IMHistoryReader.h \
@@ -388,9 +389,9 @@ SOURCES += main.cpp \
gui/HelpDialog.cpp \
gui/LogoBar.cpp \
gui/xprogressbar.cpp \
- gui/PluginsPage.cpp \
- gui/PluginManagerWidget.cpp \
- gui/PluginManager.cpp \
+ # gui/PluginsPage.cpp \
+ # gui/PluginManagerWidget.cpp \
+ # gui/PluginManager.cpp \
lang/languagesupport.cpp \
util/stringutil.cpp \
util/win32.cpp \
@@ -521,6 +522,24 @@ turtle {
}
+# 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
+
+}
+
+
diff --git a/retroshare-gui/src/gui/MainWindow.cpp b/retroshare-gui/src/gui/MainWindow.cpp
index 5cb010ff7..e61896aac 100644
--- a/retroshare-gui/src/gui/MainWindow.cpp
+++ b/retroshare-gui/src/gui/MainWindow.cpp
@@ -226,9 +226,10 @@ MainWindow::MainWindow(QWidget* parent, Qt::WFlags flags)
ui.stackPages->add(newsFeed = new NewsFeed(ui.stackPages),
createPageAction(QIcon(IMAGE_NEWSFEED), tr("News Feed"), grp));
+#ifdef PLUGINMGR
ui.stackPages->add(pluginsPage = new PluginsPage(ui.stackPages),
createPageAction(QIcon(IMAGE_PLUGINS), tr("Plugins"), grp));
-
+#endif
/* Create the toolbar */
ui.toolBar->addActions(grp->actions());
ui.toolBar->addSeparator();
diff --git a/retroshare-gui/src/gui/SearchDialog.ui b/retroshare-gui/src/gui/SearchDialog.ui
index a967e5f7b..f09e9e446 100644
--- a/retroshare-gui/src/gui/SearchDialog.ui
+++ b/retroshare-gui/src/gui/SearchDialog.ui
@@ -510,12 +510,12 @@
Qt::NoContextMenu
-
+
4
-
-
+
-
@@ -591,17 +591,20 @@ p, li { white-space: pre-wrap; }
0
0
- 220
- 123
+ 235
+ 131
Keyword Search
-
+
-
-
-
+
+
+ 6
+
+
6
-
@@ -634,8 +637,7 @@ p, li { white-space: pre-wrap; }
Any
-
- :/images/FileTypeAny.png:/images/FileTypeAny.png
+ :/images/FileTypeAny.png
-
@@ -643,8 +645,7 @@ p, li { white-space: pre-wrap; }
Archive
-
- :/images/FileTypeArchive.png:/images/FileTypeArchive.png
+ :/images/FileTypeArchive.png
-
@@ -652,8 +653,7 @@ p, li { white-space: pre-wrap; }
Audio
-
- :/images/FileTypeAudio.png:/images/FileTypeAudio.png
+ :/images/FileTypeAudio.png
-
@@ -661,8 +661,7 @@ p, li { white-space: pre-wrap; }
CD-Image
-
- :/images/FileTypeCDImage.png:/images/FileTypeCDImage.png
+ :/images/FileTypeCDImage.png
-
@@ -670,8 +669,7 @@ p, li { white-space: pre-wrap; }
Document
-
- :/images/FileTypeDocument.png:/images/FileTypeDocument.png
+ :/images/FileTypeDocument.png
-
@@ -679,8 +677,7 @@ p, li { white-space: pre-wrap; }
Picture
-
- :/images/FileTypePicture.png:/images/FileTypePicture.png
+ :/images/FileTypePicture.png
-
@@ -688,8 +685,7 @@ p, li { white-space: pre-wrap; }
Program
-
- :/images/FileTypeProgram.png:/images/FileTypeProgram.png
+ :/images/FileTypeProgram.png
-
@@ -697,8 +693,7 @@ p, li { white-space: pre-wrap; }
Video
-
- :/images/FileTypeVideo.png:/images/FileTypeVideo.png
+ :/images/FileTypeVideo.png
@@ -724,17 +719,16 @@ p, li { white-space: pre-wrap; }
Search
-
- :/images/find.png:/images/find.png
+ :/images/find.png
-
-
+
Qt::Horizontal
-
+
88
20
@@ -756,7 +750,7 @@ p, li { white-space: pre-wrap; }
-
-
+
-
@@ -836,8 +830,7 @@ p, li { white-space: pre-wrap; }
Download
-
- :/images/down_24x24.png:/images/down_24x24.png
+ :/images/down_24x24.png
@@ -848,11 +841,11 @@ p, li { white-space: pre-wrap; }
-
-
+
Qt::Horizontal
-
+
158
31
@@ -904,8 +897,7 @@ p, li { white-space: pre-wrap; }
-
- :/images/advsearch_24x24.png:/images/advsearch_24x24.png
+ :/images/advsearch_24x24.png
@@ -943,7 +935,7 @@ p, li { white-space: pre-wrap; }
0
-
+
6
@@ -951,14 +943,14 @@ p, li { white-space: pre-wrap; }
0
0
- 220
- 241
+ 224
+ 221
Search Activity
-
+
-
diff --git a/retroshare-gui/src/gui/connect/ConnectFriendWizard.h b/retroshare-gui/src/gui/connect/ConnectFriendWizard.h
index 5104c3035..c44fcfee6 100755
--- a/retroshare-gui/src/gui/connect/ConnectFriendWizard.h
+++ b/retroshare-gui/src/gui/connect/ConnectFriendWizard.h
@@ -3,7 +3,7 @@
#include
-QT_BEGIN_NAMESPACE
+//QT_BEGIN_NAMESPACE
class QCheckBox;
class QLabel;
class QTextEdit;
@@ -13,7 +13,7 @@ class QVBoxLayout;
class QHBoxLayout;
class QGroupBox;
class QGridLayout;
-QT_END_NAMESPACE
+//QT_END_NAMESPACE
const std::string LOCAL_IP = "---LOCAL---";
const std::string EXT_IP = "---EXT---";