[Qt-interest] capabilities of phonon example project executing problem

Yuvaraj R yuvaraj at ongobiz.com
Wed Sep 9 19:54:51 CEST 2009


Thanks for your reply


In .catch file it contains


-plugin-sql-sqlite
-plugin-sql-odbc
-qt-libpng
-qt-libjpeg


I just  ran the qmake for phonon.. Now music player is working.but
capabilities is not working . i am getting the following errors

D:/2009.01/mingw/bin/mingw32-make -f Makefile.Debug

mingw32-make[1]: Entering directory
`D:/2009.01/qt/examples/phonon/capabilities'

g++ -enable-stdcall-fixup -Wl,-enable-auto-import
-Wl,-enable-runtime-pseudo-reloc -mthreads -Wl -Wl,-subsystem,windows -o
debug\capabilities.exe tmp/obj/debug_shared/window.o
tmp/obj/debug_shared/main.o tmp/obj/debug_shared/moc_window.o
-L"d:\2009.01\qt\lib" -L"d:\2009.01\qt\lib" -lmingw32 -lqtmaind -lphonond4
-lQtGuid4 -lQtCored4

mingw32-make[1]: Leaving directory
`D:/2009.01/qt/examples/phonon/capabilities'

mingw32-make: Leaving directory `D:/2009.01/qt/examples/phonon/capabilities'

tmp/obj/debug_shared/window.o: In function
`ZNK6Phonon22ObjectDescriptionModelILNS_21ObjectDescriptionTypeE0EE9mimeTypesEv':

D:/2009.01/qt/examples/phonon/capabilities/../../../include/Phonon/../../src/phonon/../3rdparty/phonon/phonon/objectdescriptionmodel.h:(.rdata$_ZTVN6Phonon22ObjectDescriptionModelILNS_21ObjectDescriptionTypeE0EEE[vtable
for Phonon::ObjectDescriptionModel<(Phonon::ObjectDescriptionType)0>]+0x8):
undefined reference to
`Phonon::ObjectDescriptionModel<(Phonon::ObjectDescriptionType)0>::metaObject()
const'

D:/2009.01/qt/examples/phonon/capabilities/../../../include/Phonon/../../src/phonon/../3rdparty/phonon/phonon/objectdescriptionmodel.h:(.rdata$_ZTVN6Phonon22ObjectDescriptionModelILNS_21ObjectDescriptionTypeE0EEE[vtable
for Phonon::ObjectDescriptionModel<(Phonon::ObjectDescriptionType)0>]+0xc):
undefined reference to
`Phonon::ObjectDescriptionModel<(Phonon::ObjectDescriptionType)0>::qt_metacast(char
const*)'

collect2: ld returned 1 exit status

mingw32-make[1]: *** [debug\capabilities.exe] Error 1

mingw32-make: *** [debug] Error 2

Exited with code 2.

Error while building project capabilities

When executing build step 'Make'



Please help me


Thanks


Yuvaraj R


On Wed, Sep 9, 2009 at 11:12 PM, R. Reucher <rene.reucher at batcom-it.net>wrote:

> On Wed, 09 Sep 2009 22:57:40 +0530, Yuvaraj R wrote:
> > Already i have installed direct X sdk.Then what i have to do ?
> Why don't you just follow the docs...
> http://qt.nokia.com/doc/4.5/install-win.html
>
> As Thiago already said, because you want/need Phonon support, you will
> have to either patch MinGW somehow, or you should use VC++, which you can
> get here (Express version is "free"):
> http://www.microsoft.com/Express/download/default.aspx
>
> HTH, René
> --
> René Reucher
> rene.reucher at batcom-it.net
> http://www.batcom-it.net/
>
> "Why be a man when you can be a success?"
>                -- Bertold Brecht
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090909/889915cf/attachment.html 


More information about the Qt-interest-old mailing list