On Friday, 2014-02-21, 22:39:35, Aaron Zakhrov wrote:
> Hey, I have built a small Phonon based media player as part of a college
> project.
> I need to add mpris2 support to it for remote control using kde connect.
> When trying to run the application I get the following error:
> 
> QWidget: Must construct a QApplication before a QPaintDevice
> 
> I already have a QApplication constructed in main.cpp but I still get the
> error.

Do you have a static object somewhere that might construct a widget before 
main() is run?

Cheers,
Kevin
-- 
Kevin Krammer, KDE developer, xdg-utils developer
KDE user support, developer mentoring

Attachment: signature.asc
Description: This is a digitally signed message part.

>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

Reply via email to