maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   QT Mobility multimedia (https://talk.maemo.org/showthread.php?t=56227)

uvatbc 2010-06-15 02:06

QT Mobility multimedia
 
1 Attachment(s)
Hi all.
I've been trying to create a small app that will play an MP3 using the QtMobility multimedia classes.
This app compiles and runs fine on Windows and Linux.
On my N900, it just keeps crashing with the following output:
"symbol lookup error: ./12: undefined symbol: _ZN10QtMobility14QMediaPlaylistC1EP7QObject"

I have PR1.2, I have installed libqtm-*, I have installed the qt-mobility-examples (player works fine).

I am compiling with the Nokia SDK beta and I have been unsuccessful for the past 2 weeks in even getting a hint at what might be going wrong.

My code is attached, the compiled binary is attached.
Any help is appreciated (even moral support!)

gionni88 2010-06-15 08:43

Re: QT Mobility multimedia
 
The multimedia lib on n900 and the one on sdk are different. To solve it I had to install last MADDE (which has the correct libs) and compile from it or sdk after having added a qt profile using the qmake installed with latest madde.

danielwilms 2010-06-15 09:45

Re: QT Mobility multimedia
 
Quote:

Originally Posted by gionni88 (Post 715808)
The multimedia lib on n900 and the one on sdk are different. To solve it I had to install last MADDE (which has the correct libs) and compile from it or sdk after having added a qt profile using the qmake installed with latest madde.


The release candidate of the Nokia Qt SDK includes the newest MADDE version. Might be you want to go for that one. Otherwise, here are some links:

Daniel

uvatbc 2010-06-15 14:44

Re: QT Mobility multimedia
 
Thanks!
I'm downloading all three offline installers as we speak. Will post results once I compile.

uvatbc 2010-06-15 15:40

Re: QT Mobility multimedia
 
It works! It works! Not only does it compile and run correctly on the n900 PR1.2, I now automatically get a deb. Frigging awesome! No more perl script to patch the pro file and invoke madde from command line. I'm loving it!

@gionni88 and @danielwilms: Thank you both a million times (I wish there was a re-thank button).


All times are GMT. The time now is 05:37.

vBulletin® Version 3.8.8