Re: [Development] Moving IRC from Freenode to Libera.Chat, voting thread

2021-05-27 Thread Giuseppe D'Angelo via Development
On 22/05/2021 03:06, Giuseppe D'Angelo via Development wrote: == DEADLINE FOR VOTING == 23.59 CEST of Thursday 27 May 2021. We have unanimous consent. -- Giuseppe D'Angelo | giuseppe.dang...@kdab.com | Senior Software Engineer KDAB (France) S.A.S., a KDAB Group company Tel. France +33 (0)4

Re: [Development] QString, QVariant and QSQLite

2021-05-27 Thread Alberto Mardegan
On 27/05/21 11:50, Giuseppe D'Angelo via Development wrote: > In the overwhelming majority of cases, utf16() won't make any > allocation. There's just one exception -- if the QString was built via > fromRawData(). In that case, in order to ensure NUL termination, utf16() > does actually "detach"

Re: [Development] New Qt Multimedia

2021-05-27 Thread Jason H
> > If it matters: I disclaim any copyright for the attached > > files. > > Thanks for the snippet. I think this should be perfectly doable. Connect to > the signal, then map the QVideoFrame and copy out the Y channel. One ask that may not be captured anywhere: currently, it is impossible to

Re: [Development] [EXTERNAL EMAIL] cmake targets for plugins are still not working (QTBUG-89643)

2021-05-27 Thread Mark De Wit
Note, I've been informed on that bug that shared and static builds require different fixes and therefore created a new bug report QTBUG-94066 for fixing the shared / official installs versions. Thank, Mark From: Development On Behalf Of Mark De Wit Sent: 27 May 2021 17:50 To:

[Development] cmake targets for plugins are still not working (QTBUG-89643)

2021-05-27 Thread Mark De Wit
I'd like to flag up bug report https://bugreports.qt.io/browse/QTBUG-89643 which is closed as fixed in Qt 6.1.0 but is still (or again) broken in Qt 6.1.1 I added a comment to the Bug, but in my testing, the Qt6 Gui module does not load its plugin as part of its cmake processing, and CMake thus

Re: [Development] New Qt Multimedia

2021-05-27 Thread Lars Knoll
On 27 May 2021, at 16:18, Lars Knoll mailto:lars.kn...@qt.io>> wrote: On 27 May 2021, at 15:34, Eike Hein mailto:h...@kde.org>> wrote: May 27, 2021 2:51 PM, "Samuel Gaist" mailto:samuel.ga...@idiap.ch>> wrote: I think one of the main use case I have seen for custom GStreamer pipelines is to

Re: [Development] New Qt Multimedia

2021-05-27 Thread Lars Knoll
> On 27 May 2021, at 15:34, Eike Hein wrote: > > May 27, 2021 2:51 PM, "Samuel Gaist" wrote: >> I think one of the main use case I have seen for custom GStreamer pipelines >> is to be able to get >> rtsp or other network streams in Qt applications. > > This is my personal use case as well.

Re: [Development] New Qt Multimedia

2021-05-27 Thread Lars Knoll
On 27 May 2021, at 15:25, Rodrigo Gonçalves de Oliveira wrote:  Also, this is how I define and change different audio devices ("gst-pipeline: ... audio_sink=\"alsasink device=%1\") on demand. Are there plans to have an easy way to change the output audio device? Think on an embedded

Re: [Development] New Qt Multimedia

2021-05-27 Thread Eike Hein
May 27, 2021 2:51 PM, "Samuel Gaist" wrote: > I think one of the main use case I have seen for custom GStreamer pipelines > is to be able to get > rtsp or other network streams in Qt applications. This is my personal use case as well. With the addition that I also have some pipelines where I

Re: [Development] New Qt Multimedia

2021-05-27 Thread Rodrigo Gonçalves de Oliveira
Also, this is how I define and change different audio devices ("gst-pipeline: ... audio_sink=\"alsasink device=%1\") on demand. Are there plans to have an easy way to change the output audio device? Think on an embedded system, within a media app and multiple audio devices, where the user want to

Re: [Development] QWebEnginePage and Qt 6: protected virtual functions and signals

2021-05-27 Thread Allan Sandfeld Jensen
On Donnerstag, 27. Mai 2021 14:41:54 CEST you wrote: > On Thu, 27 May 2021 at 14:17, Allan Sandfeld Jensen > > But it does not change my point about signal vs protected functions. > Let's say I have a QWebEnginePage subclass that only allows some SSL errors > by checking asynchronously a blocked

Re: [Development] New Qt Multimedia

2021-05-27 Thread Samuel Gaist via Development
> On 27 May 2021, at 14:35, Lars Knoll wrote: > >> On 27 May 2021, at 14:25, Eike Hein wrote: >> >> May 27, 2021 8:14 AM, "Lars Knoll" wrote: >>> The one thing I want to avoid is what we had in Qt 5, where you could force >>> Qt MM to use a >>> different/custom gstreamer pipeline based on

Re: [Development] QWebEnginePage and Qt 6: protected virtual functions and signals

2021-05-27 Thread Benjamin TERRIER
On Thu, 27 May 2021 at 14:17, Allan Sandfeld Jensen wrote: > On Donnerstag, 27. Mai 2021 13:55:01 CEST Benjamin TERRIER wrote: > > On Thu, 27 May 2021 at 11:25, Allan Sandfeld Jensen > > > > But then in my code, each time I see a CrazySSLPage I am never sure that > it > > will ignore SSL

Re: [Development] New Qt Multimedia

2021-05-27 Thread Lars Knoll
> On 27 May 2021, at 14:25, Eike Hein wrote: > > May 27, 2021 8:14 AM, "Lars Knoll" wrote: >> The one thing I want to avoid is what we had in Qt 5, where you could force >> Qt MM to use a >> different/custom gstreamer pipeline based on environment variables. That >> part made maintaining the

Re: [Development] New Qt Multimedia

2021-05-27 Thread Eike Hein
May 27, 2021 8:14 AM, "Lars Knoll" wrote: > The one thing I want to avoid is what we had in Qt 5, where you could force > Qt MM to use a > different/custom gstreamer pipeline based on environment variables. That part > made maintaining the > code base extremely hard. Other than that I’m of

Re: [Development] QWebEnginePage and Qt 6: protected virtual functions and signals

2021-05-27 Thread Allan Sandfeld Jensen
On Donnerstag, 27. Mai 2021 13:55:01 CEST Benjamin TERRIER wrote: > On Thu, 27 May 2021 at 11:25, Allan Sandfeld Jensen > > But then in my code, each time I see a CrazySSLPage I am never sure that it > will ignore SSL errors. Maybe someone called QObject::disconnect() on it. > > CrazySSLPage

Re: [Development] QWebEnginePage and Qt 6: protected virtual functions and signals

2021-05-27 Thread Benjamin TERRIER
On Thu, 27 May 2021 at 11:25, Allan Sandfeld Jensen wrote: > > I am not sure I see a significant difference. They are both compile-time. > A > "user" of your widget could also derive it and override the virtual > function > just as well as they could override your the signals? > > > No, they are

Re: [Development] QWebEnginePage and Qt 6: protected virtual functions and signals

2021-05-27 Thread Allan Sandfeld Jensen
On Wednesday, 26 May 2021 18:39:56 CEST Benjamin TERRIER wrote: > Hi, > > I just saw this ticket: https://bugreports.qt.io/browse/QTBUG-74587 > and this related gerrit change: > https://codereview.qt-project.org/c/qt/qtwebengine/+/346723 > > I am not sure what to think about it. > Sure it is

Re: [Development] QString, QVariant and QSQLite

2021-05-27 Thread Giuseppe D'Angelo via Development
On 26/05/2021 21:39, Alberto Mardegan wrote: Now, I haven't dug very deep in QString and QVariant, I preferred to let the experts talk first :-) Does the code in the QSQLite plugin look correct to you? That depends: when does SQLite exactly stop using the string data passed to it exactly?

Re: [Development] Qt website showing template

2021-05-27 Thread Tino Pyssysalo
Hello, The problem was a human error related to A/B testing. It was fixed yesterday and should not occur anymore. -- Tino Pyssysalo On 27.5.2021, 10.23, "Development on behalf of Eike Ziller" wrote: > On May 27, 2021, at 08:28, Nibedit Dey wrote: > > Hi Qt Team, >

Re: [Development] Qt website showing template

2021-05-27 Thread Eike Ziller
> On May 27, 2021, at 08:28, Nibedit Dey wrote: > > Hi Qt Team, > > I think the issue occurs when there is a script blocker like AdBlockPlus is > running on the browser. > I guess the content is loaded through a script that replaces the template. > When the script is blocked the template

Re: [Development] New Qt Multimedia

2021-05-27 Thread Lars Knoll
> On 26 May 2021, at 17:30, Eike Hein wrote: > > Exciting! > > Are there any plans to officially support the GStreamer backend on Android > down the line (with building GStreamer as an acceptable exercise left to the > user) or would work in that direction be appreciated by the module

Re: [Development] New Qt Multimedia

2021-05-27 Thread Lars Knoll
On 26 May 2021, at 21:00, Arnaud Vrac mailto:raw...@gmail.com>> wrote: Le mer. 26 mai 2021 à 14:11, Lars Knoll mailto:lars.kn...@qt.io>> a écrit : [snip] Hi Lars, Thanks for the updates. One feature that I've always waited for is the possibility to list and select audio/subtitle tracks from

Re: [Development] New Qt Multimedia

2021-05-27 Thread Lars Knoll
> On 26 May 2021, at 18:14, Jason H wrote: > >>> 4. On the removal of QAbstractVideoFilter AND QVideoProbe: Disappointed to >>> hear this. I previously used this for read-only frames for analysis, i.e. >>> Barcode reading and object detection. How do we do that now? >> >> You can get full