Re: [Interest] Preventing Multiple Instances of EXE

2016-04-24 Thread Shantanu Tushar
The following approach has worked quite well (I'm using it in sostronk.com's desktop app): // H class UniqueApp : public QObject { Q_OBJECT public: explicit UniqueApp(QObject *parent = 0); static bool anotherInstanceRunning(); void monitor(); signals: void anotherInstance();

[Interest] Few questions regarding Qt Quick Scene Graph

2016-04-24 Thread Artem Fedoskin
Hello everybody. I have a project where a lot of objects are painted on the screen whenever the user interacts with the app (pan, zoom, move) I would be really grateful to you if you could answer a few questions regarding the internals of Qt Quick Scene Graph: 1. Imagine that I add 1000 nodes

Re: [Interest] Few questions regarding Qt Quick Scene Graph

2016-04-24 Thread Artem Fedoskin
I'm sorry. My first E-Mail was sent accidentally. Here is the final version of my E-Mail. Hello everybody. I have a project where a lot of objects are painted on the screen whenever the user interacts with the app (pan, zoom, move) I would be really grateful to you if you could answer a few

[Interest] PRO File defines

2016-04-24 Thread mark diener
Hello List: Who can tell me how to detect whether a build is for IOS or IOS Simulator in the project PRO file. ios { QMAKE_IOS_DEPLOYMENT_TARGET=8.0 QMAKE_IOS_TARGETED_DEVICE_FAMILY=1,2 } But how to I differentiate between IOS builds and IOS-simulator builds? Thanks, Marco

Re: [Interest] PRO File defines

2016-04-24 Thread Gianluca
It’s not the first time that I see people knowing some “secrets” of Qmake … … where is the full documentation of all these details ? Il giorno 24/apr/2016, alle ore 18:47, Igor Mironchik ha scritto: > Hi, > > For real device you can use: > > ios { > iphoneos { >

Re: [Interest] PRO File defines

2016-04-24 Thread Gianluca
ehehehe … cool … there is also an “official” undocumented qmake document: https://wiki.qt.io/Undocumented_QMake :-D Il giorno 24/apr/2016, alle ore 22:31, Olivier B. ha scritto: > Google 'undocumented qmake', or else, qmake source code ? > > Le 24 avr.

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

2016-04-24 Thread André Somers
Op 22/04/2016 om 18:47 schreef Ben Lau: As long as the passed data is an implicit sharing class like QByteArray, then it will be fine. Because only a pointer to the contained data is passed. Data copying only happen when a function write to an implicit sharing class. That might not be

Re: [Interest] PRO File defines

2016-04-24 Thread Olivier B.
Google 'undocumented qmake', or else, qmake source code ? Le 24 avr. 2016 23:29, "Gianluca" a écrit : > It’s not the first time that I see people knowing some “secrets” of Qmake … > … where is the full documentation of all these details ? > > > Il giorno 24/apr/2016, alle ore

Re: [Interest] PRO File defines

2016-04-24 Thread Igor Mironchik
Hi, On 25.04.2016 00:29, Gianluca wrote: It’s not the first time that I see people knowing some “secrets” of Qmake … … where is the full documentation of all these details ? I found that here: http://doc.qt.io/qt-5/building-from-source-ios.html *Note:*A default build will include both