[Interest] Using QOpenGLWindow within a MainWindow ?

2021-05-03 Thread Nicholas Yue
Hi, The example for QOpenGLWindow I came across in the qt source and google search show them as the main window display. I have not yet discovered an example which shows QOpenGLWindow use within a UI application that has a menu bar and other widgets. Is QOpenGLWindow designed to be used so

Re: [Interest] How to use QOpenGLWidget from Qt Creator

2021-05-03 Thread Nicholas Yue
OK. I will look into the plugins approach. Is dynamically loading UI files to be avoided in Qt development ? What are the limitations (so I can learn about them) ? Cheers On Mon, 3 May 2021 at 12:17, Max Paperno wrote: > I guess since you're loading the UI dynamically, you'll need to either >

Re: [Interest] How to use QOpenGLWidget from Qt Creator

2021-05-03 Thread Max Paperno
I guess since you're loading the UI dynamically, you'll need to either go the "plugin" route or subclass QUiLoader. https://forum.qt.io/topic/68045/can-t-load-custom-widget-using-quiloader I'm not sure why you're using dynamic UI loading in the first place, or how you expect any custom objects

Re: [Interest] Qt in security-critical systems. Was: Re: L Word

2021-05-03 Thread Frederik Schwarzer
On 5/3/21 6:27 PM, Rui Oliveira wrote: Unfortunately, MISRA C++ is very outdated. Autosar is more up to date, and I've skimmed through it and the guidelines as more or less sane C++ development guidelines... For what it's worth there is a new MISRA C++ release planned for 2021/22 with C++11

Re: [Interest] How to use QOpenGLWidget from Qt Creator

2021-05-03 Thread Nicholas Yue
Thanks Max, I tried the promotion approach and created the corresponding class (which subclass from QOpenGLWidget) but when I ran the code, I can the following message ``` "QFormBuilder was unable to create a custom widget of the class 'MyOpenGLWidget'; defaulting to base class 'QOpenGLWidget'.

Re: [Interest] L Word

2021-05-03 Thread Tuukka Turunen
Hi, Functional safety is a complex topic with multiple different standards depending upon what you are creating. In essence the needed measures are depending upon how likely someone is to get hurt when something goes wrong. The need depends upon what is done and typically there are multiple way

[Interest] How I would like to see Qt, was Re: L Word

2021-05-03 Thread Rui Oliveira
If you allow me my two cents: I'm not a good enough programmer to know how does one deal with the promises of long term support for certain hardware while juggling with new exciting hardware. And I do agree that likely 90% of the edge cases will be commercial situations that should pay for the

[Interest] Qt in security-critical systems. Was: Re: L Word

2021-05-03 Thread Rui Oliveira
[Please rename threads when the subject changes] SpaceX's dashboard is literally an Electron application. So if a half-browser, half javascript runtime can be certified to fly to *space* and dock into the ISS, I guess Qt can be used on cars. Unfortunately, MISRA C++ is very outdated. Autosar

Re: [Interest] L Word

2021-05-03 Thread Stottlemyer, Brett (B.S.)
On 5/3/21, 11:40 AM, "Interest on behalf of Matthew Woehlke" wrote: Isn't it obvious? Once upon a time, before they "lost their way", Qt was useful to him. He was passionate about *that* Qt and wants it back. I understand *exactly* how he feels. I get the frustration. But I think

Re: [Interest] Another Qt disappointment

2021-05-03 Thread Rui Oliveira
Hahaha, welcome to the state of Qt 2021. Feel free to read the March archive of this mailing list (https://lists.qt-project.org/pipermail/interest/2021-March/thread.html) to get up to date (you'll know what threads I mean when you see them). Or https://bugreports.qt.io/browse/QTQAINFRA-4121. Or

Re: [Interest] L Word

2021-05-03 Thread Benjamin TERRIER
Le lun. 3 mai 2021 à 18:03, a écrit : > So basically open source/standard Qt was considered appropriate for safety > critical devices prior to the introduction of Safe Renderer in 2017, but > now only commercial Qt with Safe Renderer is appropriate for that purpose. > > > > Before anyone says oth

Re: [Interest] L Word

2021-05-03 Thread Jason H
The problem isn't Qt, it's not dashboards or medical. It's all about how you mitigate the risk.   I think Qt is fine for dashboards and medical, if the risks are properly managed. I think it is ok that a desktop app does not have the same risk profile as a medical device. What is important from a

Re: [Interest] L Word

2021-05-03 Thread Jérôme Godbout
I did work for 2 operating room equipment that was using Qt (and consulting for another 1). We did not had issue with Qt on this based, yes we had a fixed version and the complete testing phase must be roll over for a changed. So you keep as little changed as possible when doing maintenance fixe

Re: [Interest] L Word

2021-05-03 Thread eric.fedosejevs
So basically open source/standard Qt was considered appropriate for safety critical devices prior to the introduction of Safe Renderer in 2017, but now only commercial Qt with Safe Renderer is appropriate for that purpose. Before anyone says otherwise, Qt was widely used in safety critical a

Re: [Interest] L Word

2021-05-03 Thread Benjamin TERRIER
Le lun. 3 mai 2021 à 17:33, Matthew Woehlke a écrit : > On 03/05/2021 11.23, eric.fedosej...@gmail.com wrote: > > I find this whole argument that Qt is not appropriate for functional > > safety very puzzling. Aren’t vehicle dashboards QtC’s main market > > these days? What are vehicle dashboards

Re: [Interest] L Word

2021-05-03 Thread Ilya Diallo
Le lun. 3 mai 2021 à 17:36, Matthew Woehlke a écrit : > On 29/04/2021 15.24, Ben Haller via Interest wrote: > > If I'm not mistaken, not a single person has posted to this "L Word" > > thread in defense of Roland's right to act as he has been acting, > > have they? > Given that we live in a cultu

Re: [Interest] L Word

2021-05-03 Thread eric.fedosejevs
Prime billing on QtC's front page is a picture of the combined dashboard/infotainment system for the 2019 Mercedes-Benz A-Class. Dashboard is definitely safety critical in eyes of regulators. Infotainment system too if is integrated with backup cam. -Original Message- From: Matthew Woeh

Re: [Interest] L Word

2021-05-03 Thread Matthew Woehlke
On 30/04/2021 11.20, Jason H wrote: I have mixed feelings about the whole situation. I think Roland is right, or at least has a valid point most of the time, even if it is technical or limited to a specific use case. [...] Personally, I don't understand why if he hates it so much he participates

Re: [Interest] L Word

2021-05-03 Thread Matthew Woehlke
On 29/04/2021 15.24, Ben Haller via Interest wrote: If I'm not mistaken, not a single person has posted to this "L Word" thread in defense of Roland's right to act as he has been acting, have they? Given that we live in a culture where anyone doing so is likely to get banned right alongside Rola

Re: [Interest] L Word

2021-05-03 Thread Matthew Woehlke
On 03/05/2021 11.23, eric.fedosej...@gmail.com wrote: I find this whole argument that Qt is not appropriate for functional safety very puzzling. Aren’t vehicle dashboards QtC’s main market these days? What are vehicle dashboards if not safety critical? Are they? I thought it was infotainment s

Re: [Interest] L Word

2021-05-03 Thread eric.fedosejevs
I find this whole argument that Qt is not appropriate for functional safety very puzzling. Aren’t vehicle dashboards QtC’s main market these days? What are vehicle dashboards if not safety critical? If Qt is no longer appropriate for embedded medical devices, why is it still appropriate for

Re: [Interest] Another Qt disappointment

2021-05-03 Thread Jérôme Godbout
+1: The 2 last project I had to start went Xamarin because of this situation, I guess we might restart Qt dev, when 6.2 come around, until then we have a hard time to work into IoT and mobile with 6, many of our lib depends on missing modules, we keep our old project alive with Qt 5.15.2, but n

Re: [Interest] Another Qt disappointment

2021-05-03 Thread Raphael Cotty
Which bug are you talking about? This one: https://bugreports.qt.io/browse/QTBUG-87288 Le lun. 3 mai 2021 à 16:45, Jason H a écrit : > I have a load cell. It's a sensor that measures weight. I wanted to make a > quick UI for it in Qt. > That went as expected. Then I wanted to put the app on a sp

Re: [Interest] Another Qt disappointment

2021-05-03 Thread Frank Hemer
On Montag, 3. Mai 2021 16:44:43 CEST Jason H wrote: > I have a load cell. It's a sensor that measures weight. I wanted to make a > quick UI for it in Qt. That went as expected. Then I wanted to put the app > on a spare Amazon Fire tablet rather than tie up a computer with it. > > I was running wit

[Interest] Another Qt disappointment

2021-05-03 Thread Jason H
I have a load cell. It's a sensor that measures weight. I wanted to make a quick UI for it in Qt. That went as expected. Then I wanted to put the app on a spare Amazon Fire tablet rather than tie up a computer with it. I was running with Qt 5.15.2, but there's. bug with Bearer in Qt 5.15.2, so I

Re: [Interest] Language and translator : Learning and questions

2021-05-03 Thread Konstantin Shegunov
On Sun, May 2, 2021 at 8:50 PM Nicholas Yue wrote: > (2) I see some examples where a translator is removed before installing > a new one, I comment that away and it still works, is there some issue > lurking in the background that will cause a crash later ? > QCoreApplicaiton supports multiple

Re: [Interest] Question on retina

2021-05-03 Thread ekke
I'm always providing @3x images - there are also many Android devices out there with such high density ekke Am 03.05.21 um 11:10 schrieb maitai: Ok, thanks Le 03-05-2021 10:54, Tor Arne Vestbø a écrit : You can (they will/should be scaled appropriately), but ideally you should provide @3x

Re: [Interest] Question on retina

2021-05-03 Thread maitai
Ok, thanks Le 03-05-2021 10:54, Tor Arne Vestbø a écrit : You can (they will/should be scaled appropriately), but ideally you should provide @3x assets as well. Cheers, Tor Arne On 3 May 2021, at 09:04, maitai wrote: Hello, Can I use images with devicePixelRation = 2 on iOS devices repor

Re: [Interest] Question on retina

2021-05-03 Thread Tor Arne Vestbø
You can (they will/should be scaled appropriately), but ideally you should provide @3x assets as well. Cheers, Tor Arne On 3 May 2021, at 09:04, maitai mailto:mai...@virtual-winds.org>> wrote: Hello, Can I use images with devicePixelRation = 2 on iOS devices reporting 3 or more as devicePix

[Interest] Question on retina

2021-05-03 Thread maitai
Hello, Can I use images with devicePixelRation = 2 on iOS devices reporting 3 or more as devicePixelRatio? Thanks Philippe Lelong ___ Interest mailing list Interest@qt-project.org https://lists.qt-project.org/listinfo/interest