« Strata, Diablo... | Main | 新版天龙八部结局 »

September 24, 2005

Psi on Windows

To enable debugging, there's a line in src/src.pro:
CONFIG += debug
Then if you look into Makefile, you'll see debug options like -Zi, -MDd, etc.
After you build the executable, you can run it and then use VS to attach to it.
However notice that msvcr71d.dll is said to be not freely redistributable.
In fact if you want to know more about how qmake works, you may look at %QTDIR%/mkspecs/win32-msvc.net/qmake.conf


Finally, to debug the Jabber protocol, you may install Exodus and check Tools->Show Debug XML.
Psi used to have that function according to ChangLog, but I don't know why they removed it again.

And if you want to edit the psi's .ui files in QT designer, you can edit libpsi/psiwidgets/psiwidgets.pro, and uncomment the two lines.
Or copy the output dll to the plugins directory.

Posted by Roy at September 24, 2005 06:46 PM

Comments