[Qt] QT/Embedded for FPC/Lazarus

zeljko zeljko at holobit.net
Tue Oct 20 11:55:47 CEST 2009


On Tuesday 20 October 2009 10:02, Laz Arus wrote:
> 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...)





More information about the Qt mailing list