[Interest] Unable to build Qt 5.4.1 on Ubuntu 14.04 x64 desktop.

2015-04-15 Thread Kim Min-chul
Hello, I've had a hard time building Qt 5.4.1 on Ubuntu 14.04 x64 desktop. I did it fallowing this guide. (http://wiki.qt.io/Building_Qt_5_from_Git) I tried to do this. sudo apt-get build-dep qt5-default but, This command is not working well. An error just happend. --

Re: [Interest] Survey: do you override QCoreApplication::notify? Why?

2015-04-15 Thread alexander golks
hi, > As part of trying to design the solution, I'd like to know what people > override QCoreApplication::notify() for. we have 3rd party plugins - beside our own crude code, sometimes - called in threads and in q(core)application in various situations, which throw exceptions. errors, yes, but

Re: [Interest] Survey: do you override QCoreApplication::notify? Why?

2015-04-15 Thread John Weeks
> 4) filter events being delivered (remove from queue / compress)? We do this. We also maintain our own z-order window list and use the notify event to intercept WindowActivated and WindowDeactivated events. The application includes a programming language that users can use to create, destroy an

[Interest] Survey: do you override QCoreApplication::notify? Why?

2015-04-15 Thread Thiago Macieira
Hello We're running into problems with QCoreApplication::notify() and auxiliary threads in Qt. Details can be found in [1] and [2]. As part of trying to design the solution, I'd like to know what people override QCoreApplication::notify() for. So, if you do override, do you: 1) use it to log

Re: [Interest] json file handling

2015-04-15 Thread Thiago Macieira
On Wednesday 15 April 2015 20:27:00 Jason H wrote: > Anyway, when converting structured data, you can imagine everything as those > four functions. push(): add an item (or key) to a list > pop(): end the list > item(key): create an item with key > value(value): set the value of the last item. > >

Re: [Interest] json file handling

2015-04-15 Thread Thiago Macieira
On Wednesday 15 April 2015 19:28:49 Andre Somers wrote: > On 15-4-2015 17:25, Thiago Macieira wrote: > > On Wednesday 15 April 2015 16:36:15 André Somers wrote: > >>> The dilemma I'm in is, how can I tell the json writer to "append" to a > >>> current json file without loading the whole file back i

[Interest] Sensor availableDataRates?

2015-04-15 Thread Jason H
In QML, there is a data rate QList property, which is a typedef for a QPair How in JS can I see this? I tried a for loop to print availibleDataRates[i], all that gives me is an object. How can I print these in JS? I would figure availibleDataRates[i].first, availibleDataRates[i].second? Thanks

Re: [Interest] MenuBar QML not usable on Yosemite OSX

2015-04-15 Thread mark diener
Mr Li & ALL: To control the display of the application name in the OSX menu bar, you must use Info.plist -> CFBundleName. Make sure you delete the build directory so that QT Creator will deploy the Plist file into the bundle. Thanks all for Mr Li's comments. On Wed, Apr 15, 2015 at 12:35 PM,

[Interest] macdeployqt fails to deploy on Qt 5.4.1?

2015-04-15 Thread Nuno Santos
Hi, I was trying to deploy an already existing project by always end up with the error: qrc:/main.qml:1 module "QtQuick" plugin "qtquick2plugin" not found I have tried to start a new empty project and run the command: ~/Qt/5.4/clang_64/bin/macdeployqt build-untitled-Desktop_Qt_5_4_clang_64bit

Re: [Interest] iOS app store rejection - microphone consent?

2015-04-15 Thread Gianluca
Il giorno 15/apr/2015, alle ore 20:54, Jason H ha scritto: > > >> Sent: Wednesday, April 15, 2015 at 2:51 PM >> From: Gianluca >> To: "Jason H" >> Cc: "interest@qt-project.org" >> Subject: Re: [Interest] iOS app store rejection - microphone consent? >> >> >> Il giorno 15/apr/2015, alle or

Re: [Interest] Dynamically change dock icon under OS X

2015-04-15 Thread Bob Hood
On 4/15/2015 2:00 PM, René J.V. Bertin wrote: > On Wednesday April 15 2015 13:32:14 Bob Hood wrote: > >> Given that, is it possible to remove the dock icon while the application is >> running hidden with only a systray presence? My application is not >> interactable, and I don't want the user being

Re: [Interest] Dynamically change dock icon under OS X

2015-04-15 Thread René J . V . Bertin
On Wednesday April 15 2015 13:32:14 Bob Hood wrote: > Given that, is it possible to remove the dock icon while the application is > running hidden with only a systray presence? My application is not > interactable, and I don't want the user being able to do so with the dock > icon. Yes, that's

Re: [Interest] iOS app store rejection - microphone consent?

2015-04-15 Thread Till Oliver Knoll
> Am 15.04.2015 um 20:54 schrieb Jason H : > > >> So, because you write “I do record video”, I’m supposing that the >> microphone request is made by the class you are using for recording video >> that at some point ask to access to the microphone. > > Yes, I thought I might have left it i

Re: [Interest] Dynamically change dock icon under OS X

2015-04-15 Thread Till Oliver Knoll
> Am 15.04.2015 um 21:19 schrieb Samuel Gaist : > ... > > As for the dock icon, no need to go too deep in Qt Creator, you can take a > look at http://doc.qt.io/qt-5/qtmac.html#setBadgeLabelText So my guess was right: in the Qt MacExtras module :) That setBatchLabelText (-Number) function must

Re: [Interest] Dynamically change dock icon under OS X

2015-04-15 Thread Bob Hood
On 4/15/2015 1:19 PM, Samuel Gaist wrote: > On 15 avr. 2015, at 21:00, René J.V. Bertin wrote: > >> On Wednesday April 15 2015 11:40:37 Bob Hood wrote: >> >>> Thanks, Oliver. I'll see if I can track that down in the Creator code. >>> You're likely right, it'll probably be Cocoa-specific. >> Seems

Re: [Interest] MenuBar QML not usable on Yosemite OSX

2015-04-15 Thread mark diener
Mr Li And Rest: You are correct about the qsTr("Exit") . It now works. Thank you for that information. What is someone interesting is the display of the application name next to the Apple Icon in the menu bar. I am not able to change the default application menu name from a lowercase and no spa

Re: [Interest] Dynamically change dock icon under OS X

2015-04-15 Thread Bob Hood
On 4/15/2015 1:00 PM, René J.V. Bertin wrote: > On Wednesday April 15 2015 11:40:37 Bob Hood wrote: > >> Thanks, Oliver. I'll see if I can track that down in the Creator code. >> You're likely right, it'll probably be Cocoa-specific. > Seems my message that also referred to Qt Creator never made i

Re: [Interest] Dynamically change dock icon under OS X

2015-04-15 Thread Samuel Gaist
On 15 avr. 2015, at 21:00, René J.V. Bertin wrote: > On Wednesday April 15 2015 11:40:37 Bob Hood wrote: > >> Thanks, Oliver. I'll see if I can track that down in the Creator code. >> You're likely right, it'll probably be Cocoa-specific. > > Seems my message that also referred to Qt Creato

Re: [Interest] iOS app store rejection - microphone consent?

2015-04-15 Thread Jason H
> Sent: Wednesday, April 15, 2015 at 2:51 PM > From: Gianluca > To: "Jason H" > Cc: "interest@qt-project.org" > Subject: Re: [Interest] iOS app store rejection - microphone consent? > > > Il giorno 15/apr/2015, alle ore 19:56, Jason H ha scritto: > > > > > > >> Sent: Wednesday, April 15,

Re: [Interest] Dynamically change dock icon under OS X

2015-04-15 Thread René J . V . Bertin
On Wednesday April 15 2015 11:40:37 Bob Hood wrote: > Thanks, Oliver. I'll see if I can track that down in the Creator code. > You're likely right, it'll probably be Cocoa-specific. Seems my message that also referred to Qt Creator never made it to the list. You can also have a look at the sy

Re: [Interest] iOS app store rejection - microphone consent?

2015-04-15 Thread Gianluca
Il giorno 15/apr/2015, alle ore 19:56, Jason H ha scritto: > > >> Sent: Wednesday, April 15, 2015 at 1:09 PM >> From: Gianluca > > >> >> There is a property called “muted”, the documentation reports: "This >> property indicates whether the audio input is muted during recording.” >> Maybe

Re: [Interest] json file handling

2015-04-15 Thread Jason H
> Sent: Wednesday, April 15, 2015 at 1:28 PM > From: "Andre Somers" > To: interest@qt-project.org > Subject: Re: [Interest] json file handling > > On 15-4-2015 17:25, Thiago Macieira wrote: > > On Wednesday 15 April 2015 16:36:15 André Somers wrote: > >>> The dilemma I'm in is, how can I tell th

Re: [Interest] json file handling

2015-04-15 Thread Andreas Pakulat
Hi, Am Mittwoch, 15. April 2015 schrieb Andre Somers : > On 15-4-2015 17:25, Thiago Macieira wrote: > > On Wednesday 15 April 2015 16:36:15 André Somers wrote: > > As for XML, the format may not be suitable but QXmlStreamWriter is since > it > > keeps the state of which tags it needs to close and

Re: [Interest] iOS app store rejection - microphone consent?

2015-04-15 Thread Jason H
> Sent: Wednesday, April 15, 2015 at 1:09 PM > From: Gianluca > > There is a property called “muted”, the documentation reports: "This property > indicates whether the audio input is muted during recording.” > Maybe this option stop the requesting of microphone access. > Set this property to

Re: [Interest] Dynamically change dock icon under OS X

2015-04-15 Thread Bob Hood
On 4/15/2015 11:21 AM, Till Oliver Knoll wrote: >> Am 15.04.2015 um 13:52 schrieb Bob Hood : >> >> ... >> >> Anybody have any insights here? I already suspect it simply isn't possible, >> but I thought I'd ask anyway. > I might be wrong, but doesn't Qt Creator also update its app icon by showing

Re: [Interest] json file handling

2015-04-15 Thread Andre Somers
On 15-4-2015 17:25, Thiago Macieira wrote: > On Wednesday 15 April 2015 16:36:15 André Somers wrote: >>> The dilemma I'm in is, how can I tell the json writer to "append" to a >>> current json file without loading the whole file back in memory (eg >>> read json from file->edit in Qt->write back to

Re: [Interest] Dynamically change dock icon under OS X

2015-04-15 Thread Till Oliver Knoll
> Am 15.04.2015 um 13:52 schrieb Bob Hood : > > ... > > Anybody have any insights here? I already suspect it simply isn't possible, > but I thought I'd ask anyway. I might be wrong, but doesn't Qt Creator also update its app icon by showing the number of compile errors? For sure there ex

Re: [Interest] iOS app store rejection - microphone consent?

2015-04-15 Thread Gianluca
Il giorno 15/apr/2015, alle ore 18:16, Jason H ha scritto: > http://doc.qt.io/qt-5/qml-qtmultimedia-camerarecorder.html > >> Sent: Wednesday, April 15, 2015 at 11:58 AM >> From: Gianluca >> To: "Jason H" >> Cc: "interest@qt-project.org" >> Subject: Re: [Interest] iOS app store rejection - mi

Re: [Interest] Camera.focus.focusZones.length is 0?

2015-04-15 Thread Jason H
"Well there's your problem" - Adam Savage I've spent 2 days trying to get the focus on our pictures better. At least I have a cool new accelerometer based shutter now. Sent: Wednesday, April 15, 2015 at 10:40 AM From: "Lopes Yoann" A bug with searchAndLock() has been fixed for 5.5.0, see  QT

Re: [Interest] iOS app store rejection - microphone consent?

2015-04-15 Thread Jason H
http://doc.qt.io/qt-5/qml-qtmultimedia-camerarecorder.html > Sent: Wednesday, April 15, 2015 at 11:58 AM > From: Gianluca > To: "Jason H" > Cc: "interest@qt-project.org" > Subject: Re: [Interest] iOS app store rejection - microphone consent? > > > Il giorno 15/apr/2015, alle ore 17:56, Jason H

Re: [Interest] iOS app store rejection - microphone consent?

2015-04-15 Thread Gianluca
Il giorno 15/apr/2015, alle ore 17:56, Jason H ha scritto: >> Il giorno 15/apr/2015, alle ore 17:41, Jason H ha scritto: >> >>> Rejection details : >>> ''' >>> 2.3 Details >>> >>> During review, we were prompted to provide consent to use the microphone. >>> However, we were not able to locat

Re: [Interest] iOS app store rejection - microphone consent?

2015-04-15 Thread Jason H
> Il giorno 15/apr/2015, alle ore 17:41, Jason H ha scritto: > > > Rejection details : > > ''' > > 2.3 Details > > > > During review, we were prompted to provide consent to use the microphone. > > However, we were not able to locate any features in your app that use the > > microphone for aud

Re: [Interest] iOS app store rejection - microphone consent?

2015-04-15 Thread Gianluca
Il giorno 15/apr/2015, alle ore 17:41, Jason H ha scritto: > Rejection details : > ''' > 2.3 Details > > During review, we were prompted to provide consent to use the microphone. > However, we were not able to locate any features in your app that use the > microphone for audio recording. >

[Interest] iOS app store rejection - microphone consent?

2015-04-15 Thread Jason H
Rejection details : ''' 2.3 Details During review, we were prompted to provide consent to use the microphone. However, we were not able to locate any features in your app that use the microphone for audio recording. Next Steps The microphone consent request is generated by the use of either

Re: [Interest] json file handling

2015-04-15 Thread Thiago Macieira
On Wednesday 15 April 2015 16:36:15 André Somers wrote: > > The dilemma I'm in is, how can I tell the json writer to "append" to a > > current json file without loading the whole file back in memory (eg > > read json from file->edit in Qt->write back to file). Because, after a > > while, I suppose

Re: [Interest] json file handling

2015-04-15 Thread Keith Gardner
On Wed, Apr 15, 2015 at 9:36 AM André Somers wrote: > Mathieu Slabbinck schreef op 15-4-2015 om 16:17: > > Hi, > > > > I'm using Qt5 to write json objects to a file. > > The json structure contains one array with x data elements, like: > > > > { > > "datapointsarray": [ > > { > >

Re: [Interest] json file handling

2015-04-15 Thread André Somers
Mathieu Slabbinck schreef op 15-4-2015 om 16:17: > Hi, > > I'm using Qt5 to write json objects to a file. > The json structure contains one array with x data elements, like: > > { > "datapointsarray": [ > { > "datapoint":"1", > "datapoint":"2", >

Re: [Interest] Camera.focus.focusZones.length is 0?

2015-04-15 Thread Lopes Yoann
A bug with searchAndLock() has been fixed for 5.5.0, see QTBUG-42224. As for Camera.focus.focusZones, are you sure the list is empty? With that example, the focus rectangle can be almost invisible in some cases. If the camera is not in focus, the res

[Interest] json file handling

2015-04-15 Thread Mathieu Slabbinck
Hi, I'm using Qt5 to write json objects to a file. The json structure contains one array with x data elements, like: { "datapointsarray": [ { "datapoint":"1", "datapoint":"2", ... } ] } Each x seconds, a "datapoint" should be added. Th

Re: [Interest] Camera.focus.focusZones.length is 0?

2015-04-15 Thread Jason H
Qt 5.4.1 on Android 5.1 on Nexus 6 > Sent: Wednesday, April 15, 2015 at 6:19 AM > From: "Lopes Yoann" > To: "Jason H" > Cc: "interest@qt-project.org" > Subject: Re: [Interest] Camera.focus.focusZones.length is 0? > > > > On 14 Apr 2015, at 18:44, Jason H wrote: > > > > I am trying to get mor

Re: [Interest] Unable to build Qt 5.4.1 on Ubuntu 14.04 x64 desktop

2015-04-15 Thread Tomasz Siekierda
On 15 April 2015 at 13:35, Kim Min-chul wrote: > thank you for your answers. It is very helpful for me. > > I noticed that i can't use Qt 5.4.1 on Ubuntu 14.04. > I found information about that. > (http://askubuntu.com/questions/590162/qt-5-4-supported-so-files-come-with-default-ubuntu-14-04-lts-t

[Interest] Dynamically change dock icon under OS X

2015-04-15 Thread Bob Hood
Since OS X doesn't have a "task tray", I'm wondering if there is a way to perform some of that functionality by manipulating the dock presence of a running application. For example, I have a Qt application that alters the task tray icon and tooltip based on information found in a Python script

Re: [Interest] Unable to build Qt 5.4.1 on Ubuntu 14.04 x64 desktop

2015-04-15 Thread Kim Min-chul
thank you for your answers. It is very helpful for me. I noticed that i can't use Qt 5.4.1 on Ubuntu 14.04. I found information about that. ( http://askubuntu.com/questions/590162/qt-5-4-supported-so-files-come-with-default-ubuntu-14-04-lts-trusty-or-not ) I should consider using Qt 5.3.2. I rea

Re: [Interest] Unable to build Qt 5.4.1 on Ubuntu 14.04 x64 desktop

2015-04-15 Thread René J . V . Bertin
On Wednesday April 15 2015 11:35:22 Tomasz Siekierda wrote: >This is not a Qt problem, but Ubuntu packaging one. So you should >search Launchpad for the bug (if it is already reported) or report it >there. Alternatively, ask on Ubuntu mailing lists. I've set out building Qt 5.3.2 on Kubuntu 14.04

Re: [Interest] Camera.focus.focusZones.length is 0?

2015-04-15 Thread Lopes Yoann
> On 14 Apr 2015, at 18:44, Jason H wrote: > > I am trying to get more reliable (read: in-focus) images. It seems that > Camera.searchAndLock() is not enough, for various reasons that I won't go > into. I am approaching this problem from multiple angles. I now include > accelerometer data to

Re: [Interest] Unable to build Qt 5.4.1 on Ubuntu 14.04 x64 desktop

2015-04-15 Thread Tomasz Siekierda
On 15 April 2015 at 11:13, Kim Min-chul wrote: > > Hello, > > I've had a hard time building Qt 5.4.1 on Ubuntu 14.04 x64 desktop. > I did it fallowing this guide. (http://wiki.qt.io/Building_Qt_5_from_Git) > > I tried to do this. > sudo apt-get build-dep qt5-default > > but, This command is not wo

[Interest] Unable to build Qt 5.4.1 on Ubuntu 14.04 x64 desktop

2015-04-15 Thread Kim Min-chul
Hello, I've had a hard time building Qt 5.4.1 on Ubuntu 14.04 x64 desktop. I did it fallowing this guide. (http://wiki.qt.io/Building_Qt_5_from_Git) I tried to do this. sudo apt-get build-dep qt5-default but, This command is not working well. An error just happend. --

Re: [Interest] QML detecting swipe gesture for open side menu

2015-04-15 Thread Federico Buti
Hi, did you checked the propagateComposedEvents property ? The problem could become quite tricky but you can give this property a try. Cheers, F. On 15 April 2015 at 10:28, Gianluca wrote: > Hello, > my real problem

Re: [Interest] QML detecting swipe gesture for open side menu

2015-04-15 Thread Gianluca
Hello, my real problem is not to detect swipe gestures, but avoid that the MouseArea block any clicks. For example, if you have a ListView and the items into the ListView has MouseArea that react to clicks, then if you start to drag the ListView the click is not delivered to the MouseArea contai

Re: [Interest] QML detecting swipe gesture for open side menu

2015-04-15 Thread Federico Buti
Hi Gianluca, you should be able to simulate swipe gestures with a MouseArea. See this code for example . Cheers, F. --- Federico Buti On 14 April 2015 at 20:27, Daiwei Li wrote: > Here's an example of a NavigationDrawer implementation in QML that I fou

Re: [Interest] [Development] Qt Installer (1.5.0) uninstaller customization

2015-04-15 Thread Koehne Kai
> -Original Message- > From: development-bounces+kai.koehne=theqtcompany.com@qt- > Subject: [Development] Qt Installer (1.5.0) uninstaller customization > > Hello All, > > How can I control the uninstaller to check program is running or not before > uninstalling program in Qt installer ve

Re: [Interest] MenuBar QML not usable on Yosemite OSX

2015-04-15 Thread Daiwei Li
I believe Qt special cases "Exit" as it already exists in the menubar. If you change the text of your menu item to anything else, it should work. On Tue, Apr 14, 2015 at 5:44 PM, rpzrpz...@gmail.com wrote: > Mr Li: > > That was tried as well and did not work. > > A copy of your suggestion is bel