Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / qt / 2009-10

QT/Embedded for FPC/Lazarus

14 messages · 4 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Laz Arus

Hello,

i try to build applications with lazarus using qt/embedded so they can work without XServer running a XUbuntu 9.04.

I downloaded and compiled the latest qt source 4.5.2. I downloaded also the latest binding for fpc V1.72.

Compiling the QT-Source seems to be ok.

But compiling the binding fails:

./compile_lib_qtopia.sh i386

Note: ./compile_lib_qtopia.sh i386 will compile with g++, ./compile_lib_qtopia.sh will compile with arm-linux-g++ using g++ and strip
please wait for compile to finish ...
g++: BINUX: No such file or directory
In file included from qtpas.cpp:187:
lib/qsslcipher.cppb: In function ?QSslCipher__* QSslCipher_create()?: lib/qsslcipher.cppb:17: Fehler: expected primary-expression before ?)? token lib/qsslcipher.cppb:17: Fehler: expected ?;? before ?new? lib/qsslcipher.cppb:17: Fehler: expected type-specifier before ?QSslCipher? lib/qsslcipher.cppb:17: Fehler: expected `;' before ?QSslCipher? lib/qsslcipher.cppb: In function ?void QSslCipher_destroy(QSslCipher__*)?: lib/qsslcipher.cppb:22: Fehler: ?QSslCipher? wurde in diesem G?ltigkeitsbereich nicht definiert lib/qsslcipher.cppb:22: Fehler: expected primary-expression before ?)? token lib/qsslcipher.cppb:22: Fehler: expected `;' before ?handle? lib/qsslcipher.cppb: In function ?QSslCipher__* QSslCipher_create2(void*, QSsl::SslProtocol)?: lib/qsslcipher.cppb:29: Fehler: expected primary-expression before ?)? token lib/qsslcipher.cppb:29: Fehler: expected ?;? before ?new? lib/qsslcipher.cppb:29: Fehler: expected type-specifier before ?QSslCipher? lib/qsslcipher.cppb:29: Fehler: expected `;' before ?QSslCipher? lib/qsslcipher.cppb: In function ?QSslCipher__* QSslCipher_create3(QSslCipher__*)?: lib/qsslcipher.cppb:34: Fehler: expected primary-expression before ?)? token lib/qsslcipher.cppb:34: Fehler: expected ?;? before ?new? lib/qsslcipher.cppb:34: Fehler: expected type-specifier before ?QSslCipher? lib/qsslcipher.cppb:34: Fehler: expected `;' before ?QSslCipher? lib/qsslcipher.cppb: In function ?bool QSslCipher_isNull(QSslCipher__*)?: lib/qsslcipher.cppb:39: Fehler: ?QSslCipher? wurde in diesem G?ltigkeitsbereich nicht definiert lib/qsslcipher.cppb:39: Fehler: expected primary-expression before ?bool? lib/qsslcipher.cppb:39: Fehler: expected `)' before ?bool? lib/qsslcipher.cppb: In function ?void QSslCipher_name(QSslCipher__*, void*)?: lib/qsslcipher.cppb:45: Fehler: ?QSslCipher? wurde in diesem G?ltigkeitsbereich nicht definiert lib/qsslcipher.cppb:45: Fehler: expected primary-expression before ?)? token lib/qsslcipher.cppb:45: Fehler: expected `)' before ?handle? lib/qsslcipher.cppb: In function ?int QSslCipher_supportedBits(QSslCipher__*)?: lib/qsslcipher.cppb:51: Fehler: ?QSslCipher? wurde in diesem G?ltigkeitsbereich nicht definiert lib/qsslcipher.cppb:51: Fehler: expected primary-expression before ?int? lib/qsslcipher.cppb:51: Fehler: expected `)' before ?int? lib/qsslcipher.cppb: In function ?int QSslCipher_usedBits(QSslCipher__*)?: lib/qsslcipher.cppb:56: Fehler: ?QSslCipher? wurde in diesem G?ltigkeitsbereich nicht definiert lib/qsslcipher.cppb:56: Fehler: expected primary-expression before ?int? lib/qsslcipher.cppb:56: Fehler: expected `)' before ?int? lib/qsslcipher.cppb: In function ?void QSslCipher_keyExchangeMethod(QSslCipher__*, void*)?: lib/qsslcipher.cppb:62: Fehler: ?QSslCipher? wurde in diesem G?ltigkeitsbereich nicht definiert ...

anone an idea, what ive done wrong?

Greetings
Tobi
_______________________________________________________________ Neu: WEB.DE DSL bis 50.000 kBit/s und 200,- Euro Startguthaben! http://produkte.web.de/go/02/

Nataraj S Narayan
to Laz Arus

Laz,

Looks interesting.

Have a look at mine on FreeBSD, arm-linux- tool chains:-

[root at freebsd /software/qt4pas-V1.70_Qt4.5.0]# xemacs compile_lib compile_lib.sh compile_lib.sh.orig compile_lib_arm.sh compile_lib_qtopia.sh
compile_lib.sh.bak compile_lib.sh~ compile_lib_arm.sh~ compile_lib_qtopia.sh~
[root at freebsd /software/qt4pas-V1.70_Qt4.5.0]# xemacs compile_lib_qtopia.sh [root at freebsd /software/qt4pas-V1.70_Qt4.5.0]# sh compile_lib_qtopia.sh Note: compile_lib_qtopia.sh i386 will compile with g++, compile_lib_qtopia.sh will compile with arm-linux-g++ using arm-linux-g++ and arm-linux-strip
please wait for compile to finish ...
/tmp/ccOcMGaA.s: Assembler messages:
/tmp/ccOcMGaA.s:1322: Error: bad instruction `lock' /tmp/ccOcMGaA.s:1323: Error: bad instruction `incl [r2,#0]' /tmp/ccOcMGaA.s:1324: Error: bad instruction `setne [fp,#-5]' /tmp/ccOcMGaA.s:1362: Error: bad instruction `lock' /tmp/ccOcMGaA.s:1363: Error: bad instruction `decl [r2,#0]' /tmp/ccOcMGaA.s:1364: Error: bad instruction `setne [fp,#-5]' Showing used Qt libraries when
LD_LIBRARY_PATH=/software/qt-embedded-linux-opensource-src-4.5.2/lib ldd: libqt4intf.so: No such file or directory
stripping library
arm-linux-strip: 'libqt4intf.so': No such file
Done

regards

Nataraj

Laz Arus wrote 72 lines
Hello, i try to build applications with lazarus using qt/embedded so they can work without XServer running a XUbuntu 9.04. I downloaded and compiled the latest qt source 4.5.2. I downloaded also the latest binding for fpc V1.72. Compiling the QT-Source seems to be ok. But compiling the binding fails: ./compile_lib_qtopia.sh i386 Note: ./compile_lib_qtopia.sh i386 will compile with g++, ./compile_lib_qtopia.sh will compile with arm-linux-g++ using g++ and strip please wait for compile to finish ... g++: BINUX: No such file or directory In file included from qtpas.cpp:187: lib/qsslcipher.cppb: In function ?QSslCipher__* QSslCipher_create()?: lib/qsslcipher.cppb:17: Fehler: expected primary-expression before ?)? token lib/qsslcipher.cppb:17: Fehler: expected ?;? before ?new? lib/qsslcipher.cppb:17: Fehler: expected type-specifier before ?QSslCipher? lib/qsslcipher.cppb:17: Fehler: expected `;' before ?QSslCipher? lib/qsslcipher.cppb: In function ?void QSslCipher_destroy(QSslCipher__*)?: lib/qsslcipher.cppb:22: Fehler: ?QSslCipher? wurde in diesem G?ltigkeitsbereich nicht definiert lib/qsslcipher.cppb:22: Fehler: expected primary-expression before ?)? token lib/qsslcipher.cppb:22: Fehler: expected `;' before ?handle? lib/qsslcipher.cppb: In function ?QSslCipher__* QSslCipher_create2(void*, QSsl::SslProtocol)?: lib/qsslcipher.cppb:29: Fehler: expected primary-expression before ?)? token lib/qsslcipher.cppb:29: Fehler: expected ?;? before ?new? lib/qsslcipher.cppb:29: Fehler: expected type-specifier before ?QSslCipher? lib/qsslcipher.cppb:29: Fehler: expected `;' before ?QSslCipher? lib/qsslcipher.cppb: In function ?QSslCipher__* QSslCipher_create3(QSslCipher__*)?: lib/qsslcipher.cppb:34: Fehler: expected primary-expression before ?)? token lib/qsslcipher.cppb:34: Fehler: expected ?;? before ?new? lib/qsslcipher.cppb:34: Fehler: expected type-specifier before ?QSslCipher? lib/qsslcipher.cppb:34: Fehler: expected `;' before ?QSslCipher? lib/qsslcipher.cppb: In function ?bool QSslCipher_isNull(QSslCipher__*)?: lib/qsslcipher.cppb:39: Fehler: ?QSslCipher? wurde in diesem G?ltigkeitsbereich nicht definiert lib/qsslcipher.cppb:39: Fehler: expected primary-expression before ?bool? lib/qsslcipher.cppb:39: Fehler: expected `)' before ?bool? lib/qsslcipher.cppb: In function ?void QSslCipher_name(QSslCipher__*, void*)?: lib/qsslcipher.cppb:45: Fehler: ?QSslCipher? wurde in diesem G?ltigkeitsbereich nicht definiert lib/qsslcipher.cppb:45: Fehler: expected primary-expression before ?)? token lib/qsslcipher.cppb:45: Fehler: expected `)' before ?handle? lib/qsslcipher.cppb: In function ?int QSslCipher_supportedBits(QSslCipher__*)?: lib/qsslcipher.cppb:51: Fehler: ?QSslCipher? wurde in diesem G?ltigkeitsbereich nicht definiert lib/qsslcipher.cppb:51: Fehler: expected primary-expression before ?int? lib/qsslcipher.cppb:51: Fehler: expected `)' before ?int? lib/qsslcipher.cppb: In function ?int QSslCipher_usedBits(QSslCipher__*)?: lib/qsslcipher.cppb:56: Fehler: ?QSslCipher? wurde in diesem G?ltigkeitsbereich nicht definiert lib/qsslcipher.cppb:56: Fehler: expected primary-expression before ?int? lib/qsslcipher.cppb:56: Fehler: expected `)' before ?int? lib/qsslcipher.cppb: In function ?void QSslCipher_keyExchangeMethod(QSslCipher__*, void*)?: lib/qsslcipher.cppb:62: Fehler: ?QSslCipher? wurde in diesem G?ltigkeitsbereich nicht definiert ... anone an idea, what ive done wrong? Greetings Tobi _______________________________________________________________ Neu: WEB.DE DSL bis 50.000 kBit/s und 200,- Euro Startguthaben! http://produkte.web.de/go/02/ _______________________________________________ Qt mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/qt
Nataraj S Narayan
to Laz Arus: i try to build applications with lazarus using qt/embedded so they can work without…

Hi

Using FreeBSD ports , it is quite neat stuff:-

[root at freebsd /usr/ports/x11-toolkits/qt4pas]# make ===> Vulnerability check disabled, database not found ===> Extracting for qt4pas-1.70
=> MD5 Checksum OK for qt4pas-V1.70_Qt4.5.0.tar.gz. => SHA256 Checksum OK for qt4pas-V1.70_Qt4.5.0.tar.gz. ===> Patching for qt4pas-1.70
===> Applying FreeBSD patches for qt4pas-1.70
===> qt4pas-1.70 depends on package: qt4-corelib>=4.5.2 - found ===> qt4pas-1.70 depends on package: qt4-gui>=4.5.2 - found ===> qt4pas-1.70 depends on package: qt4-network>=4.5.2 - found ===> qt4pas-1.70 depends on package: qt4-script>=4.5.2 - found ===> qt4pas-1.70 depends on package: qt4-webkit>=4.5.2 - found ===> Configuring for qt4pas-1.70
===> Building for qt4pas-1.70
please wait for compile to finish ...
stripping library
Done
[root at freebsd /usr/ports/x11-toolkits/qt4pas]# make install ===> Installing for qt4pas-1.70
===> qt4pas-1.70 depends on package: qt4-corelib>=4.5.2 - found ===> qt4pas-1.70 depends on package: qt4-gui>=4.5.2 - found ===> qt4pas-1.70 depends on package: qt4-network>=4.5.2 - found ===> qt4pas-1.70 depends on package: qt4-script>=4.5.2 - found ===> qt4pas-1.70 depends on package: qt4-webkit>=4.5.2 - found ===> Generating temporary packing list
===> Checking if x11-toolkits/qt4pas already installed install -s -o root -g wheel -m 555
/usr/ports/x11-toolkits/qt4pas/work/qt4pas-V1.70_Qt4.5.0/libqt4intf.so /usr/local/lib/qt4
===> Running ldconfig
/sbin/ldconfig -m /usr/local/lib
===> Registering installation for qt4pas-1.70

regards

Nataraj

Laz Arus wrote 72 lines
Hello, i try to build applications with lazarus using qt/embedded so they can work without XServer running a XUbuntu 9.04. I downloaded and compiled the latest qt source 4.5.2. I downloaded also the latest binding for fpc V1.72. Compiling the QT-Source seems to be ok. But compiling the binding fails: ./compile_lib_qtopia.sh i386 Note: ./compile_lib_qtopia.sh i386 will compile with g++, ./compile_lib_qtopia.sh will compile with arm-linux-g++ using g++ and strip please wait for compile to finish ... g++: BINUX: No such file or directory In file included from qtpas.cpp:187: lib/qsslcipher.cppb: In function ?QSslCipher__* QSslCipher_create()?: lib/qsslcipher.cppb:17: Fehler: expected primary-expression before ?)? token lib/qsslcipher.cppb:17: Fehler: expected ?;? before ?new? lib/qsslcipher.cppb:17: Fehler: expected type-specifier before ?QSslCipher? lib/qsslcipher.cppb:17: Fehler: expected `;' before ?QSslCipher? lib/qsslcipher.cppb: In function ?void QSslCipher_destroy(QSslCipher__*)?: lib/qsslcipher.cppb:22: Fehler: ?QSslCipher? wurde in diesem G?ltigkeitsbereich nicht definiert lib/qsslcipher.cppb:22: Fehler: expected primary-expression before ?)? token lib/qsslcipher.cppb:22: Fehler: expected `;' before ?handle? lib/qsslcipher.cppb: In function ?QSslCipher__* QSslCipher_create2(void*, QSsl::SslProtocol)?: lib/qsslcipher.cppb:29: Fehler: expected primary-expression before ?)? token lib/qsslcipher.cppb:29: Fehler: expected ?;? before ?new? lib/qsslcipher.cppb:29: Fehler: expected type-specifier before ?QSslCipher? lib/qsslcipher.cppb:29: Fehler: expected `;' before ?QSslCipher? lib/qsslcipher.cppb: In function ?QSslCipher__* QSslCipher_create3(QSslCipher__*)?: lib/qsslcipher.cppb:34: Fehler: expected primary-expression before ?)? token lib/qsslcipher.cppb:34: Fehler: expected ?;? before ?new? lib/qsslcipher.cppb:34: Fehler: expected type-specifier before ?QSslCipher? lib/qsslcipher.cppb:34: Fehler: expected `;' before ?QSslCipher? lib/qsslcipher.cppb: In function ?bool QSslCipher_isNull(QSslCipher__*)?: lib/qsslcipher.cppb:39: Fehler: ?QSslCipher? wurde in diesem G?ltigkeitsbereich nicht definiert lib/qsslcipher.cppb:39: Fehler: expected primary-expression before ?bool? lib/qsslcipher.cppb:39: Fehler: expected `)' before ?bool? lib/qsslcipher.cppb: In function ?void QSslCipher_name(QSslCipher__*, void*)?: lib/qsslcipher.cppb:45: Fehler: ?QSslCipher? wurde in diesem G?ltigkeitsbereich nicht definiert lib/qsslcipher.cppb:45: Fehler: expected primary-expression before ?)? token lib/qsslcipher.cppb:45: Fehler: expected `)' before ?handle? lib/qsslcipher.cppb: In function ?int QSslCipher_supportedBits(QSslCipher__*)?: lib/qsslcipher.cppb:51: Fehler: ?QSslCipher? wurde in diesem G?ltigkeitsbereich nicht definiert lib/qsslcipher.cppb:51: Fehler: expected primary-expression before ?int? lib/qsslcipher.cppb:51: Fehler: expected `)' before ?int? lib/qsslcipher.cppb: In function ?int QSslCipher_usedBits(QSslCipher__*)?: lib/qsslcipher.cppb:56: Fehler: ?QSslCipher? wurde in diesem G?ltigkeitsbereich nicht definiert lib/qsslcipher.cppb:56: Fehler: expected primary-expression before ?int? lib/qsslcipher.cppb:56: Fehler: expected `)' before ?int? lib/qsslcipher.cppb: In function ?void QSslCipher_keyExchangeMethod(QSslCipher__*, void*)?: lib/qsslcipher.cppb:62: Fehler: ?QSslCipher? wurde in diesem G?ltigkeitsbereich nicht definiert ... anone an idea, what ive done wrong? Greetings Tobi _______________________________________________________________ Neu: WEB.DE DSL bis 50.000 kBit/s und 200,- Euro Startguthaben! http://produkte.web.de/go/02/ _______________________________________________ Qt mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/qt
Den Jean
to Laz Arus: i try to build applications with lazarus using qt/embedded so they can work without…
Laz Arus wrote
g++: BINUX: No such file or directory

I see that there is a typo in my compile script. Sorry :-) Remove the word BINUX from the line $GCC.

$GCC -D QTOPIA -D Q_WS_QWS $INCLUDE_PATH .... (should not be *BINUX* between *Q_WS_QWS* and *$INCLUDE_PATH*)

As there is a bug for the embedded part in qt-all-opensource-src-4.5.2.tar.gz that I use, I could not really test embedded i386. I will download, configure and compile qt-all-opensource-src-4.5.3.tar.gz (hope that one is fixed) or use qt-embedded-linux-opensource-src-4.5.3.tar.gz. and check if that typo fix is sufficient. And then make a new release.

I use qt-all-opensource-src to detect all functions available on all platforms in one Qt directory.

In the mean time just try with the word BINUX removed.

kind regards,

Den Jean

Nataraj S Narayan
to Den Jean

Hi

I got qt-embedded-linux-opensource-src-4.5.2 on arm-linux-uclibcgnueabi-.

Any chance to get libqt4intf.so for arm-linux?

I would love to use lazarus + qt4 on my Arm9 at91sam9263 SBC.

regards

Nataraj

Den Jean wrote 11 lines
On Tuesday 13 October 2009 14:44:54 Laz Arus wrote: > i try to build applications with lazarus using qt/embedded so they can work without XServer running a XUbuntu 9.04. Lazarus trunk qt-embedded 4.5.3 on qvfb: http://users.telenet.be/Jan.Van.hijfte/qtforfpc/Lazarus_Embedded.png _______________________________________________ Qt mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/qt
Laz Arus

So what have you done?

I was using QT-Embedded for Linux 4.5.3
i did "./configure -embedded generic", "make" and "make install". I checked the demos & examples and qt seems to work.

i downloaded the FPC-Binding 1.72.
I removed the "BINUX" and inserted the correct QT-Source-Dir.

If i try to run "./compile_lib_qtopia.sh i386" these errors occurs:

In file included from qtpas.cpp:187:
lib/qsslcipher.cppb: In function ?QSslCipher__* QSslCipher_create()?: lib/qsslcipher.cppb:17: Fehler: expected primary-expression before ?)? token lib/qsslcipher.cppb:17: Fehler: expected ?;? before ?new? lib/qsslcipher.cppb:17: Fehler: expected type-specifier before ?QSslCipher? lib/qsslcipher.cppb:17: Fehler: expected `;' before ?QSslCipher? lib/qsslcipher.cppb: In function ?void QSslCipher_destroy(QSslCipher__*)?: lib/qsslcipher.cppb:22: Fehler: ?QSslCipher? wurde in diesem G?ltigkeitsbereich nicht definiert lib/qsslcipher.cppb:22: Fehler: expected primary-expression before ?)? token lib/qsslcipher.cppb:22: Fehler: expected `;' before ?handle? lib/qsslcipher.cppb: In function ?QSslCipher__* QSslCipher_create2(void*, QSsl::SslProtocol)?: lib/qsslcipher.cppb:29: Fehler: expected primary-expression before ?)? token lib/qsslcipher.cppb:29: Fehler: expected ?;? before ?new? lib/qsslcipher.cppb:29: Fehler: expected type-specifier before ?QSslCipher? lib/qsslcipher.cppb:29: Fehler: expected `;' before ?QSslCipher? lib/qsslcipher.cppb: In function ?QSslCipher__* QSslCipher_create3(QSslCipher__*)?: lib/qsslcipher.cppb:34: Fehler: expected primary-expression before ?)? token lib/qsslcipher.cppb:34: Fehler: expected ?;? before ?new? lib/qsslcipher.cppb:34: Fehler: expected type-specifier before ?QSslCipher? lib/qsslcipher.cppb:34: Fehler: expected `;' before ?QSslCipher? ...

i tried QT-Embedded 4.5.2 also, but there is no difference in the output. Have i forgott something?
How have u make it running?

Greets Laz

Show quoted text 5 lines
-----Urspr?ngliche Nachricht----- Von: "Den Jean" Gesendet: 13.10.09 21:42:53 An: Items specific to the Qt widget set Betreff: Re: [Qt] QT/Embedded for FPC/Lazarus
Show quoted text 11 lines
On Tuesday 13 October 2009 14:44:54 Laz Arus wrote: > i try to build applications with lazarus using qt/embedded so they can work without XServer running a XUbuntu 9.04. Lazarus trunk qt-embedded 4.5.3 on qvfb: http://users.telenet.be/Jan.Van.hijfte/qtforfpc/Lazarus_Embedded.png _______________________________________________ Qt mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/qt

_______________________________________________________________ Neu: WEB.DE DSL bis 50.000 kBit/s und 200,- Euro Startguthaben! http://produkte.web.de/go/02/

zeljko
to Laz Arus
Laz Arus wrote 40 lines
So what have you done? I was using QT-Embedded for Linux 4.5.3 i did "./configure -embedded generic", "make" and "make install". I checked the demos & examples and qt seems to work. i downloaded the FPC-Binding 1.72. I removed the "BINUX" and inserted the correct QT-Source-Dir. If i try to run "./compile_lib_qtopia.sh i386" these errors occurs: In file included from qtpas.cpp:187: lib/qsslcipher.cppb: In function ?QSslCipher__* QSslCipher_create()?: lib/qsslcipher.cppb:17: Fehler: expected primary-expression before ?)? token lib/qsslcipher.cppb:17: Fehler: expected ?;? before ?new? lib/qsslcipher.cppb:17: Fehler: expected type-specifier before ?QSslCipher? lib/qsslcipher.cppb:17: Fehler: expected `;' before ?QSslCipher? lib/qsslcipher.cppb: In function ?void QSslCipher_destroy(QSslCipher__*)?: lib/qsslcipher.cppb:22: Fehler: ?QSslCipher? wurde in diesem G?ltigkeitsbereich nicht definiert lib/qsslcipher.cppb:22: Fehler: expected primary-expression before ?)? token lib/qsslcipher.cppb:22: Fehler: expected `;' before ?handle? lib/qsslcipher.cppb: In function ?QSslCipher__* QSslCipher_create2(void*, QSsl::SslProtocol)?: lib/qsslcipher.cppb:29: Fehler: expected primary-expression before ?)? token lib/qsslcipher.cppb:29: Fehler: expected ?;? before ?new? lib/qsslcipher.cppb:29: Fehler: expected type-specifier before ?QSslCipher? lib/qsslcipher.cppb:29: Fehler: expected `;' before ?QSslCipher? lib/qsslcipher.cppb: In function ?QSslCipher__* QSslCipher_create3(QSslCipher__*)?: lib/qsslcipher.cppb:34: Fehler: expected primary-expression before ?)? token lib/qsslcipher.cppb:34: Fehler: expected ?;? before ?new? lib/qsslcipher.cppb:34: Fehler: expected type-specifier before ?QSslCipher? lib/qsslcipher.cppb:34: Fehler: expected `;' before ?QSslCipher? ... i tried QT-Embedded 4.5.2 also, but there is no difference in the output. Have i forgott something? How have u make it running?

You must link Qt (not bindings but qt libs) against openssl (give the path to openssl include files etc...)

Den Jean
to Laz Arus: So what have you done? I was using QT-Embedded for Linux 4.5.3 i did "./configure…
Laz Arus wrote
i did "./configure -embedded generic", "make" and "make install".

./configure -v -confirm-license -prefix `pwd` -opengl -xrender -xcursor -xrandr -qvfb -openssl -fontconfig -sm -opensource

This is distro qt compatible. If parts of qt are missing, lazarus would not compile either because some calls are not present.

e.g. QT_NO_PRINTER and QT_NO_PRINTDIALOG would prohibit lazarus to compile. see src/corelib/global/qfeatures.h for all possibilities.

Nataraj S Narayan
to Den Jean

Hi

At the moment , I am on arm-linux-uclibcgnueabi- on root file system built using buildroot with uclibc. This is quite suited for my SBC, which has modest Ram (64M) and 265M flash. I able to get cross compile fpc and do get a working ppcrossarm
using :-

make distclean crosszipinstall CPU_TARGET=arm CROSSOPT='-CfSOFT -darm -dFPC-ARMEL -gl' FPC=/usr/local/bin/fpc
BINUTILSPREFIX=/usr/buildroot-v23434/build_arm/staging_dir/usr/bin/arm-linux-uclibcgnueabi-

Dont use scratchbox as of now. I do cross compile on a debian machine with --host=arm-linux

regards

Nataraj

Den Jean wrote 17 lines
On Wednesday 14 October 2009 06:59:42 Nataraj S Narayan wrote: > I got qt-embedded-linux-opensource-src-4.5.2 on arm-linux-uclibcgnueabi-. > > Any chance to get libqt4intf.so for arm-linux? > > I would love to use lazarus + qt4 on my Arm9 at91sam9263 SBC. > I do not have the board (hint -:) Do you use scratchbox ? _______________________________________________ Qt mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/qt
Laz Arus
Show quoted text 10 lines
On Tuesday 20 October 2009 10:02:40 Laz Arus wrote: > i did "./configure -embedded generic", "make" and "make install". ./configure -v -confirm-license -prefix `pwd` -opengl -xrender -xcursor -xrandr -qvfb -openssl -fontconfig -sm -opensource This is distro qt compatible. If parts of qt are missing, lazarus would not compile either because some calls are not present. e.g. QT_NO_PRINTER and QT_NO_PRINTDIALOG would prohibit lazarus to compile. see src/corelib/global/qfeatures.h for all possibilities.

Compiling the binding now works! (is -embedded not necessary for ./configure?) But if i try to compile Lazarus with qt (or an application for qt) this error occurs:

/usr/bin/ld: cannot find -lqt4intf
hello.pp(31,1) Error: Error while linking
hello.pp(31,1) Fatal: There were 1 errors compiling module, stopping
TMessagesView.CollectLineParts WARNING: 1513 SrcLine=hello.pp(31,1) Fatal: There were 1 errors compiling module, stopping
TExternalToolList.Run Exception: /usr/lib/lazarus/0.9.28/examples/hello.pp(31,1) Fatal: There were 1 errors compiling module, stopping
TMainIDE.DoBuildLazarus: Building standard components (LCL, SynEdit, CodeTools) failed.

Is there still anything i have to do before?

Thank you for your help.

Greets

_______________________________________________________________ Neu: WEB.DE DSL bis 50.000 kBit/s und 200,- Euro Startguthaben! http://produkte.web.de/go/02/

Den Jean
to Laz Arus
Laz Arus wrote
/usr/bin/ld: cannot find -lqt4intf

:-) because it cannot find the lib libqt4intf.so
copy it in a directory where the other libraries like libQtCore.so.4* are. Note that since the versioning, for linking a libqt4intf.so needs to be found. But to run a program linked to libqt4intf, a libqt4intf.so.5 needs to be found. so create 2 links of these names to the file libqt4intf.so.5.1.XY.

This is the way library versioning is supposed to work http://tldp.org/HOWTO/Program-Library-HOWTO/shared-libraries.html