[Interest] iOS not delivering touch events

2015-12-29 Thread maitai
Hello and happy new year to all I have an application (qwidget based, no qml in that part) which makes heavy use of QtConcurrent::mapped(). Whenever the user touches the screen (or clicks on the mouse for the PC version), the QFuture is cancelled to be restarted later (a bit more complicated t

[Interest] OSX / IOS Xcode/El capitan

2015-12-29 Thread mark diener
FYI: XCode 7.2 Works with Qt 5.5.1 on OSX El Capitan 10.11 for IOS and OSX targets. Both on simulator and real devices. For IOS, need: QMAKE_IOS_DEPLOYMENT_TARGET=6.0 (or higher) to get past compiler/linker issues. For OSX, need: QMAKE_MAC_SDK = macosx10.11 Cheers all. md _

Re: [Interest] [qt-4.8 windows] Setting QTreeView selected item style in qss

2015-12-29 Thread Ruan leitão
It worked like a charm, thanks. Maybe you can answer me two things about your stylesheet: - where can I find documentation about the QTreeView style specific to windows or mac? - I'm working on a windows machine, but the code that worked is the Mac one, do you have any idea why? Th

[Interest] "Use Ministro service to install Qt" in the "Qt Deployment" panel with Qt 5.5.1

2015-12-29 Thread Christoph Petzold
Hi, today i tried to "Use Ministro service to install Qt" in the "Qt Deployment" panel of my Qt-Android project settings in Qt Creator. But was unlucky. I can deploy and run my app on my smart phone (Huawei P8-Lite) when using the "Qt Deployment" option "Bundle Qt libraries in APK". Here is what

Re: [Interest] Throttle downloads

2015-12-29 Thread Jason H
I've never done it, but I would try to subsclass QNetworkAccessManager and QNetworkReply (QIODevice subclass) and have your derived ThrottledNetworkAccessManager return a ThrottledNetworkReply, in which you only read according to your throughput calculation. Once the OS TCP connection buffers are

Re: [Interest] Distance from point to path.

2015-12-29 Thread william.croc...@analog.com
Given a QPoint and a QPainterPath. How do I find the distance from the QPoint to the closest point along the QPainterPath. Perhaps. But you should consider that QPainterPath is, as the name suggests, primarily for painting, and not meant for solving generic geometric problems. So I'm not sure

Re: [Interest] Throttle downloads

2015-12-29 Thread Bob Hood
On 12/29/2015 9:32 AM, Jason Kretzer wrote: Hello all, I have an application that must download files in the background. I separate this process off into a separate thread so that it does not interfere with the UI. Unfortunately, when it starts downloading, it uses the full pipe that it ha

Re: [Interest] Throttle downloads

2015-12-29 Thread Robert Iakobashvili
On Tue, Dec 29, 2015 at 6:32 PM, Jason Kretzer wrote: > Hello all, > > > > I have an application that must download files in the background. I > separate this process off into a separate thread so that it does not > interfere with the UI. Unfortunately, when it starts downloading, it uses > the

[Interest] Throttle downloads

2015-12-29 Thread Jason Kretzer
Hello all, I have an application that must download files in the background. I separate this process off into a separate thread so that it does not interfere with the UI. Unfortunately, when it starts downloading, it uses the full pipe that it has access to and adversely affects the rest of t

Re: [Interest] [qt-4.8 windows] Setting QTreeView selected item style in qss

2015-12-29 Thread Tony Rietwyk
Hi Ruan, In our global style sheet we use: QTreeView { background-color: transparent; selection-background-color: green; /* Used on Mac */ selection-color: white; /* Used on Mac */ show-decoration-selected: 1; } QTreeVi

[Interest] [qt-4.8 windows] Setting QTreeView selected item style in qss

2015-12-29 Thread Ruan leitão
Hello, I already have post this question in Stack Overflow , but a have no answer. Now a friend tell me to talk on the mailing list. I need to change the background color of the *selected item* on a QTreeView

Re: [Interest] Distance from point to path.

2015-12-29 Thread Jason H
> Sent: Monday, December 28, 2015 at 4:49 PM > From: "william.croc...@analog.com" > To: "interest@qt-project.org" > Subject: [Interest] Distance from point to path. > > Hello: > > Given a QPoint and a QPainterPath. > How do I find the distance from the QPoint to the > closest point along the Q

Re: [Interest] Distance from point to path.

2015-12-29 Thread Elvis Stansvik
2015-12-29 15:07 GMT+01:00 william.croc...@analog.com : > On 12/29/2015 06:42 AM, Elvis Stansvik wrote: >> >> 2015-12-28 22:49 GMT+01:00 william.croc...@analog.com >>> >>> >>> Given a QPoint and a QPainterPath. >>> How do I find the distance from the QPoint to the >>> closest point along the QPaint

Re: [Interest] Distance from point to path.

2015-12-29 Thread william.croc...@analog.com
On 12/29/2015 06:42 AM, Elvis Stansvik wrote: 2015-12-28 22:49 GMT+01:00 william.croc...@analog.com Given a QPoint and a QPainterPath. How do I find the distance from the QPoint to the closest point along the QPainterPath. Like Konstantin said, the best approach probably depends on whether yo

Re: [Interest] Embedding a map in a QML UI on Android and iOS

2015-12-29 Thread Marco Piccolino
If you need more advanced features such as offline maps you might want to check out Esri's Arcgis Runtime for Qt: https://developers.arcgis.com/qt/ Marco ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/inte

Re: [Interest] Distance from point to path.

2015-12-29 Thread Elvis Stansvik
2015-12-28 22:49 GMT+01:00 william.croc...@analog.com : > Hello: > > Given a QPoint and a QPainterPath. > How do I find the distance from the QPoint to the > closest point along the QPainterPath. > > I could step along the path with pointAtPercent > looking for the closest point, but that seems und

[Interest] Context2D QML support for setLineDash()

2015-12-29 Thread Anssi K. Niemi
Hi, It seems setLineDash() has not been implemented yet. Is there any estimate when this support might be added? ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest