Re: [Interest] adapting a QMenu's width in a QStyle?

2016-06-07 Thread Sergio Martins
On Tuesday, 7 June 2016 19:27:18 WEST René J.V. Bertin wrote: > Hi, > > I'm modifying a QStyle so that it uses the Unicode "check mark" glyph for > checked menu items, because that I think should give a nice visual unity > between the item text and the mark, both in style and in size (= when

Re: [Interest] QDockWidgets and ambiguous QShortcuts

2016-06-07 Thread Sergio Martins
On Sunday, 29 May 2016 10:21:36 WEST Felix morack wrote: > Hi, > > I'm facing the following problem with Shotcuts (QShortcut) and docking > widgets (QDockWidget). > > I have a custom widget that is contained in a QDockWidget, in its ctor I > register some keyboard shortcuts. As long as I have

Re: [Interest] QDockWidgets and ambiguous QShortcuts

2016-07-13 Thread Sergio Martins
On Sunday, 29 May 2016 10:21:36 WEST Felix morack wrote: > Hi, > > I'm facing the following problem with Shotcuts (QShortcut) and docking > widgets (QDockWidget). Hi, Which shortcut context are you using and which widget is the QShortcut parent ? Regards, Sérgio Martins

Re: [Interest] Memory Leak when instantiating QWidget based windows

2016-09-10 Thread Sergio Martins
On Thursday, 8 September 2016 17:16:27 WEST Mike Jackson wrote: > Does QtCreator come with suppression files for Qt5? I ran valgrind "by > hand" on the command line and while I was able to actually find some of > our leaks (yeah Valgrind..) I had to wade through 20,000 Qt leaks to > find my leaks.

Re: [Interest] Crash with Qt application that use OpenGL

2017-04-20 Thread Sergio Martins
On 2017-04-20 20:04, Xavier Bigand wrote: It is not necessary a bug from Nvidia, it can comes from bad parameters to functions like glDrawElements. Could be, but you'll have to prove it. I suggest: - Create a minimal-testcase which reproduces the problem - Run apitrace on it [1] (Never used

Re: [Interest] QML import

2017-08-02 Thread Sergio Martins
On 2017-08-02 13:26, Igor Mironchik wrote: I got the solution - for QML and QRC friendship the only solution is to use QRC urls... This is a recurring mistake people make, perhaps we could assert(!url.startsWith(":/")) or at least a warning in debug mode, inside qurl.cpp. Actually, I ran

Re: [Interest] Qt configurations of pre-build packages

2017-08-09 Thread Sergio Martins
On 2017-08-09 19:46, Sergio Martins wrote: On 2017-08-07 16:35, Thiago Macieira wrote: On Monday, 7 August 2017 03:17:38 PDT Simon Warta | Kullo wrote: I am looking for the configure command lines used compile the pre-build packages I can download via the Qt Maintenance tool

Re: [Interest] Dual screen Wayland on i.MX6

2017-07-27 Thread Sergio Martins
Hi Filip, On 2017-07-27 09:57, Filip Piechocki wrote: (...) So my question is: Is it possible to run some simple QtWayland compositor that would control both displays? So we can have one HW accelerated application displayed on both screens? Or maybe some other way to get this working?

Re: [Interest] Qt 5.9 and QtAngle library

2017-07-03 Thread Sergio Martins
On 2017-07-03 09:57, Oliver Wolff wrote: Hi Lars, On 03/07/2017 10:52, Lars wrote: (...) "If ANGLE (the default) is used (...) Hello Oliver, This could also be clarified, since ANGLE is not the default if you use the pre-built binaries. "-opengl dynamic" will give precedence to desktop

Re: [Interest] Qt configurations of pre-build packages

2017-08-09 Thread Sergio Martins
On 2017-08-07 16:35, Thiago Macieira wrote: On Monday, 7 August 2017 03:17:38 PDT Simon Warta | Kullo wrote: I am looking for the configure command lines used compile the pre-build packages I can download via the Qt Maintenance tool. Is this documented somewhere? Not documented. You have to

Re: [Interest] Qt configurations of pre-build packages

2017-08-07 Thread Sergio Martins
On 2017-08-07 11:17, Simon Warta | Kullo wrote: Hi all, I am looking for the configure command lines used compile the pre-build packages I can download via the Qt Maintenance tool. Is this documented somewhere? I want to understand how ICU configuration changed between 5.6 and 5.9 pre-build

Re: [Interest] QVectors vs QLists

2017-05-03 Thread Sergio Martins
On 2017-05-03 17:57, Jason H wrote: I have a app that does a lot of numeric processing,using quint32, qreal mostly (and occasional QVector3D). 10k-1M items in the data set. I generally do know the size of the dataset before I start adding to it, so I call reserve() on it. Given that, and that

Re: [Interest] Qt and Clang

2017-10-04 Thread Sergio Martins
On 2017-10-04 08:02, Carel Combrink wrote: Hi, Do I need to rebuild Qt if I want to start using clang as my build tools on Windows and Linux? I am currently using gcc on Linux and MinGW on Windows and need to start building 64 bit applications. gcc supports 64 bit, if that's the only

Re: [Interest] Qt3D cross compile on Pi3, examples/applications not working

2017-10-06 Thread Sergio Martins
On 2017-10-06 10:28, Carlo Ferraresi wrote: I tried with several examples such as simple-cpp, lights and materials,  the screen shows strange artifacts and the application seems freezed.   When I try planets-qml I get this output: “QOpenGLTexture*

Re: [Interest] Textures memory not being released

2017-08-21 Thread Sergio Martins
On 2017-08-21 11:29, Giuseppe D'Angelo wrote: Il 21/08/2017 12:23, Roger zanoni ha scritto: When I run this code, it keeps allocating memory until my laptop freezes. I did some basic testing using valgrind and massif, and the result shows (I posted some images on the forum thread, I'm not sure

Re: [Interest] VNC/QPA on Mac

2017-08-29 Thread Sergio Martins
On 2017-08-29 15:32, René J.V. Bertin wrote: Hi, Out of pure curiosity: why is the VNC qpa not enabled (or enabable) on Mac? I just tried and it builds without need for any external dependencies, and it's negligible in size compared to the rest of QtBase. And it seems to work just fine (on a