[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: Adding MPRIS2 to a Phonon application
From:       Kevin Krammer <krammer () kde ! org>
Date:       2014-02-22 11:28:21
Message-ID: 23631082.jMSsbJpYq5 () persephone
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


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

["signature.asc" (application/pgp-signature)]

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic