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
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.
[mailto:interest-bounces+maurice.kalinowski=qt...@qt-project.org] On Behalf Of
areeb waseem via Interest
Sent: Tuesday, October 11, 2016 7:56 PM
Subject: [Interest] Fw: Qt for winrt, Windows Phone lock screen controls
On Tuesday, October 11, 2016 10:50 PM, areeb waseem
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.
Interest mailing list