Hi all,
I'm developing an Qt Phonon application.
it was working fine w/ Qt 4.7
then I decided to migrate to Qt 4.8
And now I got a crash in this line:
_mediaObject =
new Phonon::
MediaObject(
_centralWidget);
_mediaObject is a Phonon::MediaObject
and _centralWidget is a QWidget*
at first I saw that my system had 2 Qt installations (one dylib and other as framework)... and it was confusing somehow...
and even my Qmake pointing to the framework I still get my application linking to dylib...
So I deleted manually the dylib (I know maybe it was wrong but I didn't figure out a better way to uninstall that =x), and now my application successfull link to framework, but crashes at that line
the otool -L output
phonon.framework/Versions/4/phonon (compatibility version 4.4.0, current version 4.4.0)
QtDBus.framework/Versions/4/QtDBus (compatibility version 4.8.0, current version 4.8.0)
QtXml.framework/Versions/4/QtXml (compatibility version 4.8.0, current version 4.8.0)
QtCore.framework/Versions/4/QtCore (compatibility version 4.8.0, current version 4.8.0)
QtGui.framework/Versions/4/QtGui (compatibility version 4.8.0, current version 4.8.0)
QtSql.framework/Versions/4/QtSql (compatibility version 4.8.0, current version 4.8.0)
/usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 7.9.0)
/usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 625.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 125.2.11)
The Phonon is 4.4, maybe it's a problem?
and here is the crashreport:
http://pastebin.ca/2106145
My OS: OSX 10.6
G++ g++ --version
i686-apple-darwin10-g++-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5664)
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Qt: 4.8