-
Notifications
You must be signed in to change notification settings - Fork 0
/
BUILD.txt
57 lines (36 loc) · 953 Bytes
/
BUILD.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
======================
Build Instructions
======================
see also http://code.google.com/p/lqt/
Supported:
Qt 4.4 / 4.5
Compilers:
GCC 4.0, 4.2, 4.3, 4.4
MSVC 2008, 2009
OS:
Mac OSX
Linux
Windows
1. CMake
Create an out-of-source directory, for instance relative to the lqt
sources the directory ../build, then with qmake in your PATH
variable call in ../build
Linux:
build> cmake ../lqt
build> make
Windows to build with the Visual Studio:
build> cmake ..\lqt
build> lqt.sln
Example lua files are in lqt/test, LUA_CPATH is needed:
Linux:
build> export LUA_CPATH="./lib/?.so"
build> ./bin/lua ../lqt/test/webview.lua
Windows (debug build):
build> set LUA_CPATH=%CD%\bin\Debug\?.dll
build> bin\Debug\lua.exe ..\lqt\test\t7.lua
Mac
build>export LUA_CPATH=$PWD/lib/lib?.dylib
build> ./bin/lua ../lqt/test/webview.lua
Without any option it also builds Lua which could
be suppressed by -DSYSTEM_LUA
(TODO is FindLua broken?)