[Qt] QT/Embedded for FPC/Lazarus

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


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

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