Re: [Development] Use QT_DEPRECATED_SINCE macro for specific enum values

2015-08-12 Thread Denis Shienkov
Ok, many thanks, Thiago. It was that I want to know. 13.08.2015 0:06, Thiago Macieira пишет: > On Wednesday 12 August 2015 22:12:43 Denis Shienkov wrote: >> So, my question is: how to deprecate the specific enum value with a >> right way for all compilers/platforms? > Don't do it. There's no porta

Re: [Development] QtWebEngine unbundled of third-party libraries on Linux

2015-08-12 Thread Lisandro Damián Nicanor Pérez Meyer
On Tuesday 11 August 2015 23:17:31 Allan Sandfeld Jensen wrote: > Hello Qt > > QtWebEngine and Chromium in the Qt 5.6 branch have been patched to allow > linking with system libraries on Linux instead of bundled libraries. For > most libraries the system library will be used if development files a

Re: [Development] Use QT_DEPRECATED_SINCE macro for specific enum values

2015-08-12 Thread Thiago Macieira
On Wednesday 12 August 2015 22:12:43 Denis Shienkov wrote: > So, my question is: how to deprecate the specific enum value with a > right way for all compilers/platforms? Don't do it. There's no portable way yet. Maybe in a year or two we can introduce a macro for it. -- Thiago Macieira - thiago

Re: [Development] Use QT_DEPRECATED_SINCE macro for specific enum values

2015-08-12 Thread Denis Shienkov
> If you remove C due to the macro, then D is now equal to 3 from incrementing its value based off of B's value instead of C. Yes, I know it... But I talk not about it.. I talk about using QT_DEPRECATED_SINCE in common case, according to enum values. What if I need to deprecate the specific v

Re: [Development] Use QT_DEPRECATED_SINCE macro for specific enum values

2015-08-12 Thread André Somers
> Op 12 aug. 2015 om 19:52 heeft Keith Gardner het > volgende geschreven: > > > >> On Wed, Aug 12, 2015 at 11:54 AM Denis Shienkov >> wrote: >> > skips three making Four == 3. >> >> yes, and what? :) >> >> >> > This obviously needs to be: >> > Four = 4 >> >> Ok, seems it was a bad exam

Re: [Development] Use QT_DEPRECATED_SINCE macro for specific enum values

2015-08-12 Thread Keith Gardner
On Wed, Aug 12, 2015 at 11:54 AM Denis Shienkov wrote: > > skips three making Four == 3. > > yes, and what? :) > > > > This obviously needs to be: > > Four = 4 > > Ok, seems it was a bad example with One-Four.. Let's consider another > abstract example: > > enum Foo { > A, > B, > #if QT_

Re: [Development] Use QT_DEPRECATED_SINCE macro for specific enum values

2015-08-12 Thread Denis Shienkov
> skips three making Four == 3. yes, and what? :) > This obviously needs to be: > Four = 4 Ok, seems it was a bad example with One-Four.. Let's consider another abstract example: enum Foo { A, B, #if QT_DEPRECATED_SINCE(5, 2) C, #endif D }; 2015-08-12 18:49 GMT+03:00 Poch

Re: [Development] Use QT_DEPRECATED_SINCE macro for specific enum values

2015-08-12 Thread Pocheptsov Timur
Though I did not notice that your 'One' is actually 0. From: development-bounces+timur.pocheptsov=theqtcompany@qt-project.org on behalf of Denis Shienkov Sent: Wednesday, August 12, 2015 5:45 PM Cc: development@qt-project.org Subject: Re: [Development] Use

Re: [Development] Use QT_DEPRECATED_SINCE macro for specific enum values

2015-08-12 Thread Pocheptsov Timur
> #if QT_DEPRECATED_SINCE(5, 2) > Three, > #endif skips three making Four == 3. From: development-bounces+timur.pocheptsov=theqtcompany@qt-project.org on behalf of Denis Shienkov Sent: Wednesday, August 12, 2015 5:45 PM Cc: development@qt-project.org

Re: [Development] Use QT_DEPRECATED_SINCE macro for specific enum values

2015-08-12 Thread Denis Shienkov
> This obviously needs to be: >Four = 4 Sorry? 2015-08-12 17:37 GMT+03:00 Thiago Macieira : > On Wednesday 12 August 2015 15:36:22 Denis Shienkov wrote: > > Hi All. > > > > Is it possible to use QT_DEPRECATED_SINCE macro for the specific enum > > values? And, is any restrictions related

Re: [Development] Use QT_DEPRECATED_SINCE macro for specific enum values

2015-08-12 Thread Thiago Macieira
On Wednesday 12 August 2015 15:36:22 Denis Shienkov wrote: > Hi All. > > Is it possible to use QT_DEPRECATED_SINCE macro for the specific enum > values? And, is any restrictions related to the different compilers? > > enum Numbers { > One, > Two, > #if QT_DEPRECATED_SINCE(5, 2) > Thre

Re: [Development] New Module Request: QtGeniviExtras

2015-08-12 Thread Thiago Macieira
On Wednesday 12 August 2015 14:26:26 Robert Griebl wrote: > >> Every LoggingCategory (In DLT it's called Context) needs to have a 3 > >> characters long unique identifier and a Description. > > > > Stupid API limitation. Can you convince GENIVI to get rid of the > > 3-character identifier requirem

[Development] Fwd: Use QT_DEPRECATED_SINCE macro for specific enum values

2015-08-12 Thread Denis Shienkov
> See http://code.woboq.org/qt5/qtbase/src/network/ssl/qssl.h.html#75 Yes, I saw it (I found about two mentions of QT_DEPRECATED_SINCE, related to enum values in qtbase sources). > Note that qdoc doesn't like it much. So, this is too small because the qdoc does not like it? :) BR, Denis 2015

Re: [Development] Use QT_DEPRECATED_SINCE macro for specific enum values

2015-08-12 Thread Richard Moore
See http://code.woboq.org/qt5/qtbase/src/network/ssl/qssl.h.html#75 Note that qdoc doesn't like it much. Rich. On 12 August 2015 at 13:36, Denis Shienkov wrote: > Hi All. > > Is it possible to use QT_DEPRECATED_SINCE macro for the specific enum > values? And, is any restrictions related to the

[Development] Use QT_DEPRECATED_SINCE macro for specific enum values

2015-08-12 Thread Denis Shienkov
Hi All. Is it possible to use QT_DEPRECATED_SINCE macro for the specific enum values? And, is any restrictions related to the different compilers? enum Numbers { One, Two, #if QT_DEPRECATED_SINCE(5, 2) Three, #endif Four }; BR, Denis __

Re: [Development] New Module Request: QtGeniviExtras

2015-08-12 Thread Robert Griebl
On 12.08.2015 13:32, Thiago Macieira wrote: > On Wednesday 12 August 2015 09:55:14 Dominik Holland wrote: >> Every Process which wants to log using DLT needs to provide information >> about it's Application, this needs to be a 4 characters long unique >> identifier and a Description for it. > > Sou

Re: [Development] New Module Request: QtGeniviExtras

2015-08-12 Thread Thiago Macieira
On Wednesday 12 August 2015 09:55:14 Dominik Holland wrote: > > But I can't give a +1 right now for the API you have of DLT. That looks > > like something Qt should automatically be doing. Have you explored that > > possibility? Can you explain why it shouldn't / couldn't be done like > > that? > I

Re: [Development] QtWebEngine unbundled of third-party libraries on Linux

2015-08-12 Thread Allan Sandfeld Jensen
On Wednesday 12 August 2015, Robert Knight wrote: > > QtWebEngine and Chromium in the Qt 5.6 branch have been patched to > > allow linking with system libraries on Linux instead of bundled > > libraries. > > What upstream changes have the Chromium team made to the bundled libraries > compared to t

Re: [Development] QString behavior change

2015-08-12 Thread Shaw Andy
> > > What are the chances that such a change can be accepted ? (i mean, i can > > > submit such a patch, but that would mean breaking a *lot* of code). > > > > QOptional does not exist yet and for very good reasons. > > > > QVariant is already in use, so I don't think you'd be sending a patch to u

Re: [Development] New Module Request: QtGeniviExtras

2015-08-12 Thread Dominik Holland
On 08/11/2015 05:51 PM, Thiago Macieira wrote: > On Tuesday 11 August 2015 09:59:19 Dominik Holland wrote: >> Hi, >> >> i would like to request a new qt module repository for QtGeniviExtras. >> >> The current code can be found here: >> https://github.com/Pelagicore/qtgeniviextras >> >> The goal o

Re: [Development] QString behavior change

2015-08-12 Thread Julien Blanc
Le mardi 11 août 2015 à 10:10 -0700, Thiago Macieira a écrit : > On Tuesday 11 August 2015 18:45:10 Julien Blanc wrote: > > Le mardi 11 août 2015 à 08:46 -0700, Thiago Macieira a écrit : > > > On Tuesday 11 August 2015 10:38:27 Julien Blanc wrote: > > > > That point is certainly valid, but i would