[Interest] Qt drag 'n drop indicator

2017-05-12 Thread Murphy, Sean
I'm setting up my application to allow the user to drop files onto my 
application to open them. I've got that part working just fine, but I'm trying 
to figure out how to customize the drop indicator as the user is drag the files 
onto my application. Right now I'm getting the attached image, which is some 
generic Windows thing (or maybe Qt is doing it, not sure...) and it says "Copy" 
over the image. The user isn't copying anything when they drop the files on my 
application, they're just trying to open them.

I've been reading through the drag and drop documentation and I can see how to 
set the image when I'm initiating the drag from an object within my 
application, but I'm missing how to do it when the drag starts from Windows 
itself

Sean

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


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

2017-05-12 Thread bralchenko
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 
> 
 
>> 

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


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

2017-05-12 Thread Patrick Stinson
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
>>> 
> 
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest


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

2017-05-12 Thread bralchenko
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 
>>> 
>> 

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


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

2017-05-12 Thread Patrick Stinson
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
> 
___
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-12 Thread Nikos Chantziaras
When you compiled Qt, did you make sure fontconfig support was enabled? 
Is the fontconfig development package (probably called "fontconfig-dev" 
or something similar) installed on the system?



On 05/10/2017 06:29 PM, Nguyen Huu Minh wrote:

Hello,

My apologies if this question has been asked before. We are upgrading 
our Qt application running on Lubuntu 32-bit from Qt 5.3.2 to Qt 5.8. 
One of the issues we have ran into is font handling. The Qt 5.3.2 
version of our application detects the system fonts fine (the 
directories under /usr/share/fonts). However when starting the Qt 5.8 
version we get this error:


“QFontDatabase: Cannot find font directory”

The directory that QFontDatabase looks at is “/usr/local/lib/lib/fonts”, 
which of course does not exists.


The Qt 5.3.2 we use this the one that was provided by qt.io. The Qt 5.8 
version we compiled from source on a virtual machine.


We can get one of the directories to work by setting QT_QPA_FONTDIR, but 
our fonts are scattered over many directories.


What is the proper way of solving this problem?

Did we forget to configure some setting when compiling Qt 5.8 or has 
there been a change in behaviour and do we need to move all our fonts to 
one location?


Greetings,

Huu Minh Nguyen

R Project Engineer Electronics

huuminh.ngu...@vandewiele.com 



Van de Wiele Company or its affiliates do not accept legal 
responsibility for the contents of this message.  The views or opinions 
presented are solely those of the author and do not necessarily 
represent those of Van de Wiele Company or any of its affiliates.






_

Mail Disclaimer 






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


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

2017-05-12 Thread bralchenko
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

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


Re: [Interest] qt.io

2017-05-12 Thread Konstantin Podsvirov
Hello Igor!

12.05.2017, 23:06, "Igor Mironchik" :
> Hello,
>
> What's happened with qt.io? How can I download Open Source Qt now?
>
> Thank you.

No problem:

https://www.qt.io/ -> Download Qt -> Desktop & Mobile Applications -> Get your 
open source package -> Download Now

or just

http://download.qt.io/official_releases/online_installers/

> ---
> 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

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


[Interest] qt.io

2017-05-12 Thread Igor Mironchik

Hello,

What's happened with qt.io? How can I download Open Source Qt now?

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


Re: [Interest] qt.io

2017-05-12 Thread Igor Mironchik

Found...


2017-05-12 21:09, Igor Mironchik пишет:

Hello,

What's happened with qt.io? How can I download Open Source Qt now?

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