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.