Re: [Development] [Interest] Issues with latest Qt MaintenanceTool and Kaspersky

2022-05-04 Thread Julien Cugnière
exit). I find it simpler, and much less likely to trigger an antivirus than a vbs file :) -- Julien Cugnière ___ Development mailing list Development@qt-project.org https://lists.qt-project.org/listinfo/development

Re: [Development] Important recent changes in QList/QString/QByteArray

2020-09-09 Thread Julien Cugnière
Le mer. 9 sept. 2020 à 15:38, Andrei Golubev a écrit : > > I don't understand what this means. Am I supposed to reserve a > container to its current size before erasing elements > from it, if I don't want the erase to shrink it? > > Yes. For what it's worth, as a user, I think this would violate

Re: [Development] A modest proposal: disable lower-case keywords (emit, foreach, forever, signals, slots) by default

2020-02-21 Thread Julien Cugnière
Le ven. 21 févr. 2020 à 12:29, Giuseppe D'Angelo via Development a écrit : > > Il 21/02/20 12:15, Ville Voutilainen ha scritto: > >> without any annotation is not what we want. We'd miss vital information > >> and reduce readability. > > Can you please explain what that vital information is? > >

Re: [Development] Property bindings in Qt 6

2019-09-26 Thread Julien Cugnière
luation: how does this interact with the "onPropertyChanged" signal? In QML, one sometimes sees code like : onFullnameChanged: { console.log("the fullname changed!"); foo.bar(); } At first glance, this doesn't seem compatible wi

Re: [Development] What's the status of a moved-from object?

2019-05-21 Thread Julien Cugnière
ebug() << v.size(); // crash QString s; qDebug() << s.indexOf("foo"); // crash What about std::string and std::vector ? -- Julien Cugnière ___ Development mailing list Development@qt-project.org https://lists.qt-project.org/listinfo/development

Re: [Development] Go's "defer" statement for C++/Qt

2019-03-07 Thread Julien Cugnière
7 in > > the config this doesn't build for me, even though I don’t use auto in the > > template paramter list). > > > > > > Cheers, > > Volker > > > > > > [1] which was requested to be made public in > > https://bugreports.qt.io/browse/QTBUG-38575 Julien Cugnière ___ Development mailing list Development@qt-project.org https://lists.qt-project.org/listinfo/development

Re: [Development] Allowing event delivery prior to and after QCoreApplication

2015-04-16 Thread Julien Cugnière
2015-04-16 1:30 GMT+02:00 Thiago Macieira : > My idea is to provide you with the ability to: > - decide whether to catch or not > - supply a handler that will be called if an exception is caught > - decide whether a caught exception resumes execution or aborts the >application (after your ha

Re: [Development] Allowing event delivery prior to and after QCoreApplication

2015-04-15 Thread Julien Cugnière
hich > means they may call your notify() during the destructor, including just after > it finished and ~QApplication began. It's a background service, so not really. But I suppose sooner or later we'll run into problems if some other part of Qt starts to use threads. By the way,

Re: [Development] Allowing event delivery prior to and after QCoreApplication

2015-04-15 Thread Julien Cugnière
2015-04-14 20:39 GMT+02:00 Thiago Macieira : > > We removed the try/catch and replaced with stack objects that will unwind > properly. If you're lucky, an exception will simply unwind QCoreApplication > out of exec(), so a try/catch around exec() may work. > > But this is untested and unsupported.

Re: [Development] Allowing event delivery prior to and after QCoreApplication

2015-04-14 Thread Julien Cugnière
pplication object when this behavior is required ? Julien Cugnière ___ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development