[Qt] QT/Embedded for FPC/Lazarus

Nataraj S Narayan natarajsn at gmail.com
Tue Oct 13 16:43:16 CEST 2009


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

On Tue, Oct 13, 2009 at 6:14 PM, Laz Arus <lazmaillist at web.de> wrote:
> 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
> Qt at lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/qt
>




More information about the Qt mailing list