Re: [Interest] Mocking Network calls in code using QNetworkAccessManager

2017-05-18 Thread Shantanu Tushar
Hi, That works well, thanks! On Thu, May 18, 2017 at 5:16 PM, Richard Moore wrote: > On 18 May 2017 at 11:35, Shantanu Tushar wrote: >> >> Any recommendations on how to do I achieve the unit test without >> needing network access? > > > Here's an example: > > https://github.com/richmoore/qt-exa

[Interest] Building Qt 5.8 with 2D Renderer

2017-05-18 Thread Anne Fiore
Hi - I am cross compiling Qt for an imx7 processor with no graphics acceleration and would like to build with 2D Renderer. I am confused whether Qt 5.8 has 2D Renderer included in qt declarative module or if I still need to create Open GL dummy libraries and build 2D Renderer as specified here: h

[Interest] QWebEngineDownloadItem: What page issued request

2017-05-18 Thread Jason Dolan
Hey everyone, Say I have multiple QWebEnginePage’s using the same QWebEngineProfile: Can anyone think of a way of determining which QWebEnginePage is the source of a download request? ___ Interest mailing list Interest@qt-project.org http://lists.qt-pro

[Interest] Qt Essentials code download link broken ?

2017-05-18 Thread Nibedit Dey
Hello Everyone, I am trying to download some examples from below link:code examples https://www.qt.io/qt-essentials-qt-quick-for-c-developers/ But only slides are available. Examples are failing to download. Is there any other link, where the same examples are available? Regards, Nibedit

Re: [Interest] Issue with ComboBox style properties in QtQuick.Controls 2.1

2017-05-18 Thread Helmut Mülner
Hi, Von: Interest [mailto:interest-bounces+helmut.muelner=gmail@qt-project.org] Im Auftrag von Nibedit Dey Gesendet: Donnerstag, 18. Mai 2017 16:11 An: interest@qt-project.org Betreff: [Interest] Issue with ComboBox style properties in QtQuick.Controls 2.1 Hello Everyone, I am try

[Interest] Issue with ComboBox style properties in QtQuick.Controls 2.1

2017-05-18 Thread Nibedit Dey
Hello Everyone, I am trying to use SwipeView and ComboBoxStyle together in a file. In QtQuick.Controls 2.1, seems like style properties is not there. I tried to mix both modules. I believe we shouldn't do this. But when I experimented this approach to use SwipeView and ComboboxStyle together. Ple

Re: [Interest] Interest Digest, Vol 68, Issue 13

2017-05-18 Thread Kevin Funk
On Wednesday, 17 May 2017 22:27:53 CEST Roland Hughes wrote: > Wow! > > Thanks! > > The KDE crowd used to be so adamant about keeping "their" process. Maybe > they finally stepped into the light? I have no idea what you're talking about. For what it's worth: You can use KDevelop with any build

Re: [Interest] SIMD accelerated wrappers for relevant Qt container classes (QVector, ...) or QByteArray?

2017-05-18 Thread René J . V . Bertin
Thiago Macieira wrote: > Then you should consider QVector3D and QVector4D. And Qt3D is adding SIMD- > optimised versions of those two, along with that of QMatrix4x4. For now, they > are private API, but if there's interest, we could consider making them > public. i've been dusting off my MacSTL

Re: [Interest] Mocking Network calls in code using QNetworkAccessManager

2017-05-18 Thread Richard Moore
On 18 May 2017 at 11:35, Shantanu Tushar wrote: > Any recommendations on how to do I achieve the unit test without > needing network access? > ​Here's an example: ​https://github.com/richmoore/qt-examples/tree/master/qcustomnetworkreply​ and a discussion of how it works: https://blogs.kde.org/

Re: [Interest] Mocking Network calls in code using QNetworkAccessManager

2017-05-18 Thread Konstantin Tokarev
18.05.2017, 13:35, "Shantanu Tushar" : > Hi, > > In one of the unit tests that I am trying to write, I call a function > that makes a get() call using a QNetworkAccessManager that I pass to > it. It looks something like this- > > bool trackEvent(QString event, QNetworkAccessManager *nam); > > How

[Interest] Mocking Network calls in code using QNetworkAccessManager

2017-05-18 Thread Shantanu Tushar
Hi, In one of the unit tests that I am trying to write, I call a function that makes a get() call using a QNetworkAccessManager that I pass to it. It looks something like this- bool trackEvent(QString event, QNetworkAccessManager *nam); However, I do not want actual HTTP calls being made during

[Interest] Qt Installer: Could not download archive, protocol "" is unknown

2017-05-18 Thread Thomas Sevaldrud
Hi, I've seen a lot of download errors when installing Qt using the online installer on different machines the past few weeks. I've seen it in both Windows and Linux. The error message is Could not download archive: Protocol "" is unknown" If I press "Retry" it usually goes through, but stops