mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-26 07:16:11 -05:00
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:
parent
53d5287490
commit
d6625a15b8
13
retroshare-nogui/src/mingw32make.bat
Normal file
13
retroshare-nogui/src/mingw32make.bat
Normal 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
|
||||
|
@ -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);
|
||||
|
@ -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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user