Re: [Development] Build system for Qt 6

2018-10-29 Thread Corentin
Having had the pleasure to use QBS quite extensively (and successfully) in the past, I would like to thank the QBS team and contributors for showing us what a sane, modern build system could look like. So long! On Mon, 29 Oct 2018 at 13:17 Lars Knoll wrote: > Hi all, > > As you will probably

Re: [Development] How to include Standard Library headers from Qt ones?

2017-04-16 Thread Corentin
I think that part of the issue is that the way the STL should be treated is a bit of a polarizing issue. Of course, there are technical considerations, such as some STL implementations being lacking on older platforms, but mostly Qt and the STL have some overlaps, and people can't agree on how to

Re: [Development] QHash iteration vs std::unordered_map

2017-04-16 Thread Corentin
Funny, a friend at kdab asked me about that exact question a few minutes ago. The reason for the difference is most certainly an historical one ( and can't be changed because it would break quite a bit of code ). If you want the same behavior, you can create a proxy for your associative container

Re: [Development] RFC: Containers member functions for algorithm

2017-03-24 Thread Corentin
Is std::algo(std::begin(container), std::end(container) ... ) troublesome enough that it warrants a wrapper ? I have a few concerns: * There is a large momentum behind the range proposal, and, if it wont be in the standard before 2-4 years, I would expect the TS to be usable long before that.

Re: [Development] syncqt.pl in C++

2017-03-10 Thread Corentin
JSC is pretty slow to build compared to V4. I think It's an inconvenient. And it would negate the efforts to get rid out of QtScript/JSC in Qt. It may be wishful thinking, but it would be great if QBS and Qml could use the exact same engine that would only be build once. Le mer. 8 mars 2017 à

Re: [Development] syncqt.pl in C++

2017-03-07 Thread Corentin
For what it's worth, as a Qt user, QBS was, last time I checked missing some features, like non-transitive compilatuons flags, platform support and documentation. That being said, in the past few years, I wrote some makefiles, some cmake projects. I've used WAF, qmake... QBS is the best C++

Re: [Development] The missing pieces of QJSEngine

2016-05-29 Thread Corentin
WIP patch to add QJSEngine::newQMetaObject https://codereview.qt-project.org/160759 Le sam. 28 mai 2016 à 11:42, Corentin <corentin.ja...@gmail.com> a écrit : > Hello. > I'm once again trying to cut dependencies on Qt Script. > > QJSEngine still lacks some

[Development] The missing pieces of QJSEngine

2016-05-28 Thread Corentin
? - If not, is there an interest for these api ? [1] https://developer.mozilla.org/en-US/docs/Mozilla/Projects/Necko/Proxy_Auto-Configuration_(PAC)_file Regards, Corentin ___ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman

Re: [Development] What kind of airplane we want to build?

2016-01-20 Thread Corentin Jabot
First of, it should be ensured future planes fit on the tarmac and that people now how to fly these things. Major breakage are a huge pain. Unavoidable minor breakage are painful enough, we always seem to underestimate the cost of any stack change. The plane metaphor still holds. You need to

Re: [Development] High-DPI 5.6 beta update

2015-12-17 Thread Corentin Jabot
Having stumbled upon this issue very recently, here are my 2 cents. - Svg images should be devicePixelRatio aware without having to set a source size - Likewise, QQuickImageProvider should know about devicePixelRation, without having to set a source size. - I would absolutely love

Re: [Development] Deprecating modules with 5.5

2015-03-18 Thread Corentin Jabot
2015-03-18 11:00 GMT+01:00 Simon Hausmann simon.hausm...@theqtcompany.com: On Tuesday 17. March 2015 15.04.19 Corentin Jabot wrote: Regarding QJSEngine, some things are unclear to me. Let's say I have a QObject-derived class. how do I create an instance of that class from a script

Re: [Development] Deprecating modules with 5.5

2015-03-17 Thread Corentin Jabot
... worrisome I think QJSEngine should aim to be compatible with any script that worked with QScriptEngine (provided the C++ code is modified accordingly) Regards, Corentin Jabot 2015-02-10 4:30 GMT+01:00 Thiago Macieira thiago.macie...@intel.com: On Monday 09 February 2015 22:52:34 Kevin Kofler

Re: [Development] Cake and eating it too for qDebug printing to system log - https://codereview.qt-project.org/89357

2014-07-11 Thread Corentin Jabot
Looks like there are many different uses cases and point of views, we may not reach an agreement. I agree that the default settings should be as unified as possible, but, on the other and, each platform having different capabilities, it make sense to set the default behavior on a

Re: [Development] Cake and eating it too for qDebug printing to system log - https://codereview.qt-project.org/89357

2014-07-09 Thread Corentin Jabot
: I don't expect end-users to know how access those logs, even less to provide the developers with them when something goes wrong. Corentin 2014-07-10 1:20 GMT+02:00 Thiago Macieira thiago.macie...@intel.com: On Wednesday 09 July 2014 14:43:36 Thiago Macieira wrote: Current Linux desktops

Re: [Development] [Feature] Q_INFO: Annotations for classes, methods, properties and enums

2013-09-11 Thread Corentin Jabot
several items Corentin ___ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development

Re: [Development] White space / coding style patches welcome?

2013-03-12 Thread Corentin Jabot
2013/3/12 Oswald Buddenhagen oswald.buddenha...@digia.com: somebody attempted this just a few days ago, but gave up when the scope of the undertaking became clear. i can't find the change now ... https://codereview.qt-project.org/#change,48150 I indeed gave up, or at least I was trying to

Re: [Development] Evolving Qt's multithreading API

2013-03-04 Thread Corentin Jabot
. That would truly be event-driven C++! Yeah, that is a very unfortunate artifact of the way Qt implements signals and slots. However, it is what it is... Would that even be possible ? It sure would be nice Corentin ___ Development mailing list Development

Re: [Development] Evolving Qt's multithreading API

2013-02-22 Thread Corentin Jabot
returning QThread* : what about the function return value ? That should be accessible, easily. It's one of the reason I prefer QFuture over QThread* Regards, Corentin ___ Development mailing list Development@qt-project.org http://lists.qt-project.org

Re: [Development] Evolving Qt's multithreading API

2013-02-22 Thread Corentin Jabot
requiered signals/slots) - QFutureT or is there something I'm not seeing ? Of course now its too late, but we could introduce something new, like QFutureObject ? Corentin ___ Development mailing list Development@qt-project.org http://lists.qt-project.org

Re: [Development] Evolving Qt's multithreading API

2013-02-20 Thread Corentin Jabot
, I'm not sure we would benefit from a function - the only factorizable part is QThread* t = new QThread(); obj-moveToThread(t); connect(t, SIGNAL(finished()), t, SLOT(deleteLater())); Maybe we should first agree on how QThread sould work before trying to add yet-another-way. Regards, Corentin

Re: [Development] Common base class for all socket types

2012-11-08 Thread Corentin Jabot
I agree with d3fault/oswald. Adding some setters/properties for the connection parameters of QLocalSocket/QAbstractSocket and a generic connect method would make the api somehow more usable. Maybe a connectToHost() method - connectToPeer may be a little less generic. QLocalSocket and

Re: [Development] Common base class for all socket types

2012-11-06 Thread Corentin Jabot
error ( QAbstractSocket::SocketError socketError ) void stateChanged ( QAbstractSocket::SocketState socketState ) I dont see how the connectTo* methods could be shared, and I don't think it would be a good idea to try to do so. Regards, Corentin. 2012/11/6 Thiago Macieira thiago.macie...@intel.com

Re: [Development] Common base class for all socket types

2012-11-06 Thread Corentin Jabot
2012/11/7 Thiago Macieira thiago.macie...@intel.com: On quarta-feira, 7 de novembro de 2012 00.07.41, Corentin Jabot wrote: The following seems like a good subset of the QAbstractSocket interfaces that also makes sense for QLocalSocket I don't want you to list functions that are common. I can

Re: [Development] Proposal: Remove QML from Qt's code base (OR: Should it be a requirement that Qt Modules are interoperable?)

2012-07-04 Thread Corentin Jabot
become quite unmanageable and slow the evolution of QML Corentin ___ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development

Re: [Development] Quick2 and Directx11 backend (Angle)

2012-05-20 Thread Corentin Jabot
Hi. It just happen I worked on the ANGLE integration few weeks ago. ANGLE offer an OpenGL-ES 2.0 api on top of DirectX 9. I manage to get Qt compiling with ANGLE and some (one actually) examples are working. But, for the the others example, I just got a black surface or crashes. Sadly, I do not

Re: [Development] Quick2 and Directx11 backend (Angle)

2012-05-20 Thread Corentin Jabot
So, There is the patch. * First, checkout and build ANGLE as explain here http://code.google.com/p/angleproject/wiki/DevSetup ( require directx sdk visual studio ) * Then, edit qtbase/mkspecs/features/win32/opengl.prf and change the include and library path of angle ( or just build angle in

[Development] Dynamic QtServiceFramework backend.

2012-05-02 Thread Corentin Jabot
to work on a patch. Like it seems a little late for 5.0, it could be add in 5.1. What do you think ? Corentin Jabot, Software Developer at Ankama, France. ___ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman

Re: [Development] Dynamic QtServiceFramework backend.

2012-05-02 Thread Corentin Jabot
- but perhaps the other way around would have made more sens The change should be both binary and source compatible. Also, as it my first contribution to Qt I'm not so sure about the naming rules Corentin Jabot. ___ Development mailing list Development@qt