[Interest] TextField Focus onReleased

2016-04-22 Thread mark diener
Hello: Can anybody figure out a way for a TextField which contains its own MouseArea to allow the TextField to gain focus when the onReleased event is called, not the normal behavior of focus gained when the onPressed is triggered. Any response appreciated, md ___

Re: [Interest] Preventing Multiple Instances of EXE

2016-04-22 Thread Scott Aron Bloom
I have used this in previous projects, it works very well in a multi-platform product as well.. Scott From: Interest [mailto:interest-bounces+scott.bloom=onshorecs@qt-project.org] On Behalf Of Yuvraaj Sent: Friday, April 22, 2016 12:37 PM To: interest@qt-project.org Subject: Re: [Interest]

Re: [Interest] Preventing Multiple Instances of EXE

2016-04-22 Thread Yuvraaj
Maybe this will help: https://github.com/qtproject/qt-solutions/tree/master/qtsingleapplication On 04/22/2016 12:07 PM, Jason Kretzer wrote: Everyone, Anyone know how to prevent multiple instances of an exe to be started? So, I start bob.exe. I then I try to double click and start bob.exe

Re: [Interest] Preventing Multiple Instances of EXE

2016-04-22 Thread Jérôme Godbout
Take care which mecanism you use here, this get really annoying with some crashing application (not only they crash, but to refuse to launch again). To avoid this, simply use a pid file and check if the pid process still run, give option to your user to kill the previous instance of the program (i

Re: [Interest] How add an Android package to qmake project file?

2016-04-22 Thread Edward Sutton
Thank you Nuno. I have gradle checked since I abandoned Eclipse for Android Studio. However, I do not understand how Gradle works. I need to learn more about it. -Ed On Apr 21, 2016, at 11:38 AM, Nuno Santos mailto:nunosan...@imaginando.pt>> wrote: Eduard, Open projects tab in Qt Creator.

Re: [Interest] Preventing Multiple Instances of EXE

2016-04-22 Thread Nye
Hello, This is ordinarily done with the help of a global locking primitive (for example a global mutex). On the first run the mutex would be locked, and if locking fails on the second one, you just exit the application. IMPORTANT: As any global resource, special care should be taken to release it i

[Interest] Preventing Multiple Instances of EXE

2016-04-22 Thread Jason Kretzer
Everyone, Anyone know how to prevent multiple instances of an exe to be started? So, I start bob.exe. I then I try to double click and start bob.exe again while the first is still running and a second instance does not start (or at least shuts itself down or does anything other than start ano

Re: [Interest] Qt signal overhead (same thread, direct connection)

2016-04-22 Thread Ben Lau
On 23 April 2016 at 00:34, Alejandro Exojo wrote: > El Friday 22 April 2016, Nuno Santos escribió: > > Then I made an experiment. Arpeggiator was using a signal to send the > > noteOn to the audio render engine. I decided to call the function > directly > > on the synth render engine. Guess what,

Re: [Interest] Qt signal overhead (same thread, direct connection)

2016-04-22 Thread Alejandro Exojo
El Friday 22 April 2016, Nuno Santos escribió: > Then I made an experiment. Arpeggiator was using a signal to send the > noteOn to the audio render engine. I decided to call the function directly > on the synth render engine. Guess what, the problem disappears. > > Is the signal/slot mechanism tie

Re: [Interest] Diffusion of beta versions

2016-04-22 Thread Xavier Bigand
How it can be dangerous? A beta version of Qt will just add a new kit. I am not requesting having beta version of QtCreator. 2016-04-22 15:01 GMT+02:00 ekke : > AFAIK Online Installers are only available for RC or final releases - Beta > is always a download - using Maintenance for a Beta could

Re: [Interest] Diffusion of beta versions

2016-04-22 Thread ekke
AFAIK Online Installers are only available for RC or final releases - Beta is always a download - using Maintenance for a Beta could be dangerous because of Beta ;-) I install a Beta always 'parallel' to my existing installation to avoid confusion from Qt Creator Settings and Working Dir I start

Re: [Interest] Diffusion of beta versions

2016-04-22 Thread Dmitry Volosnykh
+1 from me On Fri, Apr 22, 2016 at 3:51 PM Xavier Bigand wrote: > Is there a particular raison to not see beta version in the Qt Maintenance > Tool? > > I would prefer to be able to use the maintenance tool to download preview > versions. The last time I tried to download a beta version of Qt I

[Interest] Diffusion of beta versions

2016-04-22 Thread Xavier Bigand
Is there a particular raison to not see beta version in the Qt Maintenance Tool? I would prefer to be able to use the maintenance tool to download preview versions. The last time I tried to download a beta version of Qt I got conflicts with my main installation. -- Xavier ___

Re: [Interest] Qt signal overhead (same thread, direct connection)

2016-04-22 Thread Benjamin TERRIER
Hi, When using a direct connection the call is immediate and does not depends on an event loop. From Qt doc: "When a signal is emitted, the slots connected to it are usually executed immediately, just like a normal function call. When this happens, the signals and slots mechanism is totally inde

Re: [Interest] Adding existing QObjects to QJSEngine

2016-04-22 Thread Boudewijn Rempt
Yes, that works! QQmlEngine engine; engine.installExtensions(QJSEngine::AllExtensions); QJSValue part = engine.newQObject(KisPart::instance()); engine.globalObject().setProperty("KisPart", part); engine.setObjectOwnership(KisPart::instance(), QQmlEngine::CppOwnership); QSt

[Interest] Qt signal overhead (same thread, direct connection)

2016-04-22 Thread Nuno Santos
Hi, I have an application that generates real time audio and in a system like this, a interruption may cause audio glitches. Nowadays, in iOS, audio apps can be loaded by other apps. This transition takes time and probably some resources too. While playing my app with the built in arpeggiator