Re: [Interest] black screen with iOS app over airplay?

2017-05-13 Thread Patrick Stinson
Hmm. This did not work for me and I am starting to realize that there are more 
problems in the Qt code than we may be aware.

One problem, and maybe the main problem, is that Qt seems to incorrectly rely 
on the OS view that is created when the app is created, but this view doesn’t 
persist when airplay is engaged or when it is disengaged. I think any of us 
could see this problem when you disable airplay mirroring while running a Qt 
app and the app crashes.

This problem also appears to prevent Reflector 2 from showing the mirrored view 
of the iPad app when running the Qt app, which I can only interpret to mean 
that the Qt view is not complying with the OS’s standardized view API. 
Reflector works fine when another app or launchpad (desktop) is shown.

So there is some work to do here…I wish I was better with UIKit to troubleshoot.


> On May 12, 2017, at 2:11 PM, bralche...@ics.com wrote:
> 
> Yes, I think that’s the one. 
> 
> 
> Regards,
> Boris Ralchenko.
> 
> 
> 
> 
> 
>> On May 12, 2017, at 5:08 PM, Patrick Stinson > > wrote:
>> 
>> Do you mean QMainWindow? That is the class that I am deriving from.
>> 
>> On May 12, 2017, at 1:38 PM, bralche...@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 > wrote:
 
 Oh excellent. Which object do you call setGeometry on?
 
 On May 12, 2017, at 1:13 PM, bralche...@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 > > 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@qt-project.org 
>> http://lists.qt-project.org/mailman/listinfo/interest 
>> 
> 
>>> 
> 



smime.p7s
Description: S/MIME cryptographic signature
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest


Re: [Interest] Qt drag 'n drop indicator

2017-05-13 Thread Murphy, Sean
I don't think that's 100% true, when I drag the same file over other 
applications (non-Qt if that matters) that support drag and drop, the icon 
changes to the attached mouse pointer with a little selection rectangle and '+' 
sign. I'm not sure what mechanism is controlling that though, but it appears to 
have something to do with the application targeted for drop.

Dragging the file, which is just a text file, over Notepad gives me the 
attached mouse pointer icon. Dragging it over my application, Chrome, Qt 
Creator, etc. gives the "document copy" icon I attached in my first email.

Maybe it's just something I can't control from Qt, but other applications are 
able to do it? I'm going to take a look at QCursor and see if I can just change 
out the cursor icon once I've determined I can accept the drop...

Sean
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest


Re: [Interest] Qt drag 'n drop indicator

2017-05-13 Thread Michael Sué
Hi,

>but I'm missing how to do it when the drag starts from Windows itself

I would assume that the program that initiates the drag also sets the drag 
icon. So no chance to change anything on the receiving (drop) end.

Best, Michael.

___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest


Re: [Interest] Qt 5.8 font detection vs Qt 5.3.2 font detection

2017-05-13 Thread Michael Sué
Hi,

 

> QFontDatabase: Cannot find font directory”

 

For our software it proofed to be enough to create the directory “lib/fonts” as 
subdirectory of the “bin” directory where our executables are. So in our case 
the program just complained that the directory wasn’t there, but did not need 
any contents.

 

Maybe you, that you really use your own fonts, will have to fill “lib/fonts” 
with the needed ones.

 

Best, Michael.

___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest


[Interest] Windows 10 & QCamera

2017-05-13 Thread Igor Mironchik

Hello,

I wrote earlier that QCamera doesn't work on Windows 10 with Qt 5.9 and 
MSVC 2017.


I did a little research and found that if switch Windows 10 to developer 
mode then QCamera begins to work.


So my question is - how to ship applications to Windows 10 which uses 
QCamera? Do I need something to do? Or it was just one time issue of 
exactly my machine and my Windows 10?


Thank you.


---
This email has been checked for viruses by AVG.
http://www.avg.com

___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest