Re: [Interest] How to make QMap work as input to std::ranges::views?

2025-04-14 Thread Giuseppe D'Angelo via Interest
doesn't; it doesn't inherit from view_interface nor has enabled_view enabled for it, and it doesn't model std::moveable. This should be a subtask of QTBUG-105465. My 2 c, -- Giuseppe D'Angelo | giuseppe.dang...@kdab.com | Senior Software Engineer KDAB (France) S.A.S., a KD

Re: [Interest] L Word

2021-04-29 Thread Giuseppe D'Angelo via Interest
On 29/04/2021 00:42, Giuseppe D'Angelo via Interest wrote: If the answer is yes, you were lying. If the answer is no, or you don't answer, then you're trolling the mailing list. You'll get my apology; I'll even throw in, for free, my personal congratulations for the l

Re: [Interest] L Word

2021-04-28 Thread Giuseppe D'Angelo via Interest
On 29/04/2021 00:08, Roland Hughes wrote: On 4/21/21 5:00 AM, Giuseppe D'Angelo wrote: On your right: witness B, found to be lying multiple times in the past I have never lied in here. Been incorrect at times? Most assuredly at some point. I have never lied. https://plato.stanfor

Re: [Interest] Guide me through the Qt offerings for GUIs

2021-04-25 Thread Giuseppe D'Angelo via Interest
22/04/21 20:38, Konstantin Shegunov: On Thu, Apr 22, 2021 at 7:19 PM Giuseppe D'Angelo via Interest mailto:interest@qt-project.org>> wrote: You should create a C++ layer (call it a "presentation" layer) that sits between your (possibly non-Qt) business logic a

Re: [Interest] Guide me through the Qt offerings for GUIs

2021-04-22 Thread Giuseppe D'Angelo via Interest
button... or I could just #include "Component_Deep_Into_Business_Logic.h" and just call a method on it.". You know, "a little goto never hurt anyone". (Velociraptor ensues) In other words, being "entirely" in C++ has also its downsides. HTH, -- Giuseppe D'

Re: [Interest] Guide me through the Qt offerings for GUIs

2021-04-22 Thread Giuseppe D'Angelo via Interest
bindings, Behavior, etc.), some of which are now coming in Qt 6.x. HTH, -- 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 smim

Re: [Interest] Guide me through the Qt offerings for GUIs

2021-04-22 Thread Giuseppe D'Angelo via Interest
7;t understand something? In fact, see https://bugreports.qt.io/browse/QTBUG-74407 and related tasks. HTH, -- 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 - T

Re: [Interest] Guide me through the Qt offerings for GUIs

2021-04-22 Thread Giuseppe D'Angelo via Interest
, also offer C++ APIs for Qt Quick? (As well as the QML APIs you have today.) 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++ and OpenGL Ex

Re: [Interest] Help a unix guy on windows qmake

2021-04-21 Thread Giuseppe D'Angelo via Interest
$$(X) is an environment variable called X (evaluated when qmake is ran) $(X) is an environment variable called X (evaluated when make is ran) But no $X. I'm still not sure what $PROJ means. Thanks, -- Giuseppe D'Angelo | giuseppe.dang...@kdab.com | Senior Software Engineer KDAB (France

Re: [Interest] Help a unix guy on windows qmake

2021-04-21 Thread Giuseppe D'Angelo via Interest
uite know what $PROJ means *for you*? :) Do you mean $$OUT_PWD? Do you mean $$shadowed($$PWD)? 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 Q

Re: [Interest] Guide me through the Qt offerings for GUIs

2021-04-21 Thread Giuseppe D'Angelo via Interest
On 21/04/2021 16:10, Rui Oliveira wrote: Black Mesa Source?! Now that's an interesting one haha! Yep, https://steamdb.info/depot/362894/ shows some familiar names in the installed libs. (That having been said, Qt is used only in the menus AFAIK :-)) Thanks, -- Giuseppe D&#

Re: [Interest] Guide me through the Qt offerings for GUIs

2021-04-21 Thread Giuseppe D'Angelo via Interest
o you mean something like this https://github.com/KDAB/DeclarativeWidgets or actually reimplementing the widgets themselves? 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 0

Re: [Interest] Question about QtDeclarative Internals

2021-04-21 Thread Giuseppe D'Angelo via Interest
iling list. That's what most developers of Qt lurk. (interest@ is people who develop WITH Qt.) 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,

Re: [Interest] Guide me through the Qt offerings for GUIs

2021-04-21 Thread Giuseppe D'Angelo via Interest
ting talks at the past Qt Desktop Days (about Scrite, VLC, KDE and so on; check out the videos, they're all on Youtube) and some customer showcases at the past (in person) Qt World Summits. Hope this helps, -- Giuseppe D'Angelo | giuseppe.dang...@kdab.com | Senior Software Engineer

Re: [Interest] Interest Digest, Vol 115, Issue 17

2021-04-20 Thread Giuseppe D'Angelo via Interest
On 20/04/2021 23:55, Roland Hughes wrote: On 4/20/2021 4:35 PM, Giuseppe D'Angelo wrote: On 20/04/2021 15:10, Roland Hughes wrote: On 4/20/2021 5:00 AM, Giuseppe D'Angelo wrote: On 18/04/2021 14:50, Roland Hughes wrote: I guess QML is more present in embedded? Or maybe some entrep

Re: [Interest] Guide me through the Qt offerings for GUIs

2021-04-20 Thread Giuseppe D'Angelo via Interest
On 20/04/2021 15:10, Roland Hughes wrote: On 4/20/2021 5:00 AM, Giuseppe D'Angelo wrote: On 18/04/2021 14:50, Roland Hughes wrote: I guess QML is more present in embedded? Or maybe some entreprise stuff we don't know about... Just phones and John Deere. This is false, as a quick wa

Re: [Interest] Guide me through the Qt offerings for GUIs

2021-04-19 Thread Giuseppe D'Angelo via Interest
it) without races and without locking against the GUI thread. QTextDocument design is unlikely to fit the bill here; a different design sounds anything but easy, but the underlying graphics API has very little to do with this. -- Giuseppe D'Angelo | giuseppe.dang...@kdab.com | Senior Softwa

Re: [Interest] [EXTERNAL] Re: Send Data to JavaScript

2021-04-14 Thread Giuseppe D'Angelo via Interest
imple tests suggested above (exposing progressively more and more "complicated" types); that should quickly help figuring out what is actually supported and what not. HTH, -- Giuseppe D'Angelo | giuseppe.dang...@kdab.com | Senior Software Engineer KDAB (France) S.A.S., a KDAB Group c

Re: [Interest] [EXTERNAL] Re: Send Data to JavaScript

2021-04-12 Thread Giuseppe D'Angelo via Interest
Il 12/04/21 15:56, John Schneiderman ha scritto: On 12.04.2021 15:35, Giuseppe D'Angelo via Interest wrote: Are you sure about the transformation? Only certain data types are supported for the C++ <-> QML data exchange, and I don't believe the one you're using is: I&#x

Re: [Interest] Send Data to JavaScript

2021-04-12 Thread Giuseppe D'Angelo via Interest
t.io/qt-5/qtqml-cppintegration-data.html In other words, you may need to change the datatype / transform it somehow before giving it to QML. (Also do you want to just _read_ it from QML or also write into it? The above QML syntax looks a bit sketchy...) HTH, -- Giuseppe D'Angelo | giusep

Re: [Interest] the path forward - that 7 year thing - was, , , willy-nilly

2021-04-12 Thread Giuseppe D'Angelo via Interest
On 12/04/2021 13:59, Roland Hughes wrote: On 4/2/21 5:00 AM, Giuseppe D'Angelo wrote: (Is there a conflict of intents here because of the massive support to the Qt Project? I can't see how -- if anything, one could say that the commercial decisions may drive the decisions in the

Re: [Interest] Are Qt.transparent and "transparent" different colors?

2021-04-12 Thread Giuseppe D'Angelo via Interest
On 07/04/2021 12:09, Tor Arne Vestbø wrote: Yes, please file a bug about this. https://bugreports.qt.io/browse/QTBUG-92588 Cheers, -- 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: [Interest] the path forward - that 7 year thing - was, , willy-nilly

2021-04-01 Thread Giuseppe D'Angelo via Interest
On 01/04/2021 16:13, Roland Hughes wrote: On 4/1/21 8:46 AM, Giuseppe D'Angelo wrote: On 01/04/2021 13:40, Roland Hughes wrote: We keep discussing the ability to upgrade Qt but not upgrade the rest of the OS. I understand that Qt is a central component of the UI, but it's no les

Re: [Interest] the path forward - that 7 year thing - was, willy-nilly

2021-04-01 Thread Giuseppe D'Angelo via Interest
t TQC or anyone else) have nothing to do with the Qt project decisions. And, by the way, we're describing scenarios where the environment *has* changed: new hardware, new platforms, new toolchains. You're negating the premise, and thus the argument is a fallacy. -- Giuseppe D'An

Re: [Interest] QtQuick over Qt3D (Qt 5.15)

2021-03-31 Thread Giuseppe D'Angelo via Interest
words: STOP IT NOW. 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: S/MIME Cry

Re: [Interest] Interest Digest, Vol 114, Issue 42

2021-03-28 Thread Giuseppe D'Angelo via Interest
On 28/03/2021 20:39, Roland Hughes wrote: On 3/28/21 12:54 PM, Giuseppe D'Angelo wrote: Il 28/03/21 13:54, Roland Hughes ha scritto: There is documentation and Web pages that have replicated all over stating Qt 5 supports RHEL 6. You made something that cannot be effectively erased u

Re: [Interest] the path forward - that 7 year thing - was, willy-nilly

2021-03-28 Thread Giuseppe D'Angelo via Interest
ing that agile is bad and you should get 324 documents cross-checked and triple stamped before writing one single line of code? I assume "trust inaccurate hearsay" and "make gross generalization" are in those documents? Not amused at all, -- Giuseppe D'Angelo | giusep

Re: [Interest] the path forward - that 7 year thing - was, , willy-nilly

2021-03-28 Thread Giuseppe D'Angelo via Interest
paying for on the marketplace is the convenience of being prebuilt, rather than building it from sources yourself. HTH, -- 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.co

Re: [Interest] QML Image sourceSize bug (?)

2021-03-27 Thread Giuseppe D'Angelo via Interest
he actual code, just assumed a GL_LINEAR_MIPMAP_LINEAR setting. HTH, -- 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.p7

Re: [Interest] Are Qt.transparent and "transparent" different colors?

2021-03-27 Thread Giuseppe D'Angelo via Interest
n a bug report suggesting to add a Qt::Color -> color type construction (assuming it's possible), because it's indeed supposed to "just work". (On the other hand, clearly, int->color should never work.) Thanks, -- Giuseppe D'Angelo | giuseppe.dang...@kdab.com | Senior

Re: [Interest] QML Image sourceSize bug (?)

2021-03-27 Thread Giuseppe D'Angelo via Interest
On 27/03/2021 11:56, Alexander Dyagilev wrote: No. On 3/27/2021 1:24 PM, Giuseppe D'Angelo via Interest wrote: On 27/03/2021 04:20, Alexander Dyagilev wrote: Looks better. Why is it so? Did you enable mipmapping for the first one? Well, does it improve it you enable it? T

Re: [Interest] Are Qt.transparent and "transparent" different colors?

2021-03-27 Thread Giuseppe D'Angelo via Interest
;color" type in QML. https://doc.qt.io/qt-5/qml-color.html You are getting an error message on the console. HTH, -- 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 -

Re: [Interest] QML Image sourceSize bug (?)

2021-03-27 Thread Giuseppe D'Angelo via Interest
On 27/03/2021 04:20, Alexander Dyagilev wrote: Looks better. Why is it so? Did you enable mipmapping for the first one? 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: [Interest] The willy-nilly deletion of convenience methods (was: Mixing Commercial and Open...)

2021-03-24 Thread Giuseppe D'Angelo via Interest
made that takes a QSet), so I need conversions to call it. And what, exactly, is the solution here? Probably "ranges", but those aren't available yet. Not an easy answer, but maybe start not to have functions take/return specific containers. Thanks, -- Giuseppe D'Angelo |

Re: [Interest] The willy-nilly deletion of convenience methods (was: Mixing Commercial and Open...)

2021-03-24 Thread Giuseppe D'Angelo via Interest
;ve got a square peg (a QList) and a round hole (an function I made that takes a QSet), so I need conversions to call it. And so on. -- 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: [Interest] The willy-nilly deletion of convenience methods (was: Mixing Commercial and Open...)

2021-03-24 Thread Giuseppe D'Angelo via Interest
didn't find the right place. (KDToolBox comes to mind, eventually). The other reason was more profound and related to the deprecation of these APIs, meaning that in the huge majority of usages found was a form of algorithmic abuse. Should we offer APIs which facilitate bad codi

Re: [Interest] QML Image size vs sourceSize strange things

2021-03-23 Thread Giuseppe D'Angelo via Interest
different resolution rather than the wanted one (and downscaling when rendering). 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 Op

Re: [Interest] Mixing Commercial and Open Source license for, different, projects

2021-03-18 Thread Giuseppe D'Angelo via Interest
Il 18/03/21 12:41, Christian Gagneraud ha scritto: My main grief is that Qt doesn't seem to care about C++. What was their last contribution to the standard? Apart from hiring the ex-chair of the WG21 Evolution Working Group? (Can we stop with the FUD please?) My 2 c, -- Giuseppe D&#

Re: [Interest] Mixing Commercial and Open Source license for different projects

2021-03-16 Thread Giuseppe D'Angelo via Interest
ust asking if such a setup is not possible for some specific reasons.) 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 Exper

Re: [Interest] Mixing Commercial and Open Source license for different projects

2021-03-15 Thread Giuseppe D'Angelo via Interest
than using the GPL edition of QtCreator to develop for customer B? (I'm not being dismissive, it's an actual open question). Cheers, -- Giuseppe D'Angelo | giuseppe.dang...@kdab.com | Senior Software Engineer KDAB (France) S.A.S., a KDAB Group company Tel. France +33 (0

Re: [Interest] QML app macOS dedicated graphic card issue

2021-02-24 Thread Giuseppe D'Angelo via Interest
been a few bugs reported against this, search in the bugtracker. IIRC the "solution" was to advertise that the discrete GPU is OK in your application's info.plist. HTH, -- Giuseppe D'Angelo | giuseppe.dang...@kdab.com | Senior Software Engineer KDAB (France) S.A.S., a KDAB Gr

Re: [Interest] How to read screen information from QGuiApplication to put in qputenv environment variable?

2021-02-15 Thread Giuseppe D'Angelo via Interest
, calculate scaling, etc. // qputenv } // app destroyed , recreate it QGuiApplication app(argc, argv); // rest of main } 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: [Interest] QVariant toBool() not working correctly?

2021-01-26 Thread Giuseppe D'Angelo via Interest
ot;false" (in any case) to false and everything else to true: https://code.qt.io/cgit/qt/qtbase.git/tree/src/corelib/kernel/qvariant.cpp?h=5.12#n344 Therefore, work around the issue and do the conversion yourself. (An alternative would be using TINYINT to represent bools.) HTH, -- Giuseppe D&#

Re: [Interest] QStringBuilder buffer overflow with string litteral?

2021-01-25 Thread Giuseppe D'Angelo via Interest
ip: always define QT_NO_CAST_FROM_ASCII (or the more lenient QT_RESTRICTED_CAST_FROM_ASCII) in any Qt project. HTH, -- 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.c

Re: [Interest] download.qt.io is down

2021-01-22 Thread Giuseppe D'Angelo via Interest
HTH, -- 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 crittograf

Re: [Interest] QPA display system query ?

2021-01-18 Thread Giuseppe D'Angelo via Interest
may be different for each application, and it's not uncommon to find applications that override the system default. You can enable sufficiently verbose logging for a given application to find out what's going on, e.g. via QT_LOGGING_RULES="qt.qpa.*.debug=true" yourA

Re: [Interest] Qt 5.15 pull out of open source?!

2021-01-07 Thread Giuseppe D'Angelo via Interest
s.qt-project.org/pipermail/development/2021-January/040798.html HTH, -- 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 De

Re: [Interest] Qt 6.0.0 build on Windows 10 - Perl related error ?

2020-12-29 Thread Giuseppe D'Angelo via Interest
uild using qmake.) 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 critt

Re: [Interest] How to expose a ‘index’ property to a delegate?

2020-11-23 Thread Giuseppe D'Angelo via Interest
ally as needed, and bind them when using the delegate in a view. See > https://youtu.be/vzs5VPTf4QQ?t=2240 HTH, -- 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 -

Re: [Interest] Window ID of the current screen (root window)?

2020-11-20 Thread Giuseppe D'Angelo via Interest
Il 20/11/20 14:55, Richard Moore ha scritto: I'd hope there's a way to get the actual connection being used, rather than relying on looking at the environment variables. For example, what happens if -display is passed? As in QX11Info::connection()? Thanks, -- Giusepp

Re: [Interest] how to get and purge events from queue?

2020-11-05 Thread Giuseppe D'Angelo via Interest
). But there's just no public access to the pending event queue. HTH, -- 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

Re: [Interest] QSharedpointer members are not accessible: isNull and data

2020-10-23 Thread Giuseppe D'Angelo via Interest
orrect, and compileable testcase? 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++ and OpenGL Experts smime.p7s Descr

Re: [Interest] QPainter::drawRect incorrectly "rounds" corners

2020-10-21 Thread Giuseppe D'Angelo via Interest
ereview.qt-project.org/c/qt/qtbase/+/200383 which unfortunately has been reverted). HTH, -- 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 Exper

Re: [Interest] question for a blocking background thread call

2020-10-20 Thread Giuseppe D'Angelo via Interest
getting this. Can't you just create a QDialog and exec() it? 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++ and OpenGL Experts

Re: [Interest] QtPdf from Qt open source online installer

2020-10-20 Thread Giuseppe D'Angelo via Interest
Il 20/10/20 17:28, Jason H ha scritto: Then we should probably include the marketplace email address in this thread. Open a bug report instead. Thanks, -- Giuseppe D'Angelo | giuseppe.dang...@kdab.com | Senior Software Engineer KDAB (France) S.A.S., a KDAB Group company Tel. France +33

Re: [Interest] implementing rows reordering in QSortFilterProxyModel

2020-10-12 Thread Giuseppe D'Angelo via Interest
pproach is that QModelIndex-es are short-living and I need to track its lifetime somehow Any better ideas? QPersistentModelIndex. But it sounds like it's not _really_ needed, you need a way to map integers (row numbers from the source model) into other integers (row numbers after the proxy).

Re: [Interest] Queued signals lost in 5.15.0 (works in 5.12.5) (Windows)

2020-09-26 Thread Giuseppe D'Angelo via Interest
nt is that you have to call it before emitting (in case of a queued activation on an autoconnection) or even before connecting (in case you're forcing a queued connection). Either way, if you forget, Qt should emit a warning telling you exactly what to do. HTH, -- Giuseppe D'Angelo

Re: [Interest] Queued signals lost in 5.15.0 (works in 5.12.5) (Windows)

2020-09-26 Thread Giuseppe D'Angelo via Interest
activation and some arguments are not registered, you should get a warning from Qt. The lack of such a warning is a bug. Do you have a testcase? -- 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: [Interest] Queued signals lost in 5.15.0 (works in 5.12.5) (Windows)

2020-09-26 Thread Giuseppe D'Angelo via Interest
know of a case where this wouldn't spit the usual "arguments are not registered" warning? (If so, that's a 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

Re: [Interest] Queued signals lost in 5.15.0 (works in 5.12.5) (Windows)

2020-09-25 Thread Giuseppe D'Angelo via Interest
y (e.g. by overriding QCA::notify(); and/or by using ETW tracing; and/or by posting and dispatching your custom "metacall" events instead of using a queued invocation in the same thread). HTH, -- Giuseppe D'Angelo | giuseppe.dang...@kdab.com | Senior Software Engineer KDAB (Fra

Re: [Interest] Debugging a double dealloc

2020-09-23 Thread Giuseppe D'Angelo via Interest
-macos/ (Note: never used it myself, not a mac user). Another option is getting a recent Clang version and rebuilding Qt and your app with AddressSanitizer. HTH, -- Giuseppe D'Angelo | giuseppe.dang...@kdab.com | Senior Software Engineer KDAB (France) S.A.S., a KDAB Group company Tel. Franc

Re: [Interest] Help with maintenance tool

2020-09-21 Thread Giuseppe D'Angelo via Interest
.qt.io Can someone fix this for me? I literally fixed this by going back and forth in quick succession inside the tool while clicking around (basically doing a "monkey test") until it goes past that screen and you get to select if to add/remove or uninstall. HTH, -- Giuseppe D&#x

Re: [Interest] Build qt 5.14.2 from scratch; enable win32-bluetooth-support

2020-09-15 Thread Giuseppe D'Angelo via Interest
ure Qt? 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++ and OpenGL Experts smime.p7s Description: S/MIME Cry

Re: [Interest] QML/C++ interaction in Qt6

2020-09-14 Thread Giuseppe D'Angelo via Interest
QML_IMPORT_NAME", QML_IMPORT_MAJOR_VERSION, QML_IMPORT_MINOR_VERSION, "CLASS_WITH_QML_ELEMENT") In your case that translates to qmlRegisterType("People", 1, 0, "Person") HTH, -- Giuseppe D'Angelo | giuseppe.dang...@kdab.com | Senior Software Engineer

Re: [Interest] Double free in QItemDelegate editor

2020-09-03 Thread Giuseppe D'Angelo via Interest
that QItemDelegate::destroyEditor() calls the editor's QObject::deleteLater() by default - does the editor already get deleted when its parent gets deleted?) Do you have a minimal testcase? What does valgrind / ASAN say? Thanks, -- Giuseppe D'Angelo | giuseppe.dang...@kdab.com | Senior Softwar

Re: [Interest] Three-file modules vs. moc

2020-08-27 Thread Giuseppe D'Angelo via Interest
l to do. HTH, -- 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

Re: [Interest] Three-file modules vs. moc

2020-08-27 Thread Giuseppe D'Angelo via Interest
inl, bar.h -> bar.inl, and so on... -- 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 cr

Re: [Interest] Mouse/Pen input latency in Qt Quick and render loop

2020-08-21 Thread Giuseppe D'Angelo via Interest
Il 19/08/20 17:57, Daljit Singh ha scritto: Now I think there might be some ways this could be solved: Just as an extra data point: have you tried driving the Qt Quick render loop manually, using QQuickRenderControl? My 2 c, -- Giuseppe D'Angelo | giuseppe.dang...@kdab.com | Senior Sof

Re: [Interest] QTranslator.load and builtin translations

2020-08-18 Thread Giuseppe D'Angelo via Interest
cify "_" as the prefix string). See https://doc.qt.io/qt-5/qtranslator.html#load-1 https://doc.qt.io/qt-5/internationalization.html#example-basic-qt-modules https://www.kdab.com/fixing-a-common-antipattern-when-loading-translations-in-qt/ HTH, -- Giuseppe D'Angelo | gius

Re: [Interest] wss:// on localhost

2020-08-02 Thread Giuseppe D'Angelo via Interest
. 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 critt

Re: [Interest] Interest Digest, Vol 106, Issue 14

2020-07-15 Thread Giuseppe D'Angelo via Interest
th me months on end every weekend Two Rivers and even showed up a few times for Tuesday night dart league at Pockets talked shop while we were drinking and darting and socializing. They said repeatedly it was exactly what they were working on. This is the *definition* of hearsay. -- Gi

Re: [Interest] Roland Qml

2020-07-14 Thread Giuseppe D'Angelo via Interest
s hearsay and unwarranted. -- 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: [Interest] rebooted QtWebKit for Qt4??

2020-07-13 Thread Giuseppe D'Angelo via Interest
ecret" algorithms belong to C++, not to QML, so using or not using QML doesn't change the equation. And, you can obfuscate the JavaScript code used by your QML part. My 2 c, -- Giuseppe D'Angelo | giuseppe.dang...@kdab.com | Senior Software Engineer KDAB (France) S.A.S., a KD

Re: [Interest] Pause QTableView while model continues to update

2020-07-08 Thread Giuseppe D'Angelo via Interest
osed earlier. 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: S/MIM

Re: [Interest] Issues loading Qt's meta catalog translation files

2020-07-06 Thread Giuseppe D'Angelo via Interest
talled (e.g. QtScript). See also the discussion here: https://doc.qt.io/qt-5/internationalization.html#available-catalogs HTH, -- 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.

Re: [Interest] Reason for omitted stream syntax of qFatal

2020-06-28 Thread Giuseppe D'Angelo via Interest
Il 28/06/20 19:05, Bernhard Lindner ha scritto: Can someone tell me why exactly qFatal does not provide the stream syntax that was implemented for qDebug and friends? No real reason. Cf. https://bugreports.qt.io/browse/QTBUG-8298 https://bugreports.qt.io/browse/QTBUG-38992 HTH, -- Giuseppe

Re: [Interest] Set manipulation in Qt 6

2020-06-21 Thread Giuseppe D'Angelo via Interest
told you about toSet(), and only told you about ranges::to, would you be upset by toSet()'s deprecation? 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

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

2020-06-20 Thread Giuseppe D'Angelo via Interest
ses some global that got already destroyed by the time your atexit handler runs. But Qt doesn't even guarantee that the usage in main() is OK (because there's no QCA around). My 2 c, -- Giuseppe D'Angelo | giuseppe.dang...@kdab.com | Senior Software Engineer KDAB (France) S.A.S., a

Re: [Interest] Set manipulation in Qt 6

2020-06-20 Thread Giuseppe D'Angelo via Interest
again, do you _need_ a QSet or would a QList output suffice? (Which brings me to my second crusade, try stop encouraging the usage of Qt containers, as their API is full of holes and doesn't play nice with algorithms or ranges. But it's enough for this mail.) HTH, -- Giuseppe D&#x

Re: [Interest] [Development] Windows 7 support will be, dropped in Qt 6

2020-06-18 Thread Giuseppe D'Angelo via Interest
I've refrained from commenting in so far, but I think we're now passing the threshold... could we please, everyone, STAY ON TOPIC on this mailing list? Thank you, -- Giuseppe D'Angelo | giuseppe.dang...@kdab.com | Senior Software Engineer KDAB (France) S.A.S., a KDAB Group comp

Re: [Interest] Customzie Qtablemodel and selectionmodel.

2020-06-17 Thread Giuseppe D'Angelo via Interest
ing. How is the model changed by scrolling, exactly? The issue with selection is that you need an valid index representing the last entry. So, you may lazy load the model data (based on views' requests), but the row count has to be accurate immediately. More than doable, anyhow. My 2

Re: [Interest] Connecting signal handler to Qt application - async-handler-safety

2020-06-16 Thread Giuseppe D'Angelo via Interest
other thread. But then again, threads+signals+libraries don't exactly mix well together... -- 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

Re: [Interest] Connecting signal handler to Qt application - async-handler-safety

2020-06-15 Thread Giuseppe D'Angelo via Interest
achieve the same without the burden of a custom signal handler. HTH, -- 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 smim

Re: [Interest] Getting QGraphicsView from within a mouse event

2020-06-15 Thread Giuseppe D'Angelo via Interest
u QGV you're looking for.) HTH, -- 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: Firm

Re: [Interest] Getting QGraphicsView from within a mouse event

2020-06-14 Thread Giuseppe D'Angelo via Interest
idget() will give you the viewport() of the view where the event originated, IIRC. HTH, -- 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: [Interest] GTk QPA?

2020-06-14 Thread Giuseppe D'Angelo via Interest
Il 14/06/20 12:08, René J.V. Bertin ha scritto: the issues I'm seeing What issues are we talking about? 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.kda

Re: [Interest] Handling of ~ paths

2020-06-11 Thread Giuseppe D'Angelo via Interest
, -- 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 Sign

Re: [Interest] how do I load massive table views instantly?

2020-06-05 Thread Giuseppe D'Angelo via Interest
check its source code) if you ask it to filter or sort. For 200k elements, I'd expect the source model itself to support filtering and sorting, without the need of a proxy in front of it. My 2 c, -- Giuseppe D'Angelo | giuseppe.dang...@kdab.com | Senior Software Engineer KDAB (France)

Re: [Interest] how do I load massive table views instantly?

2020-06-04 Thread Giuseppe D'Angelo via Interest
end, without waiting for all the unseen data to load? i know other apps do this... how is it done? What table view are you talking about, specifically? What did you try so far? -- Giuseppe D'Angelo | giuseppe.dang...@kdab.com | Senior Software Engineer KDAB (France) S.A.S., a KDAB Group c

Re: [Interest] Fail to compile qt4 on Ubuntu 20.04.

2020-05-17 Thread Giuseppe D'Angelo via Interest
to remove it. The actual error seems to be related to OpenSSL, which you should just disable via the respective configure switch (Qt 4 does not support OpenSSL 1.1). HTH, -- Giuseppe D'Angelo | giuseppe.dang...@kdab.com | Senior Software Engineer KDAB (France) S.A.S., a KDAB Group company T

Re: [Interest] unexpected result from QString::compare

2020-05-11 Thread Giuseppe D'Angelo via Interest
Il 11/05/20 10:23, Hamish Moffatt ha scritto: Q_GLOBAL_STATIC(QThreadStorage, defaultCollator) Why does it need an instance per thread? Because QCollator is reentrant, not thread-safe. HTH, -- Giuseppe D'Angelo | giuseppe.dang...@kdab.com | Senior Software Engineer KDAB (France) S.A.

Re: [Interest] Handling WM_QUIT messages when no window is shown

2020-05-07 Thread Giuseppe D'Angelo via Interest
this window HTH, -- 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 crittograf

Re: [Interest] Crash when signal fires

2020-04-21 Thread Giuseppe D'Angelo via Interest
27;t disconnect automatically and crash. The second will disconnect and not crash. More info: https://stackoverflow.com/a/27954502 2) ASAN, Valgrind and friends will help you locate the source of the crash if it's due to memory corruption. Use them. HTH, -- Giuseppe D'Angelo | giuseppe.d

Re: [Interest] QVariant compare operator

2020-04-20 Thread Giuseppe D'Angelo via Interest
signals the breakage. Any proposals for 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, http://www.kdab.com KDAB - The Qt, C++ and OpenGL Experts smime.p7

Re: [Interest] QVariant compare operator

2020-04-18 Thread Giuseppe D'Angelo via Interest
ing_ the behaviour before implementing it. 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 Descripti

Re: [Interest] Links in PDF printed from QTextDocument

2020-04-13 Thread Giuseppe D'Angelo via Interest
et me know. From a quick read of the code, on the other hand, looks like internal links are unsupported. Mind filing a bug report? 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 0

Re: [Interest] Links in PDF printed from QTextDocument

2020-04-11 Thread Giuseppe D'Angelo via Interest
This should "just work". Are the links correctly inserted in the document? Does it work if you use document->print() and print directly on a PDF? HTH, -- Giuseppe D'Angelo | giuseppe.dang...@kdab.com | Senior Software Engineer KDAB (France) S.A.S., a KDAB Group company Tel.

Re: [Interest] Qt Creator licensing for companies with Qt Commercial developers

2020-03-31 Thread Giuseppe D'Angelo via Interest
et the finished product back, slap it under Commercial Qt and enjoy the benefits of the commercial terms without having paid for it during the development. That's what the clause is protecting against. My 2 c, -- Giuseppe D'Angelo | giuseppe.dang...@kdab.com | Senior Software Enginee

Re: [Interest] Qt Creator licensing for companies with Qt Commercial developers

2020-03-31 Thread Giuseppe D'Angelo via Interest
f infringing the commercial license, because TQC is just not interested at chasing this case down? Thakns, -- 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

Re: [Interest] Qt Creator licensing for companies with Qt Commercial developers

2020-03-31 Thread Giuseppe D'Angelo via Interest
, developed using Creator. 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++ and OpenGL Experts smime.p7s Description:

  1   2   3   4   5   >