Modifications to support the changes in libretroshare.

* Disabled all the VEG services, until GUI has been tweaked to match new interface.
 * Deleted <placeholder> text from PhotoItem.ui - to compile with older version of Qt.
 * Fixes to Retroshare.pro (restore libdht path, disable compilation of VEG classes)



git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs-b1@5552 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
drbob 2012-09-15 00:17:23 +00:00
parent bfef2c659f
commit ce992475a1
3 changed files with 38 additions and 34 deletions

View File

@ -2,13 +2,13 @@ CONFIG += qt gui uic qrc resources uitools idle bitdht
# Below is for GXS services. # Below is for GXS services.
CONFIG += photoshare CONFIG += photoshare
CONFIG += wikipoos #CONFIG += wikipoos
CONFIG += thewire #CONFIG += thewire
CONFIG += identities #CONFIG += identities
CONFIG += forumsv2 #CONFIG += forumsv2
CONFIG += posted #CONFIG += posted
CONFIG += unfinished CONFIG += unfinished
CONFIG += gxsgui #CONFIG += gxsgui
#CONFIG += pluginmgr #CONFIG += pluginmgr
@ -193,8 +193,12 @@ freebsd-* {
# ########################################### # ###########################################
bitdht { bitdht {
LIBS += ../../libbitdht/libbitdht-build-desktop/lib/libbitdht.a LIBS += ../../libbitdht/src/lib/libbitdht.a
PRE_TARGETDEPS *= ../../libbitdht/libbitdht-build-desktop/lib/libbitdht.a PRE_TARGETDEPS *= ../../libbitdht/src/lib/libbitdht.a
# Chris version.
#LIBS += ../../libbitdht/libbitdht-build-desktop/lib/libbitdht.a
#PRE_TARGETDEPS *= ../../libbitdht/libbitdht-build-desktop/lib/libbitdht.a
} }
win32 { win32 {
@ -860,40 +864,36 @@ photoshare {
HEADERS += \ HEADERS += \
gui/PhotoShare/PhotoDialog.h \ gui/PhotoShare/PhotoDialog.h \
gui/PhotoShare/PhotoDrop.h \ gui/PhotoShare/PhotoDrop.h \
gui/PhotoShare/PhotoSlideShow.h \ gui/PhotoShare/AlbumItem.h \
gui/PhotoShare/AlbumDialog.h \
gui/PhotoShare/AlbumCreateDialog.h \
util/TokenQueueV2.h \ util/TokenQueueV2.h \
gui/PhotoShare/AlbumDialog.h \
gui/PhotoShare/AlbumItem.h \
gui/PhotoShare/PhotoItem.h \ gui/PhotoShare/PhotoItem.h \
gui/PhotoShare/AlbumCreateDialog.h \
gui/PhotoShare/PhotoShareItemHolder.h \ gui/PhotoShare/PhotoShareItemHolder.h \
gui/PhotoShare/PhotoShare.h gui/PhotoShare/PhotoShare.h \
gui/PhotoShare/PhotoSlideShow.h \
#gui/PhotoShare/PhotoDetailsDialog.h \
# gui/PhotoShare/PhotoAddDialog.h \
FORMS += \ FORMS += \
gui/PhotoShare/PhotoItem.ui \
gui/PhotoShare/PhotoDialog.ui \ gui/PhotoShare/PhotoDialog.ui \
gui/PhotoShare/PhotoSlideShow.ui \
gui/PhotoShare/AlbumItem.ui \ gui/PhotoShare/AlbumItem.ui \
gui/PhotoShare/AlbumDialog.ui \ gui/PhotoShare/AlbumDialog.ui \
gui/PhotoShare/PhotoItem.ui \
gui/PhotoShare/AlbumCreateDialog.ui \ gui/PhotoShare/AlbumCreateDialog.ui \
gui/PhotoShare/PhotoShare.ui gui/PhotoShare/PhotoShare.ui \
# gui/PhotoShare/PhotoAddDialog.ui \1 gui/PhotoShare/PhotoSlideShow.ui \
# gui/PhotoShare/PhotoDetailsDialog.ui \
SOURCES += \ SOURCES += \
gui/PhotoShare/PhotoItem.cpp \
gui/PhotoShare/PhotoDialog.cpp \ gui/PhotoShare/PhotoDialog.cpp \
gui/PhotoShare/PhotoDrop.cpp \ gui/PhotoShare/PhotoDrop.cpp \
gui/PhotoShare/PhotoSlideShow.cpp \ gui/PhotoShare/AlbumItem.cpp \
gui/PhotoShare/AlbumDialog.cpp \ gui/PhotoShare/AlbumDialog.cpp \
gui/PhotoShare/AlbumCreateDialog.cpp \
util/TokenQueueV2.cpp \ util/TokenQueueV2.cpp \
gui/PhotoShare/AlbumItem.cpp \
gui/PhotoShare/PhotoItem.cpp \
gui/PhotoShare/AlbumCreateDialog.cpp \
gui/PhotoShare/PhotoShareItemHolder.cpp \ gui/PhotoShare/PhotoShareItemHolder.cpp \
gui/PhotoShare/PhotoShare.cpp gui/PhotoShare/PhotoShare.cpp \
# gui/PhotoShare/PhotoAddDialog.cpp \ gui/PhotoShare/PhotoSlideShow.cpp \
# gui/PhotoShare/PhotoDetailsDialog.cpp \
} }

View File

@ -76,16 +76,10 @@ p, li { white-space: pre-wrap; }
<property name="text"> <property name="text">
<string/> <string/>
</property> </property>
<property name="placeholderText">
<string>Enter Title Here</string>
</property>
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QLineEdit" name="lineEdit_PhotoGrapher"> <widget class="QLineEdit" name="lineEdit_PhotoGrapher">
<property name="placeholderText">
<string>Enter Photographer</string>
</property>
</widget> </widget>
</item> </item>
</layout> </layout>

View File

@ -33,11 +33,15 @@
#include <retroshare/rsiface.h> #include <retroshare/rsiface.h>
#include "gui/PhotoShare/PhotoDialog.h" #include "gui/PhotoShare/PhotoDialog.h"
// THESE HAVE TO BE CONVERTED TO VEG FORMAT
#if USE_VEG_SERVICE
#include "gui/WikiPoos/WikiDialog.h" #include "gui/WikiPoos/WikiDialog.h"
#include "gui/TheWire/WireDialog.h" #include "gui/TheWire/WireDialog.h"
#include "gui/Identity/IdDialog.h" #include "gui/Identity/IdDialog.h"
#include "gui/ForumsV2Dialog.h" #include "gui/ForumsV2Dialog.h"
#include "gui/Posted/PostedDialog.h" #include "gui/Posted/PostedDialog.h"
#endif
//#include "GamesDialog.h" //#include "GamesDialog.h"
//#include "CalDialog.h" //#include "CalDialog.h"
@ -93,14 +97,19 @@ ApplicationWindow::ApplicationWindow(QWidget* parent, Qt::WFlags flags)
//ui.stackPages->add(calDialog = new CalDialog(ui.stackPages), //ui.stackPages->add(calDialog = new CalDialog(ui.stackPages),
// createPageAction(QIcon(IMAGE_CALENDAR), tr("Shared Calendars"), grp)); // createPageAction(QIcon(IMAGE_CALENDAR), tr("Shared Calendars"), grp));
// THESE HAVE TO BE CONVERTED TO VEG FORMAT
#if USE_VEG_SERVICE
IdDialog *idDialog = NULL; IdDialog *idDialog = NULL;
ui.stackPages->add(idDialog = new IdDialog(ui.stackPages), ui.stackPages->add(idDialog = new IdDialog(ui.stackPages),
createPageAction(QIcon(IMAGE_LIBRARY), tr("Identities"), grp)); createPageAction(QIcon(IMAGE_LIBRARY), tr("Identities"), grp));
#endif
PhotoDialog *photoDialog = NULL; PhotoDialog *photoDialog = NULL;
ui.stackPages->add(photoDialog = new PhotoDialog(ui.stackPages), ui.stackPages->add(photoDialog = new PhotoDialog(ui.stackPages),
createPageAction(QIcon(IMAGE_PHOTO), tr("Photo View"), grp)); createPageAction(QIcon(IMAGE_PHOTO), tr("Photo View"), grp));
// THESE HAVE TO BE CONVERTED TO VEG FORMAT
#if USE_VEG_SERVICE
WikiDialog *wikiDialog = NULL; WikiDialog *wikiDialog = NULL;
ui.stackPages->add(wikiDialog = new WikiDialog(ui.stackPages), ui.stackPages->add(wikiDialog = new WikiDialog(ui.stackPages),
createPageAction(QIcon(IMAGE_LIBRARY), tr("Wiki Pages"), grp)); createPageAction(QIcon(IMAGE_LIBRARY), tr("Wiki Pages"), grp));
@ -116,6 +125,7 @@ ApplicationWindow::ApplicationWindow(QWidget* parent, Qt::WFlags flags)
PostedDialog *postedDialog = NULL; PostedDialog *postedDialog = NULL;
ui.stackPages->add(postedDialog = new PostedDialog(ui.stackPages), ui.stackPages->add(postedDialog = new PostedDialog(ui.stackPages),
createPageAction(QIcon(IMAGE_LIBRARY), tr("Posted Links"), grp)); createPageAction(QIcon(IMAGE_LIBRARY), tr("Posted Links"), grp));
#endif
/* Create the toolbar */ /* Create the toolbar */