Re: [Development] Renaming QGenericItemModel

2025-05-20 Thread Giuseppe D'Angelo via Development
tion -- in order to understand the future of this API, and thus the name of the class. Thanks, -- Giuseppe D'Angelo | giuseppe.dang...@kdab.com | Senior Software Engineer KDAB (France) S.A.S., a KDAB Group company Tel. France +33 (0)4 90 84 08 53, http://www.kdab.com KDAB - Trusted

Re: [Development] Renaming QGenericItemModel

2025-05-12 Thread Giuseppe D'Angelo via Development
? Thanks, -- Giuseppe D'Angelo | giuseppe.dang...@kdab.com | Senior Software Engineer KDAB (France) S.A.S., a KDAB Group company Tel. France +33 (0)4 90 84 08 53, http://www.kdab.com KDAB - Trusted Software Excellence smime.p7s Description: S/MIME Cryptographic Signature -- Development ma

Re: [Development] Renaming QGenericItemModel

2025-05-10 Thread Giuseppe D'Angelo via Development
. Thanks, -- Giuseppe D'Angelo | giuseppe.dang...@kdab.com | Senior Software Engineer KDAB (France) S.A.S., a KDAB Group company Tel. France +33 (0)4 90 84 08 53, http://www.kdab.com KDAB - Trusted Software Excellence smime.p7s Description: Firma crittografica S/MIME -- Development mailing

[Development] Renaming QGenericItemModel

2025-05-09 Thread Giuseppe D'Angelo via Development
thing _standard_ about it). So, well before 6.10 freezes, can we discuss the possibility of renaming the class? Thanks, -- Giuseppe D'Angelo | giuseppe.dang...@kdab.com | Senior Software Engineer KDAB (France) S.A.S., a KDAB Group company Tel. France +33 (0)4 90 84 08 53, http://www.kdab.com KDA

Re: [Development] download.qt.io partially down

2025-04-17 Thread Giuseppe D'Angelo via Development
le mirrors from https://download.qt.io/online/qtsdkrepository/windows_x86/root/qt/Updates.xml.mirrorlist. Thank you, -- Giuseppe D'Angelo | giuseppe.dang...@kdab.com | Senior Software Engineer KDAB (France) S.A.S., a KDAB Group company Tel. France +33 (0)4 90 84 08 53, http://www.kdab.

Re: [Development] PSA: symbol visibility and export macros need to be re-thought for clang/libc++

2025-04-04 Thread Giuseppe D'Angelo via Development
espaces (types whose name start with "{anonymous}::" or "(anonymous namespace)::" Likely related: https://lists.llvm.org/pipermail/llvm-dev/2014-June/073465.html My 2 c, -- Giuseppe D'Angelo | giuseppe.dang...@kdab.com | Senior Software Engineer KDAB (France) S.A.S., a KDA

Re: [Development] PSA: symbol visibility and export macros need to be re-thought for clang/libc++

2025-04-04 Thread Giuseppe D'Angelo via Development
does it figure out the TU and thus the shared library in which to pin the RTTI information?) My 2 c, -- Giuseppe D'Angelo | giuseppe.dang...@kdab.com | Senior Software Engineer KDAB (France) S.A.S., a KDAB Group company Tel. France +33 (0)4 90 84 08 53, http://www.kdab.com KDAB - Tru

Re: [Development] PSA: Lack of Coverity Scan builds

2025-03-18 Thread Giuseppe D'Angelo via Development
https://codereview.qt-project.org/c/qt/qtwayland/+/630620 My 2 c, -- Giuseppe D'Angelo | giuseppe.dang...@kdab.com | Senior Software Engineer KDAB (France) S.A.S., a KDAB Group company Tel. France +33 (0)4 90 84 08 53, http://www.kdab.com KDAB - Trusted Software Excellence smime.p7s Descripti

Re: [Development] Why does QQuickImageProvider not support SVG images?

2025-03-13 Thread Giuseppe D'Angelo via Development
hat do not involve writing stuff to disc (for long-lived devices, that can become an issue with SSD lifetime). Is tmpfs an option? My 2 c, -- Giuseppe D'Angelo | giuseppe.dang...@kdab.com | Senior Software Engineer KDAB (France) S.A.S., a KDAB Group company Tel. France +33 (0)4 90

Re: [Development] [Windows] State of the Qt6 natvis file

2025-02-21 Thread Giuseppe D'Angelo via Development
d-natvis-to-pdb?view=msvc-170 I'd file a suggestion on the task tracker. Thanks, -- Giuseppe D'Angelo | giuseppe.dang...@kdab.com | Senior Software Engineer KDAB (France) S.A.S., a KDAB Group company Tel. France +33 (0)4 90 84 08 53, http://www.kdab.com KDAB - Trusted Softwar

Re: [Development] Capturing and overlaying in QtQuick using RHI

2025-02-17 Thread Giuseppe D'Angelo via Development
route it through QQuickRenderControl and "manually advance it", like you're doing); I can pretty much only listen to QQuickWindow's signals :) Cheers, -- Giuseppe D'Angelo | giuseppe.dang...@kdab.com | Senior Software Engineer KDAB (France) S.A.S., a KDAB Group company Te

[Development] Capturing and overlaying in QtQuick using RHI

2025-02-16 Thread Giuseppe D'Angelo via Development
re, not platform-specific ones)? Thank you, -- Giuseppe D'Angelo | giuseppe.dang...@kdab.com | Senior Software Engineer KDAB (France) S.A.S., a KDAB Group company Tel. France +33 (0)4 90 84 08 53, http://www.kdab.com KDAB - Trusted Software Excellence smime.p7s Description: Firma critto

Re: [Development] PSA: Lack of Coverity Scan builds

2025-02-04 Thread Giuseppe D'Angelo via Development
#x27;t going to make a difference I'm afraid :( Thanks for looking after this Peppe, looks like things are working again? At least I got a few reports from Coverity Scan in the last days. As I said, I'm skipping qtdeclarative and its dependencies. Not ideal but better than nothing.

Re: [Development] PSA: Lack of Coverity Scan builds

2025-01-31 Thread Giuseppe D'Angelo via Development
On 30/01/2025 18:45, Thiago Macieira wrote: On Thursday 30 January 2025 09:09:47 Pacific Standard Time Giuseppe D'Angelo via Development wrote: Some of you may have noticed the lack of reports by Coverity Scan in the last couple of weeks. The reason is that Coverity updated their scanning

[Development] PSA: Lack of Coverity Scan builds

2025-01-30 Thread Giuseppe D'Angelo via Development
Qt, but its output is no longer accepted. I've already emailed Scan asking for help to troubleshoot the issue, but got no answer so far. In the meanwhile I'll try to skip declarative I guess. Thanks, -- Giuseppe D'Angelo | giuseppe.dang...@kdab.com | Senior Software Engine

Re: [Development] API style guide: scoped enum or not?

2025-01-23 Thread Giuseppe D'Angelo via Development
rated-enum-specifier shall not name a dependent type". That clause has been added deliberately, "why enum names must not be dependent types". But I can't seem to find the reasoning behind this... -- Giuseppe D'Angelo | giuseppe.dang...@kdab.com | Senior Software Engineer

Re: [Development] Shaders in QRhi

2024-12-21 Thread Giuseppe D'Angelo via Development
;re still half-experimental so YMMV. See the descriptions of QRhi::Tessellation and Geometry at https://doc.qt.io/qt-6/qrhi.html . Thanks, -- Giuseppe D'Angelo | giuseppe.dang...@kdab.com | Senior Software Engineer KDAB (France) S.A.S., a KDAB Group company Tel. France +33 (0)4 90 84 08 53,

Re: [Development] Switching Qt default builds to C++20 where supported

2024-10-29 Thread Giuseppe D'Angelo via Development
be exposed to this issue. (It's still a bit unclear to me which C++20 datatypes we'd actually expose through an API/ABI boundary). My 2 c, -- Giuseppe D'Angelo | giuseppe.dang...@kdab.com | Senior Software Engineer KDAB (France) S.A.S., a KDAB Group company Tel. France +33 (0

Re: [Development] format-like tr()

2024-10-25 Thread Giuseppe D'Angelo via Development
d its replacements. Another, arguably, to avoid mix and match of %n and {} if you want to translate with a plural replacement and then use std::format into the translated string? tr("{} bought %n apples", n).format(name); My 2 c, -- Giuseppe D'Angelo | giuseppe.dang...@kdab.c

Re: [Development] format-like tr()

2024-10-25 Thread Giuseppe D'Angelo via Development
;m not sure if I like it. Anyway this is now officially "throwing ideas at the wall and see what sticks". -- Giuseppe D'Angelo | giuseppe.dang...@kdab.com | Senior Software Engineer KDAB (France) S.A.S., a KDAB Group company Tel. France +33 (0)4 90 84 08 53, http://www.k

Re: [Development] format-like tr()

2024-10-25 Thread Giuseppe D'Angelo via Development
Il 24/10/24 18:23, Thiago Macieira ha scritto: On Thursday 24 October 2024 05:19:45 Pacific Daylight Time Giuseppe D'Angelo via Development wrote: Btw, where does the “tr” go? Is it going to be tr(std::format(…)) or std::vformat(tr(…))? In the former, we’d have to pass the value twice

Re: [Development] format-like tr()

2024-10-24 Thread Giuseppe D'Angelo via Development
anslation DB (!). I completely agree with the idea that we should not diverge in any way or form from std::format semantics, including possible extensions (like f-strings, just proposed in https://wg21.link/p3412r0 ). My 2 c, -- Giuseppe D'Angelo | giuseppe.dang...@kdab.com | Senior Softwar

Re: [Development] Switching Qt default builds to C++20 where supported

2024-10-14 Thread Giuseppe D'Angelo via Development
lopment of Qt itself, but not necessarily a better development *with* Qt, as we don't really expose concepts as public APIs. Does that convenience of development for ourselves outweigh the market for platforms that are limited to C++17? Thanks, -- Giuseppe D'Angelo | giuseppe.dang

Re: [Development] Switching Qt default builds to C++20 where supported

2024-10-14 Thread Giuseppe D'Angelo via Development
t, only to break on those developers who force 20-or-above locally. Thanks, -- Giuseppe D'Angelo | giuseppe.dang...@kdab.com | Senior Software Engineer KDAB (France) S.A.S., a KDAB Group company Tel. France +33 (0)4 90 84 08 53, http://www.kdab.com KDAB - Trusted Software Excellence

Re: [Development] Switching Qt default builds to C++20 where supported

2024-10-14 Thread Giuseppe D'Angelo via Development
in reality we just check that we can pass `-std=c++17` to the compiler. Any usage in Qt code of individual language/library features still requires protection, because they're not universally implemented. My 2 c, -- Giuseppe D'Angelo | giuseppe.dang...@kdab.com | Senior So

Re: [Development] Disavowing the Lakos Rule for Q_ASSERT

2024-08-27 Thread Giuseppe D'Angelo via Development
tually land, as Marc says. ¹ https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58338#c17 -- Giuseppe D'Angelo | giuseppe.dang...@kdab.com | Senior Software Engineer KDAB (France) S.A.S., a KDAB Group company Tel. France +33 (0)4 90 84 08 53, http://www.kdab.com KDAB - Trusted Software Exc

Re: [Development] Disavowing the Lakos Rule for Q_ASSERT

2024-08-26 Thread Giuseppe D'Angelo via Development
d to bubble it up through code which may not have set up the correct unwinding state -- because it rightfully assumed that no exception would escape out of a noexcept function. My 2 c, -- Giuseppe D'Angelo | giuseppe.dang...@kdab.com | Senior Software Engineer KDAB (France) S.A.S., a KDAB Grou

Re: [Development] QVariant and types with throwing dtors

2024-08-26 Thread Giuseppe D'Angelo via Development
std container, algorithm, and so on). Thanks, -- Giuseppe D'Angelo | giuseppe.dang...@kdab.com | Senior Software Engineer KDAB (France) S.A.S., a KDAB Group company Tel. France +33 (0)4 90 84 08 53, http://www.kdab.com KDAB - Trusted Software Excellence smime.p7s Description: Firma critto

Re: [Development] QVariant and types with throwing dtors

2024-08-26 Thread Giuseppe D'Angelo via Development
~QVariant(), if we don't do (2). For clarity, what is "this problem" that are you referring to? Throwing destructors? Using types with throwing destructors in containers? -- Giuseppe D'Angelo | giuseppe.dang...@kdab.com | Senior Software Engineer KDAB (France) S.A.S., a KD

Re: [Development] How to skip write property in qml's property binding?

2024-07-23 Thread Giuseppe D'Angelo via Development
ll, I want the |text|​ property keep old value.|​|​ Sounds to me you need an assignment, not a binding. Indeed it looks like something hybrid between binding and assignment. Should be doable with a custom Binding-like element? My 2 c, -- Giuseppe D'Angelo | giuseppe.dang...@kdab.com | Seni

Re: [Development] Proposing QUIP-23: Qt-Security header in source code files

2024-07-11 Thread Giuseppe D'Angelo via Development
can be "accurate"?) * Check that we have fuzzing, ubsan, etc. enabled on Qt code that parses untrusted inputs? Thanks, -- Giuseppe D'Angelo | giuseppe.dang...@kdab.com | Senior Software Engineer KDAB (France) S.A.S., a KDAB Group company Tel. France +33 (0)4 90 84 08 5

Re: [Development] Proposing QUIP-23: Qt-Security header in source code files

2024-07-11 Thread Giuseppe D'Angelo via Development
concept. Are we specifically talking about code that deals with untrusted input data? Thank you, -- Giuseppe D'Angelo | giuseppe.dang...@kdab.com | Senior Software Engineer KDAB (France) S.A.S., a KDAB Group company Tel. France +33 (0)4 90 84 08 53, http://www.kdab.com KDAB - Trusted Software Exc

Re: [Development] std::format support for Qt string types

2024-06-19 Thread Giuseppe D'Angelo via Development
some precedent for this, like the check for /permissive-). My 2 c, -- Giuseppe D'Angelo | giuseppe.dang...@kdab.com | Senior Software Engineer KDAB (France) S.A.S., a KDAB Group company Tel. France +33 (0)4 90 84 08 53, http://www.kdab.com KDAB - Trusted Software Excellence smime.p7s Des

Re: [Development] Changing Qt's Binary Compatibility policy

2024-06-18 Thread Giuseppe D'Angelo via Development
scuss it at the QtCS in a couple of slots? Thanks, -- Giuseppe D'Angelo | giuseppe.dang...@kdab.com | Senior Software Engineer KDAB (France) S.A.S., a KDAB Group company Tel. France +33 (0)4 90 84 08 53, http://www.kdab.com KDAB - Trusted Software Excellence smime.p7s Description: S/MIME Cry

Re: [Development] Are char literals L1 or U8 in Qt?

2024-06-12 Thread Giuseppe D'Angelo via Development
evel facilities that know how to do this. My 2 c, -- Giuseppe D'Angelo | giuseppe.dang...@kdab.com | Senior Software Engineer KDAB (France) S.A.S., a KDAB Group company Tel. France +33 (0)4 90 84 08 53, http://www.kdab.com KDAB - Trusted Software Excellence smime.p7s Description: S/MIM

Re: [Development] Are char literals L1 or U8 in Qt?

2024-06-11 Thread Giuseppe D'Angelo via Development
ot;graphic character". Grapheme sequences are treated at a higher level anyhow in Qt, and we have APIs for that (QTextBoundaryFinder, etc.). And it's not 2. 🏴󠁧󠁢󠁷󠁬󠁳󠁿 is 7 code points. My 2 c, -- Giuseppe D'Angelo | giuseppe.dang...@kdab.com | Senior Software Engineer KDAB (Franc

Re: [Development] Are char literals L1 or U8 in Qt?

2024-06-11 Thread Giuseppe D'Angelo via Development
8 or Latin1 depending on the context. Yet, breaking a ~20 year behavior in "low-level code" is ... scary? It should require extraordinary motivation and care; we're probably talking about making 6.8->6.14 warn if someone passes a non-ASCII char to QASV/QChar(char)'s constr

Re: [Development] std::format support for Qt string types

2024-06-07 Thread Giuseppe D'Angelo via Development
ess works. How to reach out to them and ask if they have any plans about char16_t support? Maybe even asking if they have any plans for wchar_t -> char formatters would be helpful. Is there anyone familiar with the process? SG16 is one of the most open and welcoming C++ study groups. You can find p

Re: [Development] std::format support for Qt string types

2024-06-06 Thread Giuseppe D'Angelo via Development
in the short term, but that sounds definitely something to investigate and report about, in order to make a more informed decision. (Not to mention formatting _into_ char16_t, which would unlock something like QString::format to *create* a QString!) Thanks, -- Giuseppe D'Angelo | giuseppe.d

[Development] Feature freeze exception: PDF/X-4 support

2024-05-27 Thread Giuseppe D'Angelo via Development
impact is extremely contained (implementation of QPdfWriter). Thank you, -- Giuseppe D'Angelo | giuseppe.dang...@kdab.com | Senior Software Engineer KDAB (France) S.A.S., a KDAB Group company Tel. France +33 (0)4 90 84 08 53, http://www.kdab.com KDAB - Trusted Software Excellence smime.p7s Desc

Re: [Development] Changing Qt's Binary Compatibility policy

2024-05-27 Thread Giuseppe D'Angelo via Development
version of Qt, without any source changes) or more in general to behavioural compatibility? Thank you, -- Giuseppe D'Angelo | giuseppe.dang...@kdab.com | Senior Software Engineer KDAB (France) S.A.S., a KDAB Group company Tel. France +33 (0)4 90 84 08 53, http://www.kdab.com KDAB - Trusted Sof

[Development] Changing Qt's Binary Compatibility policy

2024-05-24 Thread Giuseppe D'Angelo via Development
s something that only Qt developers themselves have possibly needed -- seems to be a historical remnant at this point. Concretely, this means that we can make our lives easier; for instance, when backporting fixes, we'll allow new symbols to appear in patch releases. Does this sound g

Re: [Development] New survey roll-out on doc.qt.io

2024-05-02 Thread Giuseppe D'Angelo via Development
end-user forums. Thank you, -- Giuseppe D'Angelo | giuseppe.dang...@kdab.com | Senior Software Engineer KDAB (France) S.A.S., a KDAB Group company Tel. France +33 (0)4 90 84 08 53, http://www.kdab.com KDAB - Trusted Software Excellence smime.p7s Description: Firma crittografica S

[Development] Module maintainers: please prepare for [[nodiscard]] QFile::open

2024-04-17 Thread Giuseppe D'Angelo via Development
the timing here. Thank you, -- Giuseppe D'Angelo | giuseppe.dang...@kdab.com | Senior Software Engineer KDAB (France) S.A.S., a KDAB Group company Tel. France +33 (0)4 90 84 08 53, http://www.kdab.com KDAB - Trusted Software Excellence smime.p7s Description: Firma crittografica S/MIME -- Deve

Re: [Development] Using string literals in autotests

2024-03-28 Thread Giuseppe D'Angelo via Development
ozens of thousands of CI runs. Which makes the effort pointless: it takes years to get thousands of CI runs (qtbase integrations take ~2h?), during which the CI will go bust *again*, squandering all your savings. My 2 c, -- Giuseppe D'Angelo | giuseppe.dang...@kdab.com | Senior Softwar

Re: [Development] Using string literals in autotests

2024-03-28 Thread Giuseppe D'Angelo via Development
which one even *is* the latest and the greatest. And, in your case: you can just write QCOMPARE(str, "foo"), as there's a suitable qCompare overload. My 2 c, -- Giuseppe D'Angelo | giuseppe.dang...@kdab.com | Senior Software Engineer KDAB (France) S.A.S., a KDAB Group company

Re: [Development] Removing Qt 3D from release configuration in dev branch

2024-03-27 Thread Giuseppe D'Angelo via Development
I/ABI compat in the future? Will it evolve towards a more complicated model like Webengine? * Is Qt3D going to be under Qt's CI *after* 6.8? Thanks, -- Giuseppe D'Angelo | giuseppe.dang...@kdab.com | Senior Software Engineer KDAB (France) S.A.S., a KDAB Group company Tel. France +

Re: [Development] Should QObject::event() be protected or public?

2024-03-18 Thread Giuseppe D'Angelo via Development
C++ by having the entry point public and non-virtual, and have that dispatch to a protected virtual. The whole problem we're discussing is that `event()` has been made public in the base class and that means it's now public API of any QObject subclass, whether they like it

Re: [Development] Should QObject::event() be protected or public?

2024-03-18 Thread Giuseppe D'Angelo via Development
er used it personally, but the fact that C++ language designers let it compile, even without a warning, makes me wonder that there were some reasons for it. C++ has also 30? 40? years of crust. Why does C++ even allow different accessibility levels for different overrides to begin with? My

Re: [Development] Should QObject::event() be protected or public?

2024-03-15 Thread Giuseppe D'Angelo via Development
Il 15/03/24 19:22, Giuseppe D'Angelo via Development ha scritto: Il 15/03/24 19:17, Jaroslaw Kobus via Development ha scritto: +1. Typically, the designer of a subclass knows what he is doing. But it also happens that users of this class know better how to use it :) I'm not sure

Re: [Development] Should QObject::event() be protected or public?

2024-03-15 Thread Giuseppe D'Angelo via Development
s e.g. protected, it's either a mistake in good faith (you thought it was protected all along), but it's never a "I know better". You clearly *don't* know better, as you don't know C++. My 2 c, -- Giuseppe D'Angelo | giuseppe.dang...@kdab.com | Senior Software Eng

Re: [Development] Should QObject::event() be protected or public?

2024-03-13 Thread Giuseppe D'Angelo via Development
Maybe there's even a use case -- attempt a deliver from an event filter.) So, basically, we dag our own grave there, this has to stay public for the future ... My 2 c, -- Giuseppe D'Angelo | giuseppe.dang...@kdab.com | Senior Software Engineer KDAB (France) S.A.S., a KDAB Group company Tel

Re: [Development] Can we remove recommendation against unnamed namespaces from Qt coding conventions?

2024-02-21 Thread Giuseppe D'Angelo via Development
/cppwp/n3337/basic.link#4 I'd be in favour of suppressing it as well. My 2 c, -- Giuseppe D'Angelo | giuseppe.dang...@kdab.com | Senior Software Engineer KDAB (France) S.A.S., a KDAB Group company Tel. France +33 (0)4 90 84 08 53, http://www.kdab.com KDAB - Trusted Software Excellence smime.p

Re: [Development] Decrease amount of qt releases in online installer

2024-02-21 Thread Giuseppe D'Angelo via Development
ely? I'd hate to have to use wildly different ways to install different Qt versions on the same machine. My 2 c, -- Giuseppe D'Angelo | giuseppe.dang...@kdab.com | Senior Software Engineer KDAB (France) S.A.S., a KDAB Group company Tel. France +33 (0)4 90 84 08 53, http://www.kdab.com KDA

Re: [Development] Raising the minimum to C++20

2024-02-09 Thread Giuseppe D'Angelo via Development
thus require a C++20 build of Qt if you want to use those features. My 2 c, -- Giuseppe D'Angelo | giuseppe.dang...@kdab.com | Senior Software Engineer KDAB (France) S.A.S., a KDAB Group company Tel. France +33 (0)4 90 84 08 53, http://www.kdab.com KDAB - Trusted Software Excellence s

Re: [Development] What's our policy on changing the result of qHash(T, 0) between major releases?

2024-02-04 Thread Giuseppe D'Angelo via Development
r what is worth. qHash can still change its output at any time across Qt versions and software should never ever rely on that. My 2 c, -- Giuseppe D'Angelo | giuseppe.dang...@kdab.com | Senior Software Engineer KDAB (France) S.A.S., a KDAB Group company Tel. France +33 (0)4 90 84 08 53

Re: [Development] Marking the Tech Preview APIs as such

2024-01-22 Thread Giuseppe D'Angelo via Development
obvious at API review time. My 2 c, -- Giuseppe D'Angelo | giuseppe.dang...@kdab.com | Senior Software Engineer KDAB (France) S.A.S., a KDAB Group company Tel. France +33 (0)4 90 84 08 53, http://www.kdab.com KDAB - Trusted Software Excellence smime.p7s Description: Firma crittografica S/

[Development] Marking the Tech Preview APIs as such

2024-01-22 Thread Giuseppe D'Angelo via Development
d goal would be for qdoc to automatically document methods and classes marked by the macro as TP. Ideally, this should happen for 6.7 itself, if there's still time. Opinions? -- Giuseppe D'Angelo | giuseppe.dang...@kdab.com | Senior Software Engineer KDAB (France) S.A.S., a KDAB Grou

Re: [Development] Multiple QML engines with different import paths, file selectors, etc

2024-01-09 Thread Giuseppe D'Angelo via Development
own import path, whatever; or maybe simply because they want to be self-contained so they instantiate what they need. In such a setup, it wouldn't surprise me too much if two of such libraries have a name clash of some sorts. My 2 c, -- Giuseppe D'Angelo | giuseppe.dang...@kdab.com

Re: [Development] QML Rectangle corner radius API for Qt 6.7

2023-12-22 Thread Giuseppe D'Angelo via Development
, it's discoverable, it's "obvious", has minimal impact (1 property on Rectangle instead of 4), and it's also compact to write. My 2 c, -- Giuseppe D'Angelo | giuseppe.dang...@kdab.com | Senior Software Engineer KDAB (France) S.A.S., a KDAB Group company Tel. Fra

Re: [Development] QML Rectangle corner radius API for Qt 6.7

2023-12-22 Thread Giuseppe D'Angelo via Development
allow for way more flexible gradients than what we have at the moment. I'm not sure how this would look like in code, though? Thanks, -- Giuseppe D'Angelo | giuseppe.dang...@kdab.com | Senior Software Engineer KDAB (France) S.A.S., a KDAB Group company Tel. France +33 (0

Re: [Development] Request for early MOC support for C++20 Modules

2023-12-18 Thread Giuseppe D'Angelo via Development
CMake had to support. It's possible it isn't because CMake doesn't need to know about the classes, enums, variables, functions, and all other entities declared, which are part of the translation unit. Moc does need that. ... which is really, what info does moc exactly need ou

Re: [Development] 6.7 FF vs. C++20 comparisons

2023-12-15 Thread Giuseppe D'Angelo via Development
something", not in the sense that a rewrite of the operators using the new facilities will not work, but that it might have semantic changes that will break BC (e.g. for inline code). It was quite hard to spot it on QModelIndex... Thank you, -- Giuseppe D'Angelo | giuseppe.dang...@kda

Re: [Development] Houston, qint128 has a problem

2023-12-09 Thread Giuseppe D'Angelo via Development
e_! I repeat:_FALSE_. This should work with GCC 14, AFAICT. Related BRs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104772 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40856 My 2 c, -- Giuseppe D'Angelo | giuseppe.dang...@kdab.com | Senior Software Engineer KDAB (France) S.A.S., a KDAB Gro

Re: [Development] Removal/deprecation of OpenSSL 1 in Qt

2023-12-07 Thread Giuseppe D'Angelo via Development
use 1) Qt should never use unsafe 3rdparty dependencies; 2) this is different code from the supported version. We're choosing to keep and maintain code, in Qt, in order to support a library that has reached EOL; 3) OpenSSL is by far the most security-sensitive code that we use. My 2 c, -

Re: [Development] Removal/deprecation of OpenSSL 1 in Qt

2023-12-07 Thread Giuseppe D'Angelo via Development
to insecure defaults, hence the opt-in flag, and a build error if you ask for autodetection and only OpenSSL 1 is found. Thank you, -- Giuseppe D'Angelo | giuseppe.dang...@kdab.com | Senior Software Engineer KDAB (France) S.A.S., a KDAB Group company Tel. France +33 (0)4 90 84 08 53,

Re: [Development] Future of java-style iterators?

2023-12-05 Thread Giuseppe D'Angelo via Development
yet. Yes, one can wrap a Java iterator back into a range API (as I've done for QREMI, so you can use do `for (auto match : re.globalMatch(subj)`), but then one really wants C++20 for the algorithms. Thank you, -- Giuseppe D'Angelo | giuseppe.dang...@kdab.com | Senior Software Engineer

Re: [Development] Future of java-style iterators?

2023-12-05 Thread Giuseppe D'Angelo via Development
ubble. My 2 c, -- Giuseppe D'Angelo | giuseppe.dang...@kdab.com | Senior Software Engineer KDAB (France) S.A.S., a KDAB Group company Tel. France +33 (0)4 90 84 08 53, http://www.kdab.com KDAB - Trusted Software Excellence smime.p7s Description: Firma crittografica S/MIME -- Development mail

Re: [Development] Future of java-style iterators?

2023-12-03 Thread Giuseppe D'Angelo via Development
ost us? There's been virtually 0 changes on them since Qt 6.0. ¹ We should of course open the chapter of having something that defines all these QOL macros. No one should be using the Java iterators. Here's a draft: https://codereview.qt-project.org/c/qt/qtbase/+/522833 My

Re: [Development] Proposing new Qt Creator module: Qt Creator Solutions

2023-12-02 Thread Giuseppe D'Angelo via Development
. Comments/questions/opinions? Just wondering if we could extend the scope: do these solutions depend on QtCreator parts somehow? If not (I've understood that TaskTree specifically doesn't), why not "just" going for a playground module? My 2 c, -- Giuseppe D'Angelo |

Re: [Development] Removal/deprecation of OpenSSL 1 in Qt

2023-11-30 Thread Giuseppe D'Angelo via Development
Il 30/11/23 11:49, Giuseppe D'Angelo via Development ha scritto: It turns out that not every platform officially supported by Qt ships OpenSSL 3 yet. Some of these platforms are promising to maintain OpenSSL 1 for a little while longer, Orthogonal but related, the patch kind of expo

[Development] Removal/deprecation of OpenSSL 1 in Qt

2023-11-30 Thread Giuseppe D'Angelo via Development
doing. (Using unmaintained security-sensitive code is a terrible idea). Therefore, a revert must also include make OpenSSL 1 entirely opt-in (cmake switch), and not using any automatic detection whatsoever: users of Qt should never ever be enabling it "by accident". Thank you, -- Gi

Re: [Development] C++20 comparisons @ Qt (was: Re: C++20 @ Qt)

2023-11-14 Thread Giuseppe D'Angelo via Development
the table and all that talking needs to come to some conclusion. That point is now. Could this long thread be summarized somehow? I'm really unsure on the conclusions. I'd also welcome a discussion for QtCS, if it wasn't so close to the FF. -- Giuseppe D'Angelo | gius

Re: [Development] Removal of Non-deprecated API Elements in v6.6.0

2023-10-19 Thread Giuseppe D'Angelo via Development
ld be changing this now, as we're making users a disservice with a suboptimal/dangerous/misleading API" are both valid arguments, but it's not a binary choice, it's much more of a gradient. For this specific change, it's also interesting that it landed after 6.5, givin

Re: [Development] Copying a struct the easy (perhaps too easy) way

2023-09-15 Thread Giuseppe D'Angelo via Development
n the previous century doing this simple cloning but maybe it's considered good code now... Many types in MFC has value semantics as well (CString, COleDateTime, etc.). -- Giuseppe D'Angelo | giuseppe.dang...@kdab.com | Senior Software Engineer KDAB (France) S.A.S., a KDAB Group comp

Re: [Development] Nominating Ahmad Samir for approver

2023-09-12 Thread Giuseppe D'Angelo via Development
point that I wonder when he ever sleeps. +1 Indeed. +1. -- Giuseppe D'Angelo | giuseppe.dang...@kdab.com | Senior Software Engineer KDAB (France) S.A.S., a KDAB Group company Tel. France +33 (0)4 90 84 08 53, http://www.kdab.com KDAB - The Qt, C++ and OpenGL Experts smime.p7s Descripti

Re: [Development] Using DMA instead of SHM in non OpenGL apps (Linux/Wayland)

2023-08-25 Thread Giuseppe D'Angelo via Development
ng *alone* was making a difference between DMA and SHM, and couldn't understand why. -- Giuseppe D'Angelo | giuseppe.dang...@kdab.com | Senior Software Engineer KDAB (France) S.A.S., a KDAB Group company Tel. France +33 (0)4 90 84 08 53, http://www.kdab.com KDAB - The Qt, C++ and Op

Re: [Development] Using DMA instead of SHM in non OpenGL apps (Linux/Wayland)

2023-08-25 Thread Giuseppe D'Angelo via Development
quot; (NUMA-like) scenarios? Thank you, -- Giuseppe D'Angelo | giuseppe.dang...@kdab.com | Senior Software Engineer KDAB (France) S.A.S., a KDAB Group company Tel. France +33 (0)4 90 84 08 53, http://www.kdab.com KDAB - The Qt, C++ and OpenGL Experts smime.p7s Description: S/MIME Cryptog

Re: [Development] BC/SC in patch releases

2023-08-24 Thread Giuseppe D'Angelo via Development
ompile the application to begin with (= the very same version for Qt) or an earlier release of the distribution (= earlier minor version of Qt). It seems very unlikely that one would end up building for Qt x.y.z and then have their users on Qt x.y.(w My 2 c, -- Giuseppe D'Angelo | giuseppe.d

Re: [Development] BC/SC in patch releases

2023-08-24 Thread Giuseppe D'Angelo via Development
eases? Thank you, -- Giuseppe D'Angelo | giuseppe.dang...@kdab.com | Senior Software Engineer KDAB (France) S.A.S., a KDAB Group company Tel. France +33 (0)4 90 84 08 53, http://www.kdab.com KDAB - The Qt, C++ and OpenGL Experts smime.p7s Description: S/MIME Cryptographic Signature -- D

Re: [Development] std::optional for Q_PROPERTY

2023-07-21 Thread Giuseppe D'Angelo via Development
types don't match and not in the list of magical conversions (and we can't extend such a list because it's an API break) QVariant(QSize()).value>(); Nullopt again (types don't match). My 2 c, -- Giuseppe D'Angelo | giuseppe.dang...@kdab.com | Senior Software Engineer KDAB

[Development] Module maintainers: QT_NO_CONTEXTLESS_CONNECT in your modules

2023-07-10 Thread Giuseppe D'Angelo via Development
3-args connect(). Opinions? Objections? Thank you, -- Giuseppe D'Angelo | giuseppe.dang...@kdab.com | Senior Software Engineer KDAB (France) S.A.S., a KDAB Group company Tel. France +33 (0)4 90 84 08 53, http://www.kdab.com KDAB - The Qt, C++ and OpenGL Experts smime.p7s Description: S/MI

Re: [Development] API style guide: scoped enum or not?

2023-07-06 Thread Giuseppe D'Angelo via Development
bitfield or so). I'd rather just see "by default" `enum class Foo {`. My 2 c, -- Giuseppe D'Angelo | giuseppe.dang...@kdab.com | Senior Software Engineer KDAB (France) S.A.S., a KDAB Group company Tel. France +33 (0)4 90 84 08 53, http://www.kdab.com KDAB - The Qt, C++ and Open

Re: [Development] C++20 ctor-level [[nodiscard]] (was: Re: C++20 @ Qt)

2023-06-16 Thread Giuseppe D'Angelo via Development
n Q_DECL_EXPORT to [[gnu::visibility("default")]] to work around the bug? Thanks, -- Giuseppe D'Angelo | giuseppe.dang...@kdab.com | Senior Software Engineer KDAB (France) S.A.S., a KDAB Group company Tel. France +33 (0)4 90 84 08 53, http://www.kdab.com KDAB - The Qt, C++ a

Re: [Development] API style guide: scoped enum or not?

2023-06-14 Thread Giuseppe D'Angelo via Development
y 2 c, -- Giuseppe D'Angelo | giuseppe.dang...@kdab.com | Senior Software Engineer KDAB (France) S.A.S., a KDAB Group company Tel. France +33 (0)4 90 84 08 53, http://www.kdab.com KDAB - The Qt, C++ and OpenGL Experts smime.p7s Description: Firma crittografica S/MIME -- Development mailing list Deve

Re: [Development] Recommended way to take in strings

2023-06-10 Thread Giuseppe D'Angelo via Development
n templates passing deducible template parameters; 2) do not take the address of Qt entities, except for QObject-subclass member functions (and even there, I'd be wary if it's not a signal or a slot). It's obviously Qt's fault if these rules are applied within the QtCore com

[Development] FF exception for QMultiMap/Hash support in Qvariant

2023-06-05 Thread Giuseppe D'Angelo via Development
ash. That includes a constexpr qMetaTypeId. However it complicates the implementation, and I've been asked to drop that first-class support, leaving the patch stuck. If we can agree on a way forward, I'd rather have it merged. Thank you, -- Giuseppe D'Angelo | giuseppe.dang...@kdab.

Re: [Development] QPair vs std::pair difference with narrowing conversion

2023-06-03 Thread Giuseppe D'Angelo
Il sab 3 giu 2023, 14:37 Elvis Stansvik ha scritto: > Hi all, > > I was going through some legacy code and came across a behavioral > difference between QPair and std::pair: > > estan@edison:~$ cat test.cpp > #include > #include > > int main(void) { >int i = 1; >QPair{i, i}; >std::p

Re: [Development] API style guide: scoped enum or not?

2023-05-04 Thread Giuseppe D'Angelo via Development
n Qt 6 already: we need a QFlagsV2 that works across multiple enumerations (and that can use 8/16/32/64 bits, while at it), because we *still* have int-based APIs where one has to mix values from two or more enumerators. My 2 c, -- Giuseppe D'Angelo | giuseppe.dang...@kdab.com | Senior

Re: [Development] API style guide: scoped enum or not?

2023-05-04 Thread Giuseppe D'Angelo via Development
explicitly constructed from integers (all of this just to retain the switch()-ability -- otherwise a model role should be represented by a wrapper type around integers. Certainly not be kept as a plain int). My 2 c, -- Giuseppe D'Angelo | giuseppe.dang...@kdab.com | Senior Software Engineer KDAB

Re: [Development] Nominating Edward Welbourne as QLocale / date/time maintainer

2023-05-04 Thread Giuseppe D'Angelo via Development
#x27;d have him. Anyone else in favour? (I'm not sure I have a vote, actually...) I'm just an approver so I'm not sure either -- but in case it's a very convinced +1. Thanks, -- Giuseppe D'Angelo | giuseppe.dang...@kdab.com | Senior Software Engineer KDAB (France) S.A.S.,

Re: [Development] API style guide: scoped enum or not?

2023-05-03 Thread Giuseppe D'Angelo via Development
(Hint: none of these.) The extra verbosity e.g. in switches can be tamed; one more reason to upgrade to C++20: https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2019/p1099r5.html My 2 c, -- Giuseppe D'Angelo | giuseppe.dang...@kdab.com | Senior Software Engineer KDAB (France) S.A.S., a KDAB

Re: [Development] Changes to QObject::connect and other functor-taking API implementations

2023-05-03 Thread Giuseppe D'Angelo via Development
to slots/callables, how do I do it without using private APIs? In Qt 4 days that was a simple: void foo(..., QObject *receiver, const char *slot); But it's not so simple/possible any more with the PMF syntax. Thanks, -- Giuseppe D'Angelo | giuseppe.dang...@kdab.com | Senior Softwar

Re: [Development] libQt6Core.so links against both libpcre.so.3 and libpcre2-16.so.0

2023-03-08 Thread Giuseppe D'Angelo via Development
re_XXX for the 8 bit version, pcre16_XXX for the 16 bit version, pcre32_XXX for the 32 bit version; * PCRE2 uses pcre2_XXX_YY with Y being 8, 16, 32 for the various versions. So no harm done at mixing and matching. (Side note, PCRE1 has reached EOL for quite some time now.) Thanks,

Re: [Development] Do we need VS2019 for Qt 6.6?

2023-01-30 Thread Giuseppe D'Angelo via Development
ns of having qtwebengine work with multiple Qt versions? E.g. should one ensure that Qt 6.2 works fine in C++20 mode with MSVC 2022, if one wants to use latest-QtWebEngine on 6.2? Thank you, -- Giuseppe D'Angelo | giuseppe.dang...@kdab.com | Senior Software Engineer KDAB (France) S.A.S., a

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

2023-01-19 Thread Giuseppe D'Angelo via Development
d with the lambda itself. If anything: the fact that this is seen as _questionable_ and people disagree on it should be a good indication that examples shouldn't do it, as examples shouldn't feature _questionable_ code styles. My 2 c, -- Giuseppe D'Angelo | giuseppe.dang...@kdab

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

2023-01-18 Thread Giuseppe D'Angelo via Development
generate things in that namespace. My 2 c, -- Giuseppe D'Angelo | giuseppe.dang...@kdab.com | Senior Software Engineer KDAB (France) S.A.S., a KDAB Group company Tel. France +33 (0)4 90 84 08 53, http://www.kdab.com KDAB - The Qt, C++ and OpenGL Experts smime.p7s Description: Firma crittogr

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

2023-01-18 Thread Giuseppe D'Angelo via Development
cro beginning with Q * ... unless of course they're customization points, like qHash. My 2 c, -- Giuseppe D'Angelo | giuseppe.dang...@kdab.com | Senior Software Engineer KDAB (France) S.A.S., a KDAB Group company Tel. France +33 (0)4 90 84 08 53, http://www.kdab.com KDAB - The Qt, C++ a

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

2023-01-18 Thread Giuseppe D'Angelo via Development
one going to correctly forward declare Qt names in a namespaced build of Qt without using those macros? Is there perhaps a more comprehensive discussion regarding how to write examples that cope with namespaced Qt builds? Thank you, -- Giuseppe D'Angelo | giuseppe.dang...@kdab.com |

Re: [Development] Update on C bindings idea

2023-01-13 Thread Giuseppe D'Angelo via Development
;s never going to fly. Besides, what use case do you have for such an effort? If you need a GUI for a C program, and you want to use Qt, can't you isolate the "UI layer" in your code and use C++ only in that layer, keeping the rest of the code in pure C? C++ can interoperate wi

  1   2   3   4   5   6   7   8   9   10   >