Re: [Interest] QFutureWatcher not emitting signals

2016-11-23 Thread Bob Hood
Nevermind. It's a problem at the macro level. This will only work when the Tasklet class is created from the main thread. I was creating it from deep down inside calls originating from a QThread object, which is apparently a no-no. I'll refactor to notify the main thread to create these inst

[Interest] QFutureWatcher not emitting signals

2016-11-23 Thread Bob Hood
I did some Googling about this, and found a LOT of hits about QFutureWatcher not emitting its signals (like finished()) when the QFuture it's watching completes. However, in all cases I've seen, people were using an auto version of QFutureWatcher which dropped out of scope on them (i.e., alloca

Re: [Interest] [QGView] Center align text item that ignores inherited transformation

2016-11-23 Thread Ch'Gans
On 24 November 2016 at 01:43, Majid Kamali wrote: > Hi. Check this code: > > void centerItemInRect(QGraphicsItem *item, QRectF rect) > { > float x = rect.width() - > item->boundingRegion(item->transform()).boundingRect().width(); > x /= 2; > float y = rect.height() - > item->boundingRe

Re: [Interest] camera APIs -- intended usage

2016-11-23 Thread Tyler Daniel
Hello and thanks for the follow up! Yes, I am processing live video in c++. I’m implementing a custom qml component to display the results. Other than that, I don’t see why qml needs to be involved. I only need to turn on the camera, get preview-sized images, and tell it to capture full reso

Re: [Interest] camera APIs -- intended usage

2016-11-23 Thread Jason H
I'm being ambiguous because it's been some time since I work with that part of Qt, and I don't want to tell you something that's not true.   The QML camera capture api provides athe url of a preview image which is a URL (imageProviderUrl) - you'll need to use a ImageProvider to get the data. Q

Re: [Interest] QGamepad on Mac OS X

2016-11-23 Thread Andy
Maybe I'll try a more general question: Has anyone been successful at getting an xbox controller to work on any version of Mac OS X with any version of Qt? Thank you for your time. --- Andy Maloney // https://asmaloney.com twitter ~ @asmaloney On Sun, Nov 20, 2

Re: [Interest] camera APIs -- intended usage

2016-11-23 Thread Tyler Daniel
Hi, thanks very much for the response! I understand that you generally want the viewfinder to related to the screen size and I suppose this is why there’s a separate viewfinder api. I’ve also written native iOS camera apps before and have some familiarity with AVFoundation. Unfortunately my q

Re: [Interest] [QGView] Center align text item that ignores inherited transformation

2016-11-23 Thread Majid Kamali
Hi. Check this code: void centerItemInRect(QGraphicsItem *item, QRectF rect) { float x = rect.width() - item->boundingRegion(item->transform()).boundingRect().width(); x /= 2; float y = rect.height() - item->boundingRegion(item->transform()).boundingRect().height(); y /= 2; it

[Interest] Open source license attribution when deploying a Qt-based application

2016-11-23 Thread Ola Røer Thorsen
I plan to release a closed source Qt-based application in a few months. It's using the LGPL version of Qt, and I plan to bundle the Qt dynamic libraries and plugins I need along with the application in an installer. I have built up a list of the open source libraries that I have used along with th