lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Ariel Manzur wrote:
On Sat, May 07, 2005 at 10:36:42AM +0200, Peter Kümmel wrote:
[...]

Peter

P.S. I've successfully build lua_qt with the GPLed windows version of
qt (kde-cygwin). If you like I send you the (very small) changes.


yeah, I'd love to see that.. I haven't tried building lua_qt outside
debian.. Is this the version that uses cygwin's X server, or the one with
the windows native backend?

thanks..

Ariel.

It's the native windows version!

I've managed it to compile with mingw, and get errors with msvc8.

Attached are building files to compile out of the box.

First get qt from:
http://kde-cygwin.sourceforge.net/qt3-win32/index.php

use the daily cvs snapshot:
http://webdev.cegit.de/snapshots/kde-cygwin/qt

build qt until the library is in the lib directory.
use for mingw a "static debug" configuration. It
takes about half an hour. (when building a dll
mingw need 0.5-1 hour just for linking!)

The build-all.bat will build lua, tolua, tolua++
and lua_qt, it uses qmake. If you don't want to
overwrite your local stuff just unpack all clean
distribution files in some new folder.

First set the environment variables: paths with setdirs_c.bat
and the qt environment variables with set-mingw.bat.

then call build-all.bat

compilation breaks  when compiling lua_qt.cpp.
Eventually there are some Mac declarations because
of a non optimal hook file. Mingw also don't
likes a conversion, which indicates a bug in
tolua++.

you must also adjust the qt-pathes in
lua_qt.pkg. This is the biggest problem of
the installation. I don't know if it's
possible to use QTDIR in this file.

Cheers,
Peter





Attachment: lua-qmake.rar
Description: application/xxx