[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Trying to build lqt on Kubuntu 8.04 Hardy
- From: Mauro Iazzi <mauro.iazzi@...>
- Date: Fri, 6 Mar 2009 17:40:54 +0100
>>Else you should find it and change /usr/include to the proper directory.
> Do you mean I should add an empty directory called QtCore in /usr/include
> and then run ./cpptoxml/cpptoxml from ~/lqt.build/lib?
>
> I just want to be sure before I do this, since you are so kind as to be
> holding my
> hand through this process :) Can you confirm that I should do it?
no, you should find the directory where they are placed. This command
should help
find /usr -name QtCore
or
find /opt -name QtCore
since those are usually the places where the headers are located. But
all of this is not necessary, since the bindings are already built.
> Yes, it did finish, and I see
> liblua.so libqtnetwork.so libqtsvg.so
> libqtcore.so libqtopengl.so libqtwebkit.so
> libqtgui.so libqtscript.so libqtxml.so
> all there.
so those are the bindings and you don't need to do the long manual
bindings (unless you want to understand how it works).
> I haven't finished the previous step yet, but I have renamed these files
> in ~/lqt.build/lib: qtcore.so qtgui.so, copied t1.lua into this directory
> and tried running > lua t1.lua there, but I got the same message from lua
> that I was getting before:
> no file './qtcore.so'
it means it does not find qtcore.so.
try the following
cd lqt.build/lib/
ls qtcore.so t1.lua # they should be in the same directory
lua t1.lua
> I tried before moving them to /usr/local/share/lua/5.1
you can see in the error messages where Lua is searching. In this case
you could use /usr/local/lib/lua/5.1/qtcore.so. This is a system
directory. You may want to check that they work first. I suggest you
try to load them for the current directory, then install them
somewhere in your home.
mauro