[Qt] How to compile qt bindings
Den Jean
Den.Jean at telenet.be
Thu Dec 1 17:27:09 CET 2011
On Thursday 01 December 2011 15:08:02 Johan Kotze wrote:
> I then built a 32bit openSuSE 21.1 virtual machine and installed fpc
> and lazarus on that machine. I built libQt4Pas 2.4 and when I try to build
> Lazarus for qt it gives me the following errors:
Your first attempt was on 64bit, there the compiled libs should
have been copied to /usr/lib64/ using sudo make install
On this 32bit virtual machine it should be /usr/lib/
e.g.
$ ls -l /usr/lib/libQt4P*
lrwxrwxrwx 1 root root 18 Nov 22 19:49 /usr/lib/libQt4Pas.so -> libQt4Pas.so.5.2.4
lrwxrwxrwx 1 root root 18 Nov 22 19:49 /usr/lib/libQt4Pas.so.5 -> libQt4Pas.so.5.2.4
lrwxrwxrwx 1 root root 18 Nov 22 19:49 /usr/lib/libQt4Pas.so.5.2 -> libQt4Pas.so.5.2.4
-rwxr-xr-x 1 root root 26049659 Nov 22 19:47 /usr/lib/libQt4Pas.so.5.2.4
If this does not help, can you give all the errors. Because if all the
errors are about X11 functions, perhaps the compilation process
went wrong and the X11 functions were not included.
Was the output of qmake similar to this:
$ qmake-qt4
Project MESSAGE: Added -mstackrealign to CXXFLAGS in support of SSE on arch: i686
Project MESSAGE: Note: This binding version was generated for Qt 4.5.3. Current Qt is 4.7.4
Project MESSAGE: Qt documents binary compatibility in each Version Change Note: http://qt.nokia.com/developer/changes
Project MESSAGE: Pascal Qt Interface for binding platform: BINUX
Project MESSAGE: Install location: /usr/lib
Especially note *platform BINUX* => this ensures X11 functions are included.
regards,
Den Jean
More information about the Qt
mailing list