snah
12th August 2010, 21:57
Hi all,
when I added phonon to my project the style of the user interface has suddenly changed. And worse: all the text in the menu has disappeared.
I boiled the problem down to the following piece of code:
mediaObject = new Phonon::MediaObject(this);
audioOutput = new Phonon::AudioOutput(Phonon::MusicCategory, this);
Phonon::createPath(mediaObject, audioOutput);
Specifically the second line where the AudioOutput is created. When I comment out this line the program behaves and looks normal (first image) but when the line is active the program looks like in the second image. It behaves normally however, it is just the appearance that has changed.
50685067
I have already found that the change happens at runtime (as opposed to during compilation) by enclosing the above piece of code in an if statement and using the debugger to chose between executing it or not.
Any ideas on how to solve this or how to troubleshoot this further?
If it helps, I'm running debian linux(lenny) and link to Qt 4.4.3 from the repositories.
when I added phonon to my project the style of the user interface has suddenly changed. And worse: all the text in the menu has disappeared.
I boiled the problem down to the following piece of code:
mediaObject = new Phonon::MediaObject(this);
audioOutput = new Phonon::AudioOutput(Phonon::MusicCategory, this);
Phonon::createPath(mediaObject, audioOutput);
Specifically the second line where the AudioOutput is created. When I comment out this line the program behaves and looks normal (first image) but when the line is active the program looks like in the second image. It behaves normally however, it is just the appearance that has changed.
50685067
I have already found that the change happens at runtime (as opposed to during compilation) by enclosing the above piece of code in an if statement and using the debugger to chose between executing it or not.
Any ideas on how to solve this or how to troubleshoot this further?
If it helps, I'm running debian linux(lenny) and link to Qt 4.4.3 from the repositories.