On 19 January 2013 11:48, luafox <in...@luafox.com
> I would really like to try this but unfortunately I have never compiled any
> sources before (one reason for using lua...). But I think that it is not to
> complicated if you know what you have to do. What I did is download the lqt
> sources and I have also installed Qt 4.8.
> Would someone be so nice to give me step-by-step instructions on how to
> compile lqt? I do not even know which compilter to use (gcc or Visual
Let me fire up a Windows XP virtual machine and compile the binaries
for you. But in case you or anyone reading this mailing list wants to
build the binaries from scratch, here is the guide:
1) Choose a compiler - you can either go with gcc through MinGW ,
or Visual Studio - MinGW is free, there is also Visual Studio Express
, which is also free, but I did not try it.
2) Download the appropriate build of Qt for Windows  - look for Qt
4.8.4, not Qt 5.0.0 which was not tested yet. I think the MinGW
package already comes with the compiler so you do not need to install
MinGW in step 1.
3) Get CMake , which will run the generation process, and install it.
4) Get Lua (5.1.X) from LuaBinaries  or LuaForWindows , so that
you have the necessary headers and libraries.
5) Get lqt  and extract it somewhere.
6) Enough for dependencies, let's build the thing - fire up command
line and get to the lqt directory. The easiest way is to open it up in
Explorer, click into the address bar, replace all the text with "cmd"
and press Enter.
7) mkdir build; cd build
8) cmake-gui ..
9) CMake will fire up - click Configure and select the compiler. CMake
will then try to find Lua and Qt, and it will most probably fail - no
problem, just find the qmake.exe for Qt (QT_QMAKE_EXECUTABLE) and
point to Lua libraries and headers (LUA_LIBRARIES, LUA_INCLUDE_DIR)
10) Press configure repeatedly until no red items are left, then press Generate.
11) Run the build, either run 'mingw32-make' if using MinGW, or open
the generated Visual Studio project and build it from the IDE. Or run
'cmake --build .'
12) The DLL files generated in the build\lib directory should be
placed somewhere into Lua package.cpath, usually C:\Lua\clibs if you
use LuaForWindows and install it into C:\Lua.