[Interest] Fw: Qt for winrt, Windows Phone lock screen controls
Maurice Kalinowski
Maurice.Kalinowski at qt.io
Wed Oct 12 09:27:25 CEST 2016
Hi,
It’s a bit hard to guess what is going on without seeing any actual code. What do you refer to with “referencing” ? And how is that other cpp involved in the whole project?
Please have a look at qtmain_winrt in qtbase (or rather winmain static lib). There is a lot of things happening before a Qt app enters main(), as in create an ApplicationOverride, initialize threads, etc.
Another reason might be the threading model, depending on which native feature you want to use, you might only be allowed to do so from the Xaml thread. Again, without seeing any code it is hard to evaluate.
BR,
Maurice
From: Interest [mailto:interest-bounces+maurice.kalinowski=qt.io at qt-project.org] On Behalf Of areeb waseem via Interest
Sent: Tuesday, October 11, 2016 7:56 PM
To: interest at qt-project.org
Subject: [Interest] Fw: Qt for winrt, Windows Phone lock screen controls
On Tuesday, October 11, 2016 10:50 PM, areeb waseem <areeb_waseem at yahoo.com<mailto:areeb_waseem at yahoo.com>> wrote:
Hi,
I have been developing a background media player for windows phone 10. I have ported my project to visual studio and added native windows API to access windows media and windows phone lock screen controls.
When i call the whole API from inside int main(), the lockscreen controls work. But when i call it from other cpp class through referencing, the lock screen controls appear, but they are unresponsive.
I would really appreciate your help regarding the solution.
Thank you
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20161012/523a8ee7/attachment.html>
More information about the Interest
mailing list