[Interest] black screen with iOS app over airplay?

bralchenko at ics.com bralchenko at ics.com
Fri May 12 23:11:54 CEST 2017


Yes, I think that’s the one. 


Regards,
    Boris Ralchenko.





> On May 12, 2017, at 5:08 PM, Patrick Stinson <patrickkidd at gmail.com> wrote:
> 
> Do you mean QMainWindow? That is the class that I am deriving from.
> 
> On May 12, 2017, at 1:38 PM, bralchenko at ics.com <mailto:bralchenko at ics.com> wrote:
> 
>> On main window, in our case it was derived from QQuickView. 
>> 
>> Regards,
>>     Boris Ralchenko.
>> 
>> 
>> 
>> 
>> 
>>> On May 12, 2017, at 4:33 PM, Patrick Stinson <patrickkidd at gmail.com <mailto:patrickkidd at gmail.com>> wrote:
>>> 
>>> Oh excellent. Which object do you call setGeometry on?
>>> 
>>> On May 12, 2017, at 1:13 PM, bralchenko at ics.com <mailto:bralchenko at ics.com> wrote:
>>> 
>>>> Patrick,
>>>> 
>>>> you have to setGeometry(QRect screenGeometry) explicitly. screenGeometry should be queried from iOS directly, like this:
>>>> 
>>>> const CGRect r = [[UIScreen mainScreen] bounds];
>>>> return QRect(0, 0, r.size.width, r.size.height);
>>>> 
>>>> 
>>>> We had similar problem, black screen with AirPlay or with HDMI dongle. This solved it for us.
>>>>    
>>>> Regards,
>>>>     Boris Ralchenko.
>>>> 
>>>> 
>>>> 
>>>> 
>>>> 
>>>>> On May 11, 2017, at 9:16 PM, Patrick Stinson <patrickkidd at gmail.com <mailto:patrickkidd at gmail.com>> wrote:
>>>>> 
>>>>> Hello! Has anyone else had a problem with Qt apps only showing as a black screen when mirroring an iOS device over airplay? Other apps display fine, but then the AirPlay display turns black when the Qt app is brought to the front.
>>>>> 
>>>>> Granted, I am using Reflector 2 to show the iPad screen on my Mac with latest macOS Sierra, (in order to show the iPad on a projector), but it just uses the AirPlay protocol on the iOS end so I assume it is a problem with the Qt iOS view.
>>>>> 
>>>>> Thanks!_______________________________________________
>>>>> Interest mailing list
>>>>> Interest at qt-project.org <mailto:Interest at qt-project.org>
>>>>> http://lists.qt-project.org/mailman/listinfo/interest <http://lists.qt-project.org/mailman/listinfo/interest>
>>>> 
>> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20170512/73ebf89d/attachment.html>


More information about the Interest mailing list