Re: [Interest] A QThread question...

2015-10-21 Thread Koehne Kai
> -Original Message- > From: interest-bounces+kai.koehne=theqtcompany@qt-project.org > [mailto:interest-bounces+kai.koehne=theqtcompany@qt-project.org] On > Behalf Of Constantin Makshin > Sent: Thursday, October 22, 2015 7:13 AM > To: Qt Interest > Subject: Re: [Interest] A QThre

Re: [Interest] A QThread question...

2015-10-21 Thread Constantin Makshin
The idea to run different portions of the same process as different users not only looks weird, but is also [very] bad from security point of view — no matter how many threads you create, they still run in the same address space so nothing will stop one user-thread from accidentally or intentionall

Re: [Interest] QML and Threads

2015-10-21 Thread Konstantin Tokarev
21.10.2015, 17:15, "Nuno Santos" : > I think neither QSharedMemory or WorkerScript will fit in this case. > > Let me try to explain it better. Lets suppose I have the following basic > model class > > class Model { > QML_PROPERTY ListOfTypeA > … > > QList _listOfTypeA > } > > where > > class Typ

Re: [Interest] Keeping track of a QDialog position

2015-10-21 Thread Matthew Woehlke
On 2015-10-19 15:36, Rollastre Prostrit wrote: > I am trying to keep track of the position of a QDialog as the user > clicks on the title and moves it around the desktop. At most, the only > thing I manage is to get a move event when the user releases the mouse. > But I need to keep track of the

[Interest] How to create a library with Android java source

2015-10-21 Thread Gian Maxera
Hello, I’m moving all my common source files into a library and share the code between my Qt projects. The qmake .pri file works fine … but I have problem on how to include also Java source files when the target is Android. I found this blog: http://imaginativethinking.ca/what-the-heck-how-do-i-

Re: [Interest] QML and Threads

2015-10-21 Thread Nuno Santos
I think neither QSharedMemory or WorkerScript will fit in this case. Let me try to explain it better. Lets suppose I have the following basic model class class Model { QML_PROPERTY ListOfTypeA … QList _listOfTypeA } where class TypeA { QML_PROPERTY ListOfTypeB

Re: [Interest] QML and Threads

2015-10-21 Thread Jérôme Godbout
You were probably aware of that but just in case, you may want to take a look at Worker Script: http://doc.qt.io/qt-5/qml-workerscript.html or other Qt multi threading: http://doc.qt.io/qt-5/threads-technologies.html We made a parallel QQmlEngine with it's own Qml objects tree and cloning or movi

Re: [Interest] QML and Threads

2015-10-21 Thread Nuno Santos
I think I have never used that. Can you point me some examples and/or documentation? Thanks for your reply, Regards, -- Nuno Santos No dia 21/10/2015, às 14:01, Konstantin Tokarev escreveu: > > > 21.10.2015, 13:28, "Nuno Santos" : >> Hi, >> >> I have been building a complex UI based on a

Re: [Interest] QML and Threads

2015-10-21 Thread Konstantin Tokarev
21.10.2015, 13:28, "Nuno Santos" : > Hi, > > I have been building a complex UI based on a data model that didn’t required > threading. All the things could happen in the UI thread. > > Now I’m adding to that model a functionality that works under time critical > events that can’t be compromised

Re: [Interest] A QThread question...

2015-10-21 Thread NoMercy
Thanks for all your replies, Currently it works like this; the service uses "CreateProcessAsUser" to runs an other process in the user session and it handles all the stuff. It was ok until now since the target systems were only single-user environments. but since we are trying to switch to multiu

Re: [Interest] Qt3d Support?

2015-10-21 Thread Jeremy
Many thanks Paul. I'm using 5.5. I'll update to the 5.6 source and check on the state of things. On Tue, Oct 20, 2015, 5:56 AM Paul Lemire wrote: > > > Subject: Re: [Interest] Qt3d Support? > > > Date: Tuesday 20 October 2015, 02:49:09 > > > From: Jeremy > > > To: Thiago Macieira , > interest@q

[Interest] QML and Threads

2015-10-21 Thread Nuno Santos
Hi, I have been building a complex UI based on a data model that didn’t required threading. All the things could happen in the UI thread. Now I’m adding to that model a functionality that works under time critical events that can’t be compromised by UI interactions. This is specially true on m

Re: [Interest] A QThread question...

2015-10-21 Thread alexander golks
Am Wed, 21 Oct 2015 12:19:20 +0200 schrieb André Somers : > Op 21-10-2015 om 11:48 schreef NoMercy: > > Hello everyone and thanks for you replies, > > > > I've a rather advaced question about QThreads (well advanced to my > > knowledge anyways) > > > > I have a Windows service that runs under Sys

Re: [Interest] A QThread question...

2015-10-21 Thread André Somers
Op 21-10-2015 om 11:48 schreef NoMercy: > Hello everyone and thanks for you replies, > > I've a rather advaced question about QThreads (well advanced to my > knowledge anyways) > > I have a Windows service that runs under System user (naturally) but I > want to create and run a thread from within

Re: [Interest] A QThread question...

2015-10-21 Thread Bo Thorsen
Den 21-10-2015 kl. 11:48 skrev NoMercy: > Hello everyone and thanks for you replies, > > I've a rather advaced question about QThreads (well advanced to my > knowledge anyways) > > I have a Windows service that runs under System user (naturally) but I > want to create and run a thread from within t

[Interest] A QThread question...

2015-10-21 Thread NoMercy
Hello everyone and thanks for you replies, I've a rather advaced question about QThreads (well advanced to my knowledge anyways) I have a Windows service that runs under System user (naturally) but I want to create and run a thread from within that service and change the token of that thread so i

Re: [Interest] Convertion between QImage to QPixmap taking to much time.

2015-10-21 Thread Gunnar Sletta
You construct your QImage from a uchar* right? This constructor does not take a deep copy of the image data you pass in, it just stores it. That means that if you for some reason delete the source data before Qt takes it into use (which happens typically on the next paint cycle or in your custom