Re: [Development] Longstanding bug in Qt with Arabic language

2023-01-19 Thread Axel Spoerl via Development
Hi Muhammed, thanks for pointing this issue out. I will look into it and report back on QTBUG-93371 in the course of next week. Brgds Axel Von: Development im Auftrag von Muhammed Hanny Sabbagh via Development Gesendet: Freitag, 20. Januar 2023 08:21 An: Developm

[Development] Longstanding bug in Qt with Arabic language

2023-01-19 Thread Muhammed Hanny Sabbagh via Development
Hello Qt developers. I want to ask about a longstanding bug in Qt, related to the Arabic language:  https://bugreports.qt.io/browse/QTBUG-93371 The bug happens when accelerators are being used, which causes Arabic words to break and hence, the UI gets broken and non-usable in every Qt applicatio

Re: [Development] New Qt example development guideline and revamping examples

2023-01-19 Thread A . Pönitz
On Thu, Jan 19, 2023 at 01:44:16PM +, Friedemann Kleint via Development wrote: > Hi, > > we also need to agree on whether the Qt library rules apply to the > full extent; for example: > > - Do we use the modern string literals (u"bla"_s, previously, example > code just constructed QString fro

Re: [Development] New Qt example development guideline and revamping examples

2023-01-19 Thread Elvis Stansvik
Den tors 19 jan. 2023 13:34Giuseppe D'Angelo via Development < development@qt-project.org> skrev: > Il 19/01/23 10:27, Tor Arne Vestbø ha scritto: > >> All the contrary, do NOT do that, as it results in 200+ lines unnamed > lambdas. Strongly prefer named slots. Keep the lambdas short and to the >

Re: [Development] New Qt example development guideline and revamping examples

2023-01-19 Thread Thiago Macieira
On Thursday, 19 January 2023 05:44:16 PST Friedemann Kleint via Development wrote: > - Do we use the modern string literals (u"bla"_s, previously, example code > just constructed QString from ASCII and did not care about > -DQT_NO_CAST_FROM_ASCII, IIRC) I don't mind using modern string literals,

Re: [Development] New Qt example development guideline and revamping examples

2023-01-19 Thread Friedemann Kleint via Development
Hi, we also need to agree on whether the Qt library rules apply to the full extent; for example: - Do we use the modern string literals (u"bla"_s, previously, example code just constructed QString from ASCII and did not care about -DQT_NO_CAST_FROM_ASCII, IIRC) - Should tr() be used for all u

Re: [Development] New Qt example development guideline and revamping examples

2023-01-19 Thread Giuseppe D'Angelo via Development
Il 19/01/23 10:27, Tor Arne Vestbø ha scritto: All the contrary, do NOT do that, as it results in 200+ lines unnamed lambdas. Strongly prefer named slots. Keep the lambdas short and to the point. Do not use unnamed lambdas. No, strongly prefer lambdas if they are within a reasonable size. No-o

Re: [Development] New Qt example development guideline and revamping examples

2023-01-19 Thread Tor Arne Vestbø via Development
> On 18 Jan 2023, at 13:12, Giuseppe D'Angelo via Development > wrote: > >> RECOMMENDED >>Prefer signal/slot connection with lambdas: >> https://doc.qt.io/qt-6/signalsandslots.html > > All the contrary, do NOT do that, as it results in 200+ lines unnamed > lambdas. Strongly prefer name

Re: [Development] New Qt example development guideline and revamping examples

2023-01-19 Thread Christian Kandeler via Development
On 1/18/23 19:56, A. Pönitz wrote: As a data point, even at it's height of .ui usage, Qt Creator (which is a "namespace aware" code base, see https://wiki.qt.io/Qt_In_Namespace) needed the QT_*_NAMESPACE for about 30 of its >200 .ui classes, and that in the presence of ~680 places where it was n