Re: [Interest] Qt integration with Unity?

2015-08-31 Thread Thiago Macieira
On Tuesday 01 September 2015 08:57:06 John C. Turnbull wrote: > Oh, I must have been confused. I thought they were talking about > integration with Unity3D (the games engine). > > Is that not possible? I was talking about integration with Unity, the Ubuntu window manager and desktop. I have no

Re: [Interest] Qt integration with Unity?

2015-08-31 Thread John C. Turnbull
Oh, I must have been confused. I thought they were talking about integration with Unity3D (the games engine). Is that not possible? -Original Message- From: interest-bounces+ozemale=ozemail.com...@qt-project.org [mailto:interest-bounces+ozemale=ozemail.com...@qt-project.org] On Behalf Of

Re: [Interest] Qt integration with Unity?

2015-08-31 Thread Thiago Macieira
On Tuesday 01 September 2015 08:10:29 John C. Turnbull wrote: > I seem to remember hearing or reading somewhere that Qt 5.5 or beyond would > permit integration with Unity. > > 1. Is this correct? Yes. > 2. What type of integration is possible? Systray and menu bar integration. > 3

[Interest] Qt integration with Unity?

2015-08-31 Thread John C. Turnbull
I seem to remember hearing or reading somewhere that Qt 5.5 or beyond would permit integration with Unity. 1. Is this correct? 2. What type of integration is possible? 3. How is that integration done? Thanks, -jct __

Re: [Interest] QFileSystemWatcher and accesing files in monitored directory...

2015-08-31 Thread Mike Chinander
Oops, just saw your later email with your code that checks this. On Mon, Aug 31, 2015 at 4:52 PM, Mike Chinander wrote: > > Does loadFromData() still return true when you get a messed up pixmap? > > > On Mon, Aug 31, 2015 at 2:49 PM, Igor Mironchik > wrote: > >> Hi, >> >> On 31.08.2015 22:42, A

Re: [Interest] QFileSystemWatcher and accesing files in monitored directory...

2015-08-31 Thread Mike Chinander
Does loadFromData() still return true when you get a messed up pixmap? On Mon, Aug 31, 2015 at 2:49 PM, Igor Mironchik wrote: > Hi, > > On 31.08.2015 22:42, Alexey Godko wrote: > > just check QPixmap::isNull() > > > Pixmap is not null... Image was saved for the half and I read it... Pixmap > su

Re: [Interest] QFileSystemWatcher and accesing files in monitored directory...

2015-08-31 Thread Igor Mironchik
On 31.08.2015 23:36, Thiago Macieira wrote: > On Monday 31 August 2015 22:35:12 Igor Mironchik wrote: >> How can I be sure that image loaded completely? > Monitor the file for changes and open it only when it has settled (one second > after the last write). I know that I can find the answer in s

Re: [Interest] QFileSystemWatcher and accesing files in monitored directory...

2015-08-31 Thread Rainer Wiesenfarth
From: Igor Mironchik > [...] > Even if try to open file in ReadWrite mode it opens successfully... > [...] > > And sometimes I receive: loading failed and pixmap is null. Reloading of such > images is successfull... > > I can't reproduce reading of saved on the half image. May be ReadWrite mode >

Re: [Interest] QFileSystemWatcher and accesing files in monitored directory...

2015-08-31 Thread Thiago Macieira
On Monday 31 August 2015 13:36:44 Thiago Macieira wrote: > On Monday 31 August 2015 22:35:12 Igor Mironchik wrote: > > How can I be sure that image loaded completely? > > Monitor the file for changes and open it only when it has settled (one > second after the last write). Unless you have access

Re: [Interest] QFileSystemWatcher and accesing files in monitored directory...

2015-08-31 Thread Thiago Macieira
On Monday 31 August 2015 22:35:12 Igor Mironchik wrote: > How can I be sure that image loaded completely? Monitor the file for changes and open it only when it has settled (one second after the last write). -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Sou

Re: [Interest] QNetworkAccessManager

2015-08-31 Thread Thiago Macieira
On Monday 31 August 2015 23:06:29 Igor Mironchik wrote: > Hi, > > On 31.08.2015 18:57, Thiago Macieira wrote: > > On Monday 31 August 2015 10:13:23 Igor Mironchik wrote: > >> You was right. It was a bug. Problem is that that QNetworkAccessManager > >> and his QNetworkReply was destroyed in context

Re: [Interest] QFileSystemWatcher and accesing files in monitored directory...

2015-08-31 Thread Igor Mironchik
Hi, On 31.08.2015 23:13, John Weeks wrote: >> On Aug 31, 2015, at 12:49 PM, Igor Mironchik >> wrote: >> >> Pixmap is not null... Image was saved for the half and I read it... Pixmap >> successfully loaded but draws only first part of the image while the next >> one is grey... > I forget how L

Re: [Interest] QFileSystemWatcher and accesing files in monitored directory...

2015-08-31 Thread John Weeks
> On Aug 31, 2015, at 12:49 PM, Igor Mironchik wrote: > > Pixmap is not null... Image was saved for the half and I read it... Pixmap > successfully loaded but draws only first part of the image while the next one > is grey... I forget how Linux works- can you try opening for write? On the sys

Re: [Interest] QNetworkAccessManager

2015-08-31 Thread Igor Mironchik
Hi, On 31.08.2015 18:57, Thiago Macieira wrote: > On Monday 31 August 2015 10:13:23 Igor Mironchik wrote: >> You was right. It was a bug. Problem is that that QNetworkAccessManager >> and his QNetworkReply was destroyed in context of another thread. > Please note what I said here: > >>> With that

Re: [Interest] QFileSystemWatcher and accesing files in monitored directory...

2015-08-31 Thread Igor Mironchik
Hi, On 31.08.2015 22:42, Alexey Godko wrote: just check QPixmap::isNull() Pixmap is not null... Image was saved for the half and I read it... Pixmap successfully loaded but draws only first part of the image while the next one is grey... 2015-08-31 22:35 GMT+03:00 Igor Mironchik

[Interest] How to use PathView's itemAt() function?

2015-08-31 Thread Dmitry Volosnykh
Docs say that I should pass x and y in content coordinates, but unlike ListView, the PathView does not inherit from Flickable, so it does not have any contentItem property. Using x and y in PathView's coordinate system I get null. Regards, Dmitry. ___ In

Re: [Interest] QFileSystemWatcher and accesing files in monitored directory...

2015-08-31 Thread Alexey Godko
just check QPixmap::isNull() 2015-08-31 22:35 GMT+03:00 Igor Mironchik : > Hi, > > On 31.08.2015 21:19, Thiago Macieira wrote: > > On Monday 31 August 2015 20:09:48 Igor Mironchik wrote: > >> But the same problem exists on my Linux machine, where I don't have any > >> antiviruses... > > What's th

Re: [Interest] QFileSystemWatcher and accesing files in monitored directory...

2015-08-31 Thread Igor Mironchik
Hi, On 31.08.2015 21:19, Thiago Macieira wrote: > On Monday 31 August 2015 20:09:48 Igor Mironchik wrote: >> But the same problem exists on my Linux machine, where I don't have any >> antiviruses... > What's the error message on Linux? If possible, run your application with > strace to catch the o

Re: [Interest] QFileSystemWatcher and accesing files in monitored directory...

2015-08-31 Thread Thiago Macieira
On Monday 31 August 2015 10:06:26 John Weeks wrote: > Do you have virus protection software on your machine? We have had to > implement a system of re-tries to get around the fact that virus protection > software will often open and check a file right after the file is created. An interesting afte

Re: [Interest] QFileSystemWatcher and accesing files in monitored directory...

2015-08-31 Thread Thiago Macieira
On Monday 31 August 2015 20:09:48 Igor Mironchik wrote: > But the same problem exists on my Linux machine, where I don't have any > antiviruses... What's the error message on Linux? If possible, run your application with strace to catch the open call and its return value. -- Thiago Macieira -

Re: [Interest] Launch Qt Desktop Application(Windows) by clicking custom file

2015-08-31 Thread Federico Buti
Hi, you can follow the standard example that you can find here . The relevant part is the "RegisterFileType" operation. It should look like this: component.addOperation("RegisterFileType", "", "@Tar

Re: [Interest] QFileSystemWatcher and accesing files in monitored directory...

2015-08-31 Thread John Weeks
> On Aug 31, 2015, at 9:54 AM, Igor Mironchik wrote: > > But this file nobody axcept my application is trying to read. Do you have virus protection software on your machine? We have had to implement a system of re-tries to get around the fact that virus protection software will often open and

Re: [Interest] QFileSystemWatcher and accesing files in monitored directory...

2015-08-31 Thread Igor Mironchik
Hi. 8/31/2015 8:04 PM, Mike Chinander пишет: Could your slot be getting the directoryChanged() signal before the file write has completed by the other process (not sure how the file is being created)? Possible, I thought about it. Files copied to the monitored directory by Windows Explorer.

Re: [Interest] QFileSystemWatcher and accesing files in monitored directory...

2015-08-31 Thread Alexey Godko
+1 to exclude antivirus software. We have had to do the same as John Weeks suggesting, on .NET/Window.Forms platform. Especially occurs with Avast software In all cases - you must wait, until file freed by another process. 2015-08-31 20:06 GMT+03:00 John Weeks : > > > On Aug 31, 2015, at 9:54 AM,

Re: [Interest] QFileSystemWatcher and accesing files in monitored directory...

2015-08-31 Thread Igor Mironchik
8/31/2015 8:06 PM, John Weeks пишет: >> On Aug 31, 2015, at 9:54 AM, Igor Mironchik wrote: >> >> But this file nobody axcept my application is trying to read. > Do you have virus protection software on your machine? We have had to > implement a system of re-tries to get around the fact that vir

Re: [Interest] QFileSystemWatcher and accesing files in monitored directory...

2015-08-31 Thread Mike Chinander
Could your slot be getting the directoryChanged() signal before the file write has completed by the other process (not sure how the file is being created)? On Mon, Aug 31, 2015 at 11:54 AM, Igor Mironchik wrote: > 8/31/2015 7:40 PM, Alexey Godko пишет: > > What exactly error did you expect? > >

Re: [Interest] QFileSystemWatcher and accesing files in monitored directory...

2015-08-31 Thread Igor Mironchik
8/31/2015 7:40 PM, Alexey Godko пишет: What exactly error did you expect? The process cannot access the file because it is used by another process. But this file nobody axcept my application is trying to read. From OS I copied new file to the monitored system... And that's all 2015-08-31

Re: [Interest] Launch Qt Desktop Application(Windows) by clicking custom file

2015-08-31 Thread Berkay Elbir
Thank you for your answer, Thiago. I use Qt Installer 1.5.0. But I did not make file association before. How can I do this process in installer? On Mon, Aug 31, 2015 at 7:01 PM, Thiago Macieira wrote: > On Monday 31 August 2015 18:45:54 Berkay Elbir wrote: > > Hello all, > > > > I want to ask

Re: [Interest] QFileSystemWatcher and accesing files in monitored directory...

2015-08-31 Thread Alexey Godko
What exactly error did you expect? 2015-08-31 19:31 GMT+03:00 Igor Mironchik : > Hi guys, > > I set up QFileSystemWatcher for monitoring some directory. All is fine > But sometimes in slots connected to the directoryChanged() I can't do > file reading... I', trying to open file with QIODevice::Re

[Interest] QFileSystemWatcher and accesing files in monitored directory...

2015-08-31 Thread Igor Mironchik
Hi guys, I set up QFileSystemWatcher for monitoring some directory. All is fine But sometimes in slots connected to the directoryChanged() I can't do file reading... I', trying to open file with QIODevice::ReadOnly, but it fails... Can it be problem of implementation of QFileSystemWatcher? How

Re: [Interest] Launch Qt Desktop Application(Windows) by clicking custom file

2015-08-31 Thread Thiago Macieira
On Monday 31 August 2015 18:45:54 Berkay Elbir wrote: > Hello all, > > I want to ask you that How can I launch my Qt desktop application(Windows) > when double click to a custom file that is used by my application? > > For example, when I double click myFile.x then my application will launch > an

Re: [Interest] Multiple .qmake.conf files in SUBDIRS project

2015-08-31 Thread Thiago Macieira
On Monday 31 August 2015 10:30:38 Carel Combrink wrote: > Is the following behaviour correct regarding multiple .qmake.conf files in > a SUBDIRS project: There's no such thing as multiple .qmake.conf. Each project can access at most one, in any of its source paths up towards the root. The first o

Re: [Interest] QNetworkAccessManager

2015-08-31 Thread Thiago Macieira
On Monday 31 August 2015 10:13:23 Igor Mironchik wrote: > You was right. It was a bug. Problem is that that QNetworkAccessManager > and his QNetworkReply was destroyed in context of another thread. Please note what I said here: > > With that in mind, I have to say: there's no advantage of using

[Interest] Launch Qt Desktop Application(Windows) by clicking custom file

2015-08-31 Thread Berkay Elbir
Hello all, I want to ask you that How can I launch my Qt desktop application(Windows) when double click to a custom file that is used by my application? For example, when I double click myFile.x then my application will launch and open this file. Thanks in advance. Best Regards, Berkay Elbir _

[Interest] QFileDialog on IOS: selecting several files

2015-08-31 Thread maitai
Hello, I can use QFileDialog::getOpenFileNames() on iOS but is it really possible to select several files? I mean using fingers only? Thanks Philippe ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interes

Re: [Interest] Qt5.6 application : red and blue colors swapped

2015-08-31 Thread Allan Sandfeld Jensen
On Monday 31 August 2015, Florin Maticu wrote: > Hello, > > I recently compiled *qt5.6* with the configuration bellow. I am having a > simple application that is using qtwebkit to display an url page on a lcd > display. The webpages displayed have red and blue colors swapped. The qt > engine is us

[Interest] Qt5.6 application : red and blue colors swapped

2015-08-31 Thread Florin Maticu
Hello, I recently compiled *qt5.6* with the configuration bellow. I am having a simple application that is using qtwebkit to display an url page on a lcd display. The webpages displayed have red and blue colors swapped. The qt engine is using the linux framebuffer. If I set the number of bits per

[Interest] Multiple .qmake.conf files in SUBDIRS project

2015-08-31 Thread Carel Combrink
Hi, Is the following behaviour correct regarding multiple .qmake.conf files in a SUBDIRS project: I have a Library (MyLib) that has a .qmake.conf file in its top folder that defines the following: LIB_TOP_BUILD_DIR=$$shadowed($$PWD) I now want to build my library as part of another project (the

Re: [Interest] Qt 5.5.1 & MSVC 2015

2015-08-31 Thread Gunnar Roth
    >> Mark i don’t know which problem you have and why, but i was able to do a >> shadow build of qt 5.5.0 with vs 2015. But i did not use openssl and no >> icu. So no webkit. No webengine, i did a post about this in the making >> list. All other worked out of the box. >That wasn't a webkit er

Re: [Interest] QNetworkAccessManager

2015-08-31 Thread Igor Mironchik
Hi, 8/25/2015 7:08 PM, Thiago Macieira пишет: > On Tuesday 25 August 2015 08:54:35 Igor Mironchik wrote: >> Hi guys, >> >> I created QNetworkAccessManager in a thread. Everything is fine but >> sometimes I received assertion that QCoreApplication can't send event to >> QNetworkAccessManager in ano

Re: [Interest] Question about style sheets.

2015-08-31 Thread Igor Mironchik
Solved by setting Qt::FramelessWindowHint | Qt::WindowStaysOnTopHint flags on dialog. 8/27/2015 8:45 PM, Igor Mironchik пишет: > Hi, > > I have global style sheet that I install to the instance of > QApplication. In that style sheet I have > > MyDialog > { > background: #fff; > border: 1

Re: [Interest] Problem with QQuickWidget

2015-08-31 Thread Igor Mironchik
Hi, Problem solved. This was only in debug build on Linux. In release build all works fine. 8/29/2015 7:59 PM, Igor Mironchik пишет: Hi, I use QQuickWidget in one place in desktop application. And I receive following debug messages Konsole output QQuickWidget cannot be used as a native chi

Re: [Interest] Windows deployment. Failed to start because of missing platform plugin...

2015-08-31 Thread Igor Mironchik
Hi, Problem solved. Problem was in creation of QObject-derived class that uses QApplication stuff before creation of QApplication instance. 8/28/2015 11:01 AM, Igor Mironchik пишет: > Hi, > > I'm trying to deploy Qt Windows application. And it failed to start > with the next message... > > This