Re: [Interest] [Quick Controls 2] Best way to add binding arrow tip to Popup?

2016-10-06 Thread Gunnar Sletta
Although you can do a custom shape like this using QSGGeometryNode, using an Image is a very simple solution which also gives you complete control over the look and how it integrates with the rest of the popup. And all from QML.. cheers, Gunnar > On 06 Oct 2016, at 21:22, Oleg Evseev

[Interest] QPainter draws text quads counterclockwise and other primitives clockwise

2016-10-06 Thread John Cox
Using Qt 5.6.0 on Windows 10. QPainter draws the quads for text bitmaps counterclockwise, while primitives like ellipses and the quads for QPixmap draw clockwise. Result found on QOpenGLWidget. Is this intentional? Ex: I want to draw a 3D scene and then try to draw a framerate counter on top

[Interest] Cannot build Qt5.8 for watchOS/iOS

2016-10-06 Thread Jake Petroules
In reference to the following... > Hi, > > I've got Qt iOS application and wanted to add watchOS part, but got a > problem compiling Qt with bitcode enabled, which is the requirement. That's > why I downloaded latest source of Qt5.8 and tried to compile it on my own > but coma across some

Re: [Interest] HTTPS with Qt

2016-10-06 Thread Larry Martell
Yup, that worked find. Easy peasy! Thanks. On Thu, Oct 6, 2016 at 9:55 AM, Gian Maxera wrote: > In the Qt app you just need to change http to https > No more. > >> On 6 Oct 2016, at 14:51, Larry Martell wrote: >> >> I have a Qt app that sends requests

Re: [Interest] [Quick Controls 2] Best way to add binding arrow tip to Popup?

2016-10-06 Thread Oleg Evseev
> > But lack of this solution - you can not set the opacity of such > constructed popup :) Plus, I think, set elevation to get shade of popup without doing it for arrow tip will not have a good look. 2016-10-06 22:16 GMT+03:00 Oleg Evseev : > And yes I understand that this

Re: [Interest] [Quick Controls 2] Best way to add binding arrow tip to Popup?

2016-10-06 Thread Oleg Evseev
And yes I understand that this could be done with help of clipping rotated rectangle by half and get it ahead of popup with border offset overlap. But lack of this solution - you can not set the opacity of such constructed popup :) 2016-10-06 22:11 GMT+03:00 Oleg Evseev : >

Re: [Interest] [Quick Controls 2] Best way to add binding arrow tip to Popup?

2016-10-06 Thread Oleg Evseev
Thanks for suggestion, Jérôme. I thought about such workaround, but for me it would be very nice to have border of such popup. 2016-10-06 21:19 GMT+03:00 Jérôme Godbout : > More a workaround then a real solution, but could work as long as the > triangle is still sharp 90

Re: [Interest] [Quick Controls 2] Best way to add binding arrow tip to Popup?

2016-10-06 Thread Jérôme Godbout
My bad, oups 90 deg and bad rotation center... Item { id: component property real sizing: 100 property alias color: rect_.color property alias border: rect_.border width: sizing height: sizing clip: true Rectangle { id: rect_ width: component.width height: component.height color:

Re: [Interest] [Quick Controls 2] Best way to add binding arrow tip to Popup?

2016-10-06 Thread Jérôme Godbout
More a workaround then a real solution, but could work as long as the triangle is still sharp 90 angle. Item { id: component property real sizing: 10 property alias color: rect_.color property alias border: rect_.border width: sizing height: sizing clip: true Rectangle {

Re: [Interest] HTTPS with Qt

2016-10-06 Thread Thiago Macieira
On quinta-feira, 6 de outubro de 2016 16:10:10 CEST Konrad Rosenbaum wrote: > Handle the sslErrors signal of QNAM and check that the error you get is > for the exact root cert that you want. Don't use ignoreSslErrors. There's a good chance you'll get it wrong and thus introduce a security hole.

Re: [Interest] QMetaType create

2016-10-06 Thread Jérôme Godbout
For the other peoples that may look for this into the future: 2 options: - Constructor need to be Q_INVOKABLE (a little bit of a bummer if you have a library that use Qt and your not resposible for it, in my case I think I will go with this) - Specialize the

Re: [Interest] HTTPS with Qt

2016-10-06 Thread Giuseppe D'Angelo
Il 06/10/2016 16:06, Konstantin Tokarev ha scritto: > * If your server is using certificate which is does not have well-known root > CA it the validation chain, you have to add CA certificate manually to prevent > SSL errors. > > * If your server checks client certificates, you have to add client

Re: [Interest] HTTPS with Qt

2016-10-06 Thread Konrad Rosenbaum
Hi, just change "http:" to "https:" and try what happens. If your server cert is signed with a root cert that exists in the system then this will work out of the box. If not you have two options: Handle the sslErrors signal of QNAM and check that the error you get is for the exact root cert

Re: [Interest] HTTPS with Qt

2016-10-06 Thread Konstantin Tokarev
06.10.2016, 16:52, "Larry Martell" : > I have a Qt app that sends requests to a server like this: > >   QString urlStr = "http://foo.bar.com/baz;; >   QUrl transferUrl(urlStr); >   QNetworkRequest request(transferUrl); >   networkReply = networkManager.get(request); > >

Re: [Interest] HTTPS with Qt

2016-10-06 Thread Gian Maxera
In the Qt app you just need to change http to https No more. > On 6 Oct 2016, at 14:51, Larry Martell wrote: > > I have a Qt app that sends requests to a server like this: > > QString urlStr = "http://foo.bar.com/baz;; > QUrl transferUrl(urlStr); > QNetworkRequest

[Interest] HTTPS with Qt

2016-10-06 Thread Larry Martell
I have a Qt app that sends requests to a server like this: QString urlStr = "http://foo.bar.com/baz;; QUrl transferUrl(urlStr); QNetworkRequest request(transferUrl); networkReply = networkManager.get(request); We need to change this to use HTTPS. We have the needed certs on the server.

Re: [Interest] QMetaType create

2016-10-06 Thread Jérôme Godbout
Yeah you're right, the ctor executed during the call is indeed a pointer type (8 bytes, 64 bits platform). Thanks for the pointer, punt intended ;-) Jerome On Wed, Oct 5, 2016 at 11:42 PM, Konstantin Shegunov wrote: > On Wed, Oct 5, 2016 at 11:42 PM, Jérôme Godbout

[Interest] [Quick Controls 2] Best way to add binding arrow tip to Popup?

2016-10-06 Thread Oleg Evseev
Hi everyone, I'm interesting how to add arrow tip to popup, that looks like this: If I understand correctly, according to http://doc.qt.io/qt-5/qtquick-scenegraph-customgeometry-example.html I have an option to do custom shape qt quick item instead of simple rectangle with help of QSGGeometry.

Re: [Interest] Compiling QtCreator on top of Qt5.8

2016-10-06 Thread Tim Jenssen
update your 5.8 to contain: https://codereview.qt-project.org/#/c/172291/ Von: Interest im Auftrag von Dennis Lange Gesendet: Donnerstag, 6. Oktober 2016 11:18 An: interest@qt-project.org

Re: [Interest] Compiling QtCreator on top of Qt5.8

2016-10-06 Thread Thiago Macieira
Em quinta-feira, 6 de outubro de 2016, às 11:18:58 CEST, Dennis Lange escreveu: > I try to compile QtCreator on top of Qt5.8 with latest git and getting: > > /home/dennis/mqt/qt-creator-git/share/qtcreator/qml/qmlpuppet/qml2puppet/ins > tances/nodeinstanceserver.cpp:670:9: error:

[Interest] Compiling QtCreator on top of Qt5.8

2016-10-06 Thread Dennis Lange
Hi everyone, I try to compile QtCreator on top of Qt5.8 with latest git and getting: /home/dennis/mqt/qt-creator-git/share/qtcreator/qml/qmlpuppet/qml2puppet/instances/nodeinstanceserver.cpp:670:9: error: ‘registerMockupObject’ is not a member of ‘QQuickDesignerSupportMetaInfo’