[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Trying to build lqt on Kubuntu 8.04 Hardy
- From: Mauro Iazzi <mauro.iazzi@...>
- Date: Fri, 6 Mar 2009 15:29:42 +0100
2009/3/6 thal 144 <firstname.lastname@example.org>:
> Now when I enter
> ~/lqt.build$ ./cpptoxml/cpptoxml -C cpptoxml/parser/rpp/pp-qt-configuration
> ./src/qtgui.cpp > src/qtgui.xml
> I get the response:
> Generator requires Qt include dir as option -Q or QT_INCLUDE to be set
should work. You have to check that /usr/include/QtCore exists and is
a directory. Else you should find it and change /usr/include to the
> As far as cmake is concerned, I hadn't heard of it until recently, and I
> installed cmake-gui at the same time,
> and ran it on the "out of source directory" lqt.build before reading your
> instruction to do it as
> $ cmake ../lqt
> $ make
If the "make" command finished then you already have your bindings
built. Check in lqt.build/lib/ . if you see things like "libqtcore.so"
then you are done. Just move it to a place where lua can find it.
Check the Lua manual for how "require" works
For a quick test you can rename libqtcore.so -> qtcore.so and
libqtgui.so -> qtgui.so . Then from the lib/ directory try to run the
examples shipped with the source.
> Sorry about that...
why? :) we should make the instructions clearer...