Re: [Interest] Creating a QVariant of QList<QObject*> knowing only the class name

2017-02-21 Thread Thiago Macieira
On terça-feira, 21 de fevereiro de 2017 18:20:50 PST Ch'Gans wrote: > Hi there, > > I can create a valid QVariant that contains a MyObject pointer with > just the class name (ie, QString("MyObject")) and no access to the > class declaration. MyObject is derived from QObject. > > This QVariant

[Interest] Creating a QVariant of QList<QObject*> knowing only the class name

2017-02-21 Thread Ch'Gans
Hi there, I can create a valid QVariant that contains a MyObject pointer with just the class name (ie, QString("MyObject")) and no access to the class declaration. MyObject is derived from QObject. This QVariant has the following properties: - type() == QVariant::UserType - userType() ==

Re: [Interest] Optimizing performance with hundreds of widgets

2017-02-21 Thread Elvis Stansvik
2017-02-21 18:47 GMT+01:00 Gibbs, Matt : > Hi Elvis, thanks for your thoughtful reply. > > I agree, the 500 label test is pretty silly, and would not make a very useful > display. However, we *do* often use panels with very large numbers of > widgets. An example of a

Re: [Interest] Optimizing performance with hundreds of widgets

2017-02-21 Thread André Pönitz
On Wed, Feb 15, 2017 at 05:28:22PM +, Gibbs, Matt wrote: > Hi All, > > I’m working on a Qt-based project to display rapidly updating > information from a control system. I want to display hundreds of > signals, each updating at about 10 Hz. As a performance test, I’ve > thrown 500 Labels in

[Interest] Qt5.8 qt3d examples not working on Raspberry Pi 3

2017-02-21 Thread Pierre Chicoine
I have the exact same problem where the shader crashes on a loop constant on line 41 on all Qt3d examples and my own qt3d program. I will test the shader directly and see if I can find the problem tomorrow when I get back to my development platform. My guess is that they didn't test Qt3d on

Re: [Interest] Qt Android - Google Drive API

2017-02-21 Thread Robert Iakobashvili
Gentlemen, 1. What do you think about this implementation: https://github.com/jalcine/google-drive-qt 2. It seems that single sign by using Google Sign-In is necessary: https://developers.google.com/identity/sign-in/android/ https://developers.google.com/identity/sign-in/android/sign-in

Re: [Interest] Optimizing performance with hundreds of widgets

2017-02-21 Thread Guenter Schwann
On Mittwoch, 15. Februar 2017 17:28:22 CET Gibbs, Matt wrote: > Hi All, > > I’m working on a Qt-based project to display rapidly updating information > from a control system. I want to display hundreds of signals, each > updating at about 10 Hz. As a performance test, I’ve thrown 500 Labels in

Re: [Interest] Qt 5.8 Software Backend Bug on Windows? - Window fails to copmpletly update after closing it and opening it again

2017-02-21 Thread Friedemann Kleint
Hi, >>Should I report a bug? >Certainly. And please include a minimal example to reproduce the problem. Most likely, this is covered by https://bugreports.qt.io/browse/QTBUG-58178 . Regards, Friedemann -- Friedemann Kleint The Qt Company GmbH

Re: [Interest] Optimizing performance with hundreds of widgets

2017-02-21 Thread BAILLY Yves
I'd consider using QGraphicsScene/QGraphicsView maybe with a QOpenGLWidget as viewport. See the example "4 ships" http://doc.qt.io/qt-5/qtwidgets-graphicsview-chip-example.html -Original Message- From: Interest [mailto:interest-bounces+yves.bailly=hexagon@qt-project.org] On

Re: [Interest] Optimizing performance with hundreds of widgets

2017-02-21 Thread Viktor Engelmann
Am 15.02.2017 um 18:28 schrieb Gibbs, Matt: > Hi All, > > I’m working on a Qt-based project to display rapidly updating information > from a control system. I want to display hundreds of signals, each updating > at about 10 Hz. As a performance test, I’ve thrown 500 Labels in a grid >

Re: [Interest] Optimizing performance with hundreds of widgets

2017-02-21 Thread Elyzabeth von Reuenthal
On Wednesday, 15 February 2017 18:28:22 CET Gibbs, Matt wrote: > Are there any best practices to reduce CPU usage in this case? In case it is necessary to display all of this data at once, is it possible to offload it to the GPU by displaying it using OpenGL instead of regular widgets? You could

Re: [Interest] Optimizing performance with hundreds of widgets

2017-02-21 Thread Elvis Stansvik
2017-02-21 13:27 GMT+01:00 Elvis Stansvik : > 2017-02-15 18:28 GMT+01:00 Gibbs, Matt : >> Hi All, >> >> I’m working on a Qt-based project to display rapidly updating information >> from a control system. I want to display hundreds of signals, each

Re: [Interest] Optimizing performance with hundreds of widgets

2017-02-21 Thread Elvis Stansvik
2017-02-15 18:28 GMT+01:00 Gibbs, Matt : > Hi All, > > I’m working on a Qt-based project to display rapidly updating information > from a control system. I want to display hundreds of signals, each updating > at about 10 Hz. As a performance test, I’ve thrown 500

Re: [Interest] Qt 5.8 Software Backend Bug on Windows? - Window fails to copmpletly update after closing it and opening it again

2017-02-21 Thread Nuno Santos
Will do! Thanks! Nuno Santos Founder / CEO / CTO www.imaginando.pt +351 91 621 69 62 > On 21 Feb 2017, at 11:45, Laszlo Agocs > wrote: > > Certainly. And please include a minimal example to reproduce the problem. >

[Interest] QWebEngineUrlRequestJob and asynchronous I/O

2017-02-21 Thread Jérôme Laheurte
Hello. I already asked this on the PyQt mailing list but I guess it was not the right place; this is more of a Qt problem. I’m trying to implement a custom URI scheme handler, in a context where the underlying data will actually be fetched asynchronously. I reduced the problem to the « minimal

[Interest] Qt5.8 qt3d examples not working

2017-02-21 Thread Lukáš Sedláček
Hello, I have just got my Raspberry Pi3 (using raspbian lite without pixel - only linuxfb/eglfs) and I am having problems to run Qt3d examples (which will be very useful to for me). I cross compiled Qt5.8 library downloaded from download.qt.io using this tutorial

Re: [Interest] [cfe-dev] The QtReslot Clang plugin

2017-02-21 Thread Richard Braun
On Wed, Feb 15, 2017 at 05:55:13PM +, Sérgio Martins wrote: > Beware that the new PMF syntax is not a drop in replacement for the old style. > Applying these fixits on a codebase might introduce bugs. Yes, the user is clearly made aware of this. > Just for fun, can you run your plugin on

Re: [Interest] [cfe-dev] The QtReslot Clang plugin

2017-02-21 Thread Laszlo Nagy
Hey all, would it make sense to add these tools to the External Clang Examples page? Which is a file in the `docs` directory of the Clang repo. Regards, Laszlo On Thu, Feb 16, 2017 at 4:55 AM, Sérgio Martins via cfe-dev <

[Interest] Optimizing performance with hundreds of widgets

2017-02-21 Thread Gibbs, Matt
Hi All, I’m working on a Qt-based project to display rapidly updating information from a control system. I want to display hundreds of signals, each updating at about 10 Hz. As a performance test, I’ve thrown 500 Labels in a grid layout, and fire a timer every 100 ms which calls setText on

Re: [Interest] Qt Creator does not "see" precompiled header

2017-02-21 Thread Guenter Schwann
On Mittwoch, 15. Februar 2017 17:17:14 CET Alexander Dyagilev wrote: > Hello, > > It's very annoying... Isn't it? > > One has to write all these includes in every header file. Again and > again... :( You could include the "precompile-header" (pch.h). As this includes all the needed headers.

Re: [Interest] [cfe-dev] The QtReslot Clang plugin

2017-02-21 Thread Richard Braun
On Wed, Feb 15, 2017 at 10:00:25AM +, Manuel Klimek wrote: > Both of these projects duplicate a lot of code from clang-tidy and the AST > matcher infrastructure in clang. > > I'd be curious what the reasons are to not use those, so we can try to > address them :) I tried using matchers at

Re: [Interest] [cfe-dev] The QtReslot Clang plugin

2017-02-21 Thread Manuel Klimek via Interest
On Wed, Feb 15, 2017 at 2:39 PM Richard Braun wrote: > On Wed, Feb 15, 2017 at 10:00:25AM +, Manuel Klimek wrote: > > Both of these projects duplicate a lot of code from clang-tidy and the > AST > > matcher infrastructure in clang. > > > > I'd be curious what the reasons

[Interest] The QtReslot Clang plugin

2017-02-21 Thread Richard Braun
Hello, During work on an internal Qt-based project at Novasys-Ingenierie, a Clang plugin was written to convert string-based signals and slots to the Qt5 syntax. The plugin has since been pushed to Github [1] in the hope it will be useful to others facing similar issues. -- Richard Braun [1]

Re: [Interest] [cfe-dev] The QtReslot Clang plugin

2017-02-21 Thread Manuel Klimek via Interest
Both of these projects duplicate a lot of code from clang-tidy and the AST matcher infrastructure in clang. I'd be curious what the reasons are to not use those, so we can try to address them :) Browsing over the code, I think a large percentage of it could be saved. For example: static

Re: [Interest] Qt 5.8 Software Backend Bug on Windows? - Window fails to copmpletly update after closing it and opening it again

2017-02-21 Thread Laszlo Agocs
Certainly. And please include a minimal example to reproduce the problem. Cheers, Laszlo From: Interest on behalf of Nuno Santos Sent: Monday, February 20, 2017 1:16:02 PM To:

[Interest] How to paint smooth rendering of connected QLineF's?

2017-02-21 Thread Patrick Stinson
Hello! I am painting a series of connected QLineF's with varying vectors and widths. Is there any way to smooth them out to be more vector-ish, so you don't see the jagged transitions between the segments? This is for hand writing notes with the Apple Pencil. I have one segment per event with

Re: [Interest] Trolltech sighting, Feb 2017, Colorado USA

2017-02-21 Thread Patrick Stinson
Good old version 1.44... > On Feb 20, 2017, at 10:52 PM, Phil Weinstein wrote: > > Trolltech sighting, Feb 2017, Colorado USA > http://www.thirdtablet.com/2017/Sightings/Trolltech.jpg > --- > > ___ > Interest mailing list >

Re: [Interest] Forum or mailing list?

2017-02-21 Thread Konstantin Tokarev
21.02.2017, 09:07, "André Somers" : > Hi, > > Op 21/02/2017 om 06:41 schreef Patrick Stinson: >>  Qt’ers, >> >>  I’m curious, what type of inquiries should go on the Qt-hosted forum, and >> which to this mailing list? >> >>  It’s a little hard to tell the difference from

Re: [Interest] Send POST request with QOAuth2AuthorizationCodeFlow

2017-02-21 Thread Jesus Fernandez
On Monday, February 20, 2017 04:24:10 PM Juhani Matilainen wrote: > Hello, > > Qt 5.8 contains new QtNetwork Auth module (as a technology preview). I > successfully login to Google and get a data from Google Drive. But I haven’t > figured out how to use post() -function. There is no QByteArray