[Interest] Is it possible to use QtQuick Item instead of Graphics View Framework ?

2016-12-08 Thread jack ma
Hi, Is there any way to draw *interactive* complex shapes(lines,arc,..) with QtQuick item like QGraphicsItem? seems that Canvas item can draw shapes but can't interact? Thanks, jack ___ Interest mailing list Interest@qt-project.org http://lists.qt-projec

Re: [Interest] Qt3d - Infinite Rendering loop

2016-12-08 Thread Michael Sué
Hi, this is a known issue: https://bugreports.qt.io/browse/QTBUG-55109. In principle you should be able to switch to OnDemand drawing, but in reality it does not (yet) work. And the proposed changes do not improve the situation, neither, at least when I tested them the last time on Win 10.

Re: [Interest] Qt3D - QOrbitCameraController & input control

2016-12-08 Thread Michael Sué
Hi, at least the wheel axis handling is implemented now analogous the other axis: https://bugreports.qt.io/browse/QTBUG-54620. So you could now change QOrbitCameraController to work with a wheel mouse. - Michael. ___ Interest mailing list In

Re: [Interest] QT BLE 4.0 Peripheral Role Full Tutorial or Example

2016-12-08 Thread Alexander Blasche
>So the question is, do you guys have a working example as how to get my >service discovered and > also provide the callbacks to >read and write to my Characteristics?. I'll > keep trying with the >documentation looking up the QLowEnergyService class and so >on, but you might have a properly docu

Re: [Interest] virus warnings

2016-12-08 Thread Thiago Macieira
Em quinta-feira, 8 de dezembro de 2016, às 23:11:35 PST, Jocala escreveu: > Thanks, I'll give that a shot. > > BTW, Microsoft's suggestion was that I invest in a pricey certificate with > yearly fees. Yes, it's not a bad idea to sign your software. -- Thiago Macieira - thiago.macieira (AT) inte

[Interest] Signing Qt DLLs

2016-12-08 Thread Bob Babcock
Qt packages I download from www.qt.io are digitally signed by The Qt Company, but Windows DLLs inside those packages are not signed. I have purchased a code signing cert. Is it ok if I sign the Qt DLLs distributed with my application? (The app is GPL and it uses otherwise unmodified Qt DLLs.

Re: [Interest] virus warnings

2016-12-08 Thread Jocala
Thanks, I'll give that a shot. BTW, Microsoft's suggestion was that I invest in a pricey certificate with yearly fees. On Thu, Dec 8, 2016 at 11:07 PM, Thiago Macieira wrote: > Em quinta-feira, 8 de dezembro de 2016, às 22:44:10 PST, Jocala escreveu: > > My program is a statically linked exe.

Re: [Interest] virus warnings

2016-12-08 Thread Thiago Macieira
Em quinta-feira, 8 de dezembro de 2016, às 22:44:10 PST, Jocala escreveu: > My program is a statically linked exe. I have no idea how to do what > you're talking about. Additionally, I didn't mention, once the file is > downloaded, Windows Defender reports it as clean. If it's statically linked,

[Interest] Qt3d - Infinite Rendering loop

2016-12-08 Thread Philip Schuchardt
I've noticed that for rendering static scene Qt3d isn't very efficient. For my application, I mostly render static scene and only need to re-render when the camera position changes. I've noticed even with my simple static scene that my application uses 20% of my CPU went the application is doing a

Re: [Interest] virus warnings

2016-12-08 Thread Jocala
My program is a statically linked exe. I have no idea how to do what you're talking about. Additionally, I didn't mention, once the file is downloaded, Windows Defender reports it as clean. On Thu, Dec 8, 2016 at 10:41 PM, Jocala wrote: > My program is a statically built exe. > > On Thu, Dec 8

Re: [Interest] virus warnings

2016-12-08 Thread Jason H
> Sent: Thursday, December 08, 2016 at 7:58 PM > From: "Sze Howe Koh" > To: Jocala > Cc: "interest@qt-project.org" > Subject: Re: [Interest] virus warnings > > On 9 December 2016 at 07:28, Jocala wrote: > > Windows 10 Defender is rejecting and deleting my QT 5.6 software. I know the > > end-u

[Interest] Websocket status = Error == dead socket?

2016-12-08 Thread Jason H
I'm on iOS where the background is restricted. After some time of being in the background the websocket enters an Error state on app returning to foreground. Setting active = true does not make the socket reconnect. It tries but dies. Then there's nothing I can do to connect again it seems. How

Re: [Interest] virus warnings

2016-12-08 Thread Sze Howe Koh
On 9 December 2016 at 07:28, Jocala wrote: > Windows 10 Defender is rejecting and deleting my QT 5.6 software. I know the > end-user workarounds, and I know how to submit false positives. But this is > happening every freaking time I do a new release. Software is deleted, users > accuse me of dist

[Interest] QT BLE 4.0 Peripheral Role Full Tutorial or Example

2016-12-08 Thread Alan Kennedy
Hi guys, I've succesfully developed a client (a.k.a central role) with QT Bluetooth LE SDK to work against some electronics of my own. But now, i need to implement the Peripheral Role with QT and my custom GATT Profile So far, i've outlined a very small service that will allow to read and write t

Re: [Interest] Qt3D - Render to QImage

2016-12-08 Thread Philip Schuchardt
I figured out why it wasn't working for me. After using the qt3d debug build, I noticed that Qt3D was asserting: ASSERT failure in Q_UNREACHABLE(): "Q_UNREACHABLE was reached", file graphicshelpers/graphicscontext.cpp, line 1684 Basically, it was telling me that it had an invalid framebuffer typ

[Interest] virus warnings

2016-12-08 Thread Jocala
Windows 10 Defender is rejecting and deleting my QT 5.6 software. I know the end-user workarounds, and I know how to submit false positives. But this is happening every freaking time I do a new release. Software is deleted, users accuse me of distributing a virus. Is there anything I can do to pre

[Interest] Register QML type and setting context property

2016-12-08 Thread Juan Jose Casafranca
Hi, I'm having some issues trying to declare a new type in qml. I have a class which contains a shared pointer to a second class. class Grid : public QObject { Q_OBJECT ... } Class FObject : public QObject { Q_OBJECT public:std::shared_ptr grid() const; protected: std::shared_ptr m_grid; }

[Interest] QWebEngine - No URLRequestContext for NSS HTTP handler

2016-12-08 Thread Kevin Mcintyre
I don't think this an issue specific to QT, I get the following warning: No URLRequestContext for NSS HTTP handler. host: ocsp.digicert.com But this occasionally stops my browser. Any pointers/suggestions/considerations greatly appreciated. Running on ubuntu 16.04 __

Re: [Interest] Qt3D - QOrbitCameraController & input control

2016-12-08 Thread Andy
Great - thanks Sean. If I come up with anything non-horrible I'll certainly submit it! --- Andy Maloney // https://asmaloney.com twitter ~ @asmaloney On Thu, Dec 8, 2016 at 2:44 PM, Sean Harmer wrote: > Hi, > > On 08/12/2016 19:08, Andy wrote: > >> Is there a

Re: [Interest] Qt3D - QOrbitCameraController & input control

2016-12-08 Thread Sean Harmer
Hi, On 08/12/2016 19:08, Andy wrote: Is there a plan to implement a way to customize the mouse/keyboard controls for QOrbitCameraController? For example the natural thing for the mouse scroll wheel is to control zoom, but I don't see a way to add that. (Though I suppose I can submit a patch for

[Interest] Qt3D - QOrbitCameraController & input control

2016-12-08 Thread Andy
Is there a plan to implement a way to customize the mouse/keyboard controls for QOrbitCameraController? For example the natural thing for the mouse scroll wheel is to control zoom, but I don't see a way to add that. (Though I suppose I can submit a patch for QOrbitCameraController.) --- Andy Malo

Re: [Interest] QPainterPathStroker's curve threshold

2016-12-08 Thread Elvis Stansvik
Den 8 dec. 2016 1:09 em skrev "Ch'Gans" : > > On 8 December 2016 at 20:40, Elvis Stansvik wrote: > > Den 8 dec. 2016 1:02 fm skrev "Ch'Gans" : > >> > >> Hi, > >> > >> The documentation of QPainterPathStroker's curve threshold says: > >> -

Re: [Interest] Gluing windows to the bottom [SOLVED]

2016-12-08 Thread Bob Hood
I went ahead and tackled it this morning. As I suspected, it required a nativeEvent() handler to achieve my desired effect. In the interests of posterity, here's the Windows code that works for my context. It "glues" a window directly onto the desktop, and keeps it from changing its Z-order wh

[Interest] Returning custom types with ActiveQt OLE automation

2016-12-08 Thread Julien MAILLE
Hi all, Being currently adding an OLE layer to my app using ActiveQt, I'm struggling to find any documentation on how to use custom types in the OLE client? For instance QRect is declared by default in any tlb created with ActiveQt. However when trying to retrieve properties with this type from VB,

Re: [Interest] QPainterPathStroker's curve threshold

2016-12-08 Thread Ch'Gans
On 8 December 2016 at 20:40, Elvis Stansvik wrote: > Den 8 dec. 2016 1:02 fm skrev "Ch'Gans" : >> >> Hi, >> >> The documentation of QPainterPathStroker's curve threshold says: >> >> Specifies the curve flattening threshold, controlli