* Instructions below are based on Chris' "master" branch
* Added new libzip dependency instructions
* Removed mention of quazip, and the use of -lz instead of -llibzip1
* Mentioned how to build QT 5.1.0 instead of the 'stable' branch (which is pre-5.1.2)
* Removed use of Lua4Windows. Using the /LUA flag when installing luarocks fixes lib compatibility issues
* Clarified minor typos in wiki page
As mentioned above, the current 5.1.0 version of QT is compiled against mingw32 4.8.0, which has a known conflict with libstdc++-6.dll. The workaround until a newer QT5 is release is to compile it yourself. Note that this doesn't include qt-creator. WebKit is skipped because it is huge, and thankfully mudlet doesn't currently depend on it. The current 'stable' branch will report itself as QT 5.1.2, so slightly newer. If this is an issue, you can use the "5.1.0" branch instead.
[*]Python 2.7.5, 32bit, http://python.org/download
[*] Via installer: ming32 (x32, posix, dwarf, rev3), http://sourceforge.net/projects/mingwbu ... s-install/
[*] msys, http://sourceforge.net/projects/mingwbu ... -packages/
[*] strawberry perl 5.16.31 32bit, http://strawberryperl.com/
[*] OpenSSL-Win32 1.0.1e (full), http://slproweb.com/products/Win32OpenSSL.html
[*] Git, (Atlassian SourceTree, msysgit, etc.)
Add Python and mingw32 to your path (perl adds itself automatically)
NOTE: ensure there isn't a 'sh.exe' in your PATH!
* From a windows command prompt: Create a new working directory (ie., c:\work)
* Change to that directory (cd c:\work)
* git clone git://gitorious.org/qt/qt5.git qt5
* cd qt5
* git checkout stable (change this to '5.1.0' instead of 'stable' if you want to ensure you are on the 5.1.0 version)
* perl init-repository --no-webkit
* configure -release -opensource -nomake examples -nomake tests -confirm-license -opengl desktop -openssl -I <path>\OpenSSL-Win32\include -L <path>\OpenSSL-Win32\lib
* mingw32-make -j4 (set '4' to be the number of cores you have)
Once done, add c:\work\qt5\qtbase\bin to your PATH
Compile all the mudlet dependencies as per Chris' wiki docs (hunspell, yajl, lua, etc.)
NOTE: quazip has been replaced by libzip, no need to download or compile this
Compile the new libzip dependency (not yet on the wiki) from http://www.nih.at/libzip/
* From a CMD window: cmake -G "MinGW Makefiles" -D<path to zlib>
* Either copy the libs to your mingw32 folders, or add the libzip dirs to Mudlet's src.pro file under LIBS and INCLUDES
Compile mudlet as per Chris' wiki docs
* Install Luarocks as per the wiki, but specify the LUA dir!
example: install.bat /P d:\dev\sdk\luarocks /LUA d:\dev\mudlet_dev\src\lua-5.1.5\src
In this example, I'm specifically setting where I have the source for the Lua dependency compiled above. This is necessary to prevent luarocks from using its own internal copy of Lua, which is built against msvcr80.dll instead of msvcrt.dll.
* Install the luarocks as per the wiki (LuaFileSystem, etc.)
NOTE: I had to rename libpcre-1.dll to libpcre.dll
NOTE: There is a typo with pcre. Use "luarocks install lrexlib-pcre" instead of "luarocks install lrexlib-sqlite"
Copy all other .dlls are necessary per Chris' docs. Note that there won't be any icu*.dll files to copy (we didn't build them with QT5, and they currently don't seem required).