[Qt-interest] Problem compiling Qt4.6.2-maemo5 libs from source
Carl Snellman
carl.snellman at gmail.com
Thu Mar 11 19:27:25 CET 2010
On Tue, Mar 9, 2010 at 11:24 PM, Thiago Macieira <thiago at kde.org> wrote:
> Em Terça-feira 9. Março 2010, às 15.11.31, Carl Snellman escreveu:
>> Hey,
>> I'm trying to compile Qt libs for Maemo5 inside Scratchbox using the
>
> Hi Carl
>
> The first question is: why? It's already precompiled for you in the form of
> .deb packages, submitted to Extras-Devel.
Yeah, I aware about them and I'm using them on my device. I just
wanted to experiment making a fully self-contained executable, for
easy, small-scale distribution (even though it is not recommended). I
see I must figure out how to make .deb packages for maemo... :)
Would anyone have any good pointers to How-Tos build a package for Maemo?
>> following commands:
>> [sbox-FREMANTLE_ARMEL: ~/qt-maemo5-opensource-src-4.6.2] > ./configure
>> -maemo5 -static -opengles2 --prefix=~/qt4.6.2-maemo5-static
>
> Drop the -static. It's not supported.
Hmm... Could this be added at least in the README.maemo5 file
delivered as part of that src package?
>> /home/csnellman/qt-maemo5-opensource-src-4.6.2/lib/libQtGui.a(qapplication.
>> o): In function `qt_sendSpontaneousEvent(QObject*, QEvent*)':
>> qapplication.cpp:(.text+0x1bdc): multiple definition of
>> `qt_sendSpontaneousEvent(QObject*, QEvent*)'
>> /home/csnellman/qt-maemo5-opensource-src-4.6.2/lib/libQtWebKit.a(qwebview.o
>> ):qwebview.cpp:(.text._Z23qt_sendSpontaneousEventP7QObjectP6QEvent+0x0):
>> first defined here
>
> Looks like a problem caused by the -static flag.
Yeah, you're right, without the flag, everything compiled okay.
Thanks Thiago!
Carl
>
> --
> Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
> Senior Product Manager - Nokia, Qt Development Frameworks
> PGP/GPG: 0x6EF45358; fingerprint:
> E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
>
More information about the Qt-interest-old
mailing list