[Interest] Qt3D Scene2D Multisampling

2020-06-20 Thread Daniel Proksch
I am attaching a Texture2DMultisample to the output of a Scene2D object in QML and I don't see a property to explicitly enable multisample rendering. Rendering doesn't seem to work (texture stays black) so I am wondering is multisampling at all supported by Scene2D? Thanks! _

[Interest] QFile + resource + DLL = weird problem

2020-06-20 Thread Alexander Dyagilev
Hello, My app consist of serveral binaries. Main binary uses some DLLs. One of DLLs has resources inside of it. It uses them for its own purposes. I read resources inside of the DLL using this code: QFilef(":/promise.js"); Q_ASSERT(f.exists()); if(!f.open(QFile::ReadOnly)) returnerrorFrom(f,_

Re: [Interest] QDateTime::toString() fails when used in exit handler

2020-06-20 Thread Giuseppe D'Angelo via Interest
Il 19/06/20 22:12, Bernhard Lindner ha scritto: Can someone tell me what is going wrong here? There's a wider blanket statement made by Qt: you're not allowed to touch _most_ Qt APIs without a QCoreApplication object being alive. That's the case here. In detail, QDateTime uses some global tha

Re: [Interest] adding widget into a mousePressEvent

2020-06-20 Thread Carlos Agon
Hi Volker Thanks, it works ! André Pönits thanks to you too. I had made a bad test. Bye Carlos > Le 20 juin 2020 à 18:25, Volker Hilsheimer a écrit : > > You have to show widgets that you add to parents that are already visible. > Cheers, > Volker > > > From: Interest on behalf of Carlos

Re: [Interest] QDateTime::toString() fails when used in exit handler

2020-06-20 Thread Thiago Macieira
On Friday, 19 June 2020 13:12:17 PDT Bernhard Lindner wrote: > Can someone tell me what is going wrong here? Yes, the calendar system in Qt has already been destroyed. You can't format dates anymore. QDateTime::date() and QDateTime::time() still work. In general, don't do anything complex in exi

Re: [Interest] adding widget into a mousePressEvent

2020-06-20 Thread Volker Hilsheimer
You have to show widgets that you add to parents that are already visible. Cheers, Volker From: Interest on behalf of Carlos Agon Sent: Saturday, June 20, 2020 10:28:46 AM To: interest@qt-project.org Subject: [Interest] adding widget into a mousePressEvent He

Re: [Interest] Set manipulation in Qt 6

2020-06-20 Thread André Pönitz
On Sat, Jun 20, 2020 at 08:44:19AM +0200, Vadim Peretokin wrote: >Being good users open-source of Qt, [1]we're looking into our >compatibility early on to help report any issues and we're finding this >compatibility code to be rather problematic from the developer >experience point

Re: [Interest] Set manipulation in Qt 6

2020-06-20 Thread Giuseppe D'Angelo via Interest
Hi, Il 20/06/20 08:44, Vadim Peretokin ha scritto: QMap> customLines; QMap customLinesColor; // ... #if (QT_VERSION >= QT_VERSION_CHECK(5, 14, 0))     auto customLineKeys = customLines.keys();     QSet missingKeys{customLineKeys.begin(), customLineKeys.end()};     if (!customLinesColor.isE

[Interest] adding widget into a mousePressEvent

2020-06-20 Thread Carlos Agon
Hello I would like to add a button to my view at each time I click, but my code doesn't work, it prints the message "click enter" but nothing is added. What is wrong with this code ? thanks Carlos (newbie at this list) == class ShView :public QFrame { protected: void mousePressEvent(