[Qt] My account and problems with lazarus/ qt embedded
Den Jean
Den.Jean at telenet.be
Mon Jan 5 22:02:39 CET 2009
On Sunday 04 January 2009 13:48:43 Patrick Dohrmann wrote:
> Unfortunately something has gone wrong. I downloaded and installed/made
> Qt/Embedded, Lazarus (svn, latest), FPC (sourceforge, latest), binding
> for qt/embedded (compiled sources and generated a libqt4intf.so, copied
> to usr/local/lib, ran ldconfig ...).
Lazarus LCL/Qt-embedded running on qvfb:
http://users.telenet.be/Jan.Van.hijfte/qtforfpc/qvfb_lazarus.png
Qt:
===
downloaded, untarred in /somedir, configured &
compiled qt-x11 and qt-embedded. (may take a couple of minutes :-)
x11: ./configure -prefix `pwd` -opengl -xrender -xcursor -xrandr -qvfb
embedded:./configure -prefix `pwd` -qvfb
qvfb:
====
after compilation, x11-qt should contain qvfb in subdir bin.
run qvfb
FPC Qt4 Binding:
=============
cd /somedir
tar zxvf qtopia_qt4pas-V1.68_Qt4.4.3.tar.gz
cd qt4pas-V1.68_Qt4.4.3/
export LD_LIBRARY_PATH=/somedir/qt-embedded-linux-opensource-src-4.4.3/lib
sh compile_lib_qtopia.sh i386
cp libqt4intf.so /somedir/qt-embedded-linux-opensource-src-4.4.3/lib
Lazarus:
=======
cd /svn/lazarus
export LD_LIBRARY_PATH=/somedir/qt-embedded-linux-opensource-src-4.4.3/lib
make PREFIX=/usr clean all LCL_PLATFORM=qt OPT="-dUSE_QT_44 -dQTOPIA"
./lazarus -qws
Note how the define QTOPIA solved your problem
http://wiki.lazarus.freepascal.org/index.php/Qt_Interface#Conditional_defines_accepted_by_the_Qt_Interface
http://wiki.lazarus.freepascal.org/LCL_Defines#Qt_defines
http://wiki.lazarus.freepascal.org/Qt4_binding#Supported_Platforms
regards,
Den Jean
More information about the Qt
mailing list