fixed some compiling errors for retroshare no gui

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3184 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
defnax 2010-06-21 18:26:50 +00:00
parent 53d5287490
commit d6625a15b8
3 changed files with 19 additions and 6 deletions

View File

@ -0,0 +1,13 @@
set QTDIR=d:\qt\2010.01
set MINGW=%QTDIR%\mingw
set PATH=%QTDIR%\qt\bin;%QTDIR%\bin;%MINGW%\bin;%PATH%
mingw32-make clean
qmake retroshare-nogui.pro
mingw32-make
pause

View File

@ -51,7 +51,7 @@ void NotifyTxt::notifyListChange(int list, int type)
case NOTIFY_LIST_FRIENDS:
displayFriends();
break;
case NOTIFY_LIST_DIRLIST:
case NOTIFY_LIST_DIRLIST_FRIENDS:
displayDirectories();
break;
case NOTIFY_LIST_SEARCHLIST:
@ -73,16 +73,15 @@ void NotifyTxt::notifyListChange(int list, int type)
}
void NotifyTxt::displayNeighbours()
{
std::list<std::string> ids;
std::list<std::string> neighs;
std::list<std::string>::iterator it;
rsPeers->getOthersList(ids);
rsPeers->getGPGAllList(neighs);
std::ostringstream out;
for(it = ids.begin(); it != ids.end(); it++)
for(it = neighs.begin(); it != neighs.end(); it++)
{
RsPeerDetails detail;
rsPeers->getPeerDetails(*it, detail);

View File

@ -49,7 +49,8 @@ win32 {
UI_DIR = temp/ui
MOC_DIR = temp/moc
LIBS += -L"../../../../lib" -lretroshare -lssl -lcrypto -lpthreadGC2d -lminiupnpc -lz
LIBS += ../../libretroshare/src/lib/libretroshare.a
LIBS += -L"../../../../lib" -lssl -lcrypto -lpthreadGC2d -lminiupnpc -lz
LIBS += -lws2_32 -luuid -lole32 -liphlpapi -lcrypt32-cygwin -gdi32
LIBS += -lole32 -lwinmm
}