When I rebuild qt deb install packages using "dpkg-buildpackage -b -D -rfakeroot -us -uc"
I get the following errors when trying to build qt-mobility with the following options: ./configure -maemo5 -release -modules "multimedia" -tests In file included from qmediaimageviewer.cpp:45: qmediaimageviewerservice_p.h:74: error: function definition does not declare parameters qmediaimageviewerservice_p.h:99: error: expected `)' before '*' token qmediaimageviewer.cpp: In constructor 'QMediaImageViewer::QMediaImageViewer(QObject*)': qmediaimageviewer.cpp:208: error: expected type-specifier before 'QMediaImageViewerService' qmediaimageviewer.cpp:208: error: expected `)' before 'QMediaImageViewerService' qmediaimageviewer.cpp:208: error: no matching function for call to 'QMediaObject::QMediaObject(QMediaImageViewerPrivate&, QObject*&, int*)' qmediaobject.h:93: note: candidates are: QMediaObject::QMediaObject(QMediaObjectPrivate&, QObject*, QMediaService*) qmediaobject.h:92: note: QMediaObject::QMediaObject(QObject*, QMediaService*) qmediaobject.h:58: note: QMediaObject::QMediaObject(const QMediaObject&) make[2]: *** [../../build/Release/QtMultimediaKit/qmediaimageviewer.o] Error 1 make[2]: Leaving directory `/home/ballagas/qt-mobility/src/multimedia' make[1]: *** [sub-multimedia-make_default] Error 2 make[1]: Leaving directory `/home/ballagas/qt-mobility/src' make: *** [sub-src-make_default-ordered] Error 2 I was able to successfully build qt-mobility multimedia for the N900 when I used the following configure options for qt: "./configure -developer-build -release -opengl es2 -maemo5 -nomake demos -nomake examples" but then I don't get the *.deb packages to install. I guess I need to manually install the libraries by copying them over, or is there a better way. Best -Tico On Sep 20, 2010, at 1:50 AM, <[email protected]> <[email protected]> wrote: > > > Changing QT_PLUGIN_PATH to include the plugins directory (i.e. > /opt/qt4-maemo5/plugins) will probably get you up and running. > > > > You're right. Changing my plugin path to the following seems to help. I > formerly had it to /opt/qt4-maemo5 because that worked fine for the sensors > examples. > > I still have the following issue though: > QMediaPluginLoader: Failed to load plugin: > "/opt/qt4-maemo5/plugins/mediaservice/libqtmedia_v4lengine.so" "The plugin > '/opt/qt4-maemo5/plugins/mediaservice/libqtmedia_v4lengine.so' uses > incompatible Qt library. Expected build key "armv6 linux g++-4 full-config", > got "arm linux g++-4 full-config"" > > Why does my scratchbox produce a different build key? How would I change > this? > > Most likely you have a different build of Qt to the one installed at > /opt/qt4-maemo5 in your PATH and the wrong version of qmake is being used by > configure. You’ll need to prepend /opt/qt4-maemo5/bin to PATH and do a new > build of QtMobility. >
_______________________________________________ Qt-mobility-feedback mailing list [email protected] http://lists.trolltech.com/mailman/listinfo/qt-mobility-feedback
