20 oct 2010
evopedia, the offline wikipedia reader, is now running on windows xp and probably also on all later windows versions.
i’ve created a build which uses dll files from qt. i actually wanted a static qt build but that did not work. so here is how i built the evopedia
visit [1] and download the Qt SDK for Windows (~322MB). i also downloaded git for windows at [2].
using git i then downloaded evopedia:
git clone https://qknight@github.com/qknight/torrent.git
finally i downloaded bzip2-1.0.5-bin.zip at [4]. we are going to use this as we need the:
i’ve just created:
it’s basically about making some changes to src.pri (which is used in evopedia.pro)
afterwards the evopedia project can be opened with qtcreator (or directly used with the qt shell and qmake). just build the software in ‘release mode’ and after the buildstep is done, copy the bzip2.dll into the same directory as the evopedia.exe is in. now the program is ready to be used.
please note that a relative LIBS (see LIBS below) path did not work as qtcreator sometimes does out-of-source builds.
i had this problem:
don’t ask me why qtcreator decided to build there. using a relative LIBS path did not work, as:
resulted in this linker error:
g++ -enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runtime-pseudo-reloc -Wl,-s -mthreads -Wl -Wl,-subsystem,windows -o release\evopedia.exe object_script.evopedia.Release -L"c:\Qt\2010.05\qt\lib" -lmingw32 -lqtmain bzip2/lib/bzip2.lib -lQtGui4 -lQtNetwork4 -lQtCore4
mingw32-make[1]: Leaving directory `C:/evopedia-build-desktop'
**g++: bzip2/lib/bzip2.lib: No such file or directory**
mingw32-make[1]: *** [release\evopedia.exe] Error 1
mingw32-make: Leaving directory `C:/evopedia-build-desktop'
mingw32-make: *** [release] Error 2
The process "C:/Qt/2010.05/mingw/bin/mingw32-make.exe" exited with code %2.Error while building project evopedia (target: Desktop)When executing build step 'Make'
i’ve used wine 1.1.34 for testing and downloading an torrent using the evopedia dumpSettings dialog worked. also adding the archive to the list of active archives worked (see step 7 below). but i could not open any webpage, does wine not have a standard browser already set?
if you want to check out my windows xp build, download [5].
how to use the test build?
download [5]
use winzip or winrar to extract all files to a folder. example: c:
start evopedia.exe and in the menu there is an entry called: dumpSettings, click it
the dumpSettings dialog opens. it has a menu as well, click “Refresh Archive List” to query online archives. ensure that you have a working internet connection.
now the list in the dumpSettings dialog should contain a list of several lanauges as “de,el,en,fr,it,sl,small”.
use small to test the evopedia application, click ‘small’ and then ‘download’
if your download completet use: ‘menu’ - ‘manually add archive’ and select the directory in c:
c:is probably no good default location but we did not change that yet. also note that crei removed the automatic usage of ‘just downloaded’ archives. this makes step 7 necessary.
23.10.2010 pictures work in windows with this build, just select ‘allow’ in the network settings instead of ‘auto’. this is done using the menu: menu - network - allow