[fpc-pascal] Lazarus + Qt4 in FreeBSD

Den Jean Den.Jean at telenet.be
Tue Dec 11 22:33:57 CET 2007

On Tuesday 11 December 2007 08:05:49 pm papelhigienico at gmail.com wrote:
> Attached the script that build libqt4intf.so in FreeBSD (test)

try to run the demoes of c++ qt4 
cd qt-x11-opensource-src-4.3.1/demos/textedit

try to build the demo of the fpc qt4 bindings and run those 

make sure you do not have 2 Qt's mixed in the library paths.
Although different versions are claimed to be compatible, a 
different ./configure by distrib vendor may even make a same 
version a completely different Qt lib. 

There is a help about in the bindings mainwindow demo that gives the Qt 

use ldd to find the the path of the used lib on your system

ldd ./mainwindow | grep -i qt
        libqt4intf.so => /usr/lib/libqt4intf.so (0xb7d3f000)
        libQtCore.so.4 => /usr/lib/qt4/lib/libQtCore.so.4 (0xb7a6f000)
        libQtGui.so.4 => /usr/lib/qt4/lib/libQtGui.so.4 (0xb72b2000)

More information about the fpc-pascal mailing list