[Development] Info request for DEFINES in QtCreator

Francesc Martinez francescmm at gmail.com
Thu Aug 6 13:26:08 CEST 2020


Thanks!

El jue., 6 ago. 2020 a las 12:02, <development-request at qt-project.org>
escribió:

> Send Development mailing list submissions to
>         development at qt-project.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         https://lists.qt-project.org/listinfo/development
> or, via email, send a message with subject or body 'help' to
>         development-request at qt-project.org
>
> You can reach the person managing the list at
>         development-owner at qt-project.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Development digest..."
> Today's Topics:
>
>    1. Re: Info request for DEFINES in QtCreator (Robert Löhning)
>
>
>
> ---------- Forwarded message ----------
> From: "Robert Löhning" <robert.loehning at qt.io>
> To: development at qt-project.org
> Cc:
> Bcc:
> Date: Thu, 6 Aug 2020 11:58:39 +0200
> Subject: Re: [Development] Info request for DEFINES in QtCreator
> Am 31.07.20 um 22:41 schrieb Francesc Martinez:
> > Hi,
> >
> > I'm having some troubles with implicit conversions every time I have to
> > build my plugin (https://github.com/francescmm/GitQlientPlugin) but
> until
> > now I didn't bother to see why. I've been just fixing the issues (mainly
> > casts to QString).
> >
> > Looking for the reasons I've noticed that there are some defines in the
> > *qtcreator.pri*.
> >
> > I'm pretty sure that there is a reason and I don't mind at all if I have
> to
> > fix my issues. What I wonder is if you could explain to me or document
> > somewhere why they are there so I can check if I need them as well in my
> > app.
> >
> > I guess that the following two are present to avoid encoding problems:
> >
> >
> >    - QT_NO_CAST_TO_ASCII
> >    - QT_RESTRICTED_CAST_FROM_ASCII
> >
> >
> > But I really don't know the reason for the following ones:
> >
> >
> >    - QT_NO_JAVA_STYLE_ITERATORS
> >    - QT_USE_FAST_OPERATOR_PLUS
> >    - QT_USE_FAST_CONCATENATION
> >
> >
> > In addition to those, I wonder why "QT_USE_QSTRINGBUILDER" is not
> > added in that group.
> >
> >
> > Thanks for the help!
> >
> >
> > Francesc.
> >
>
> Hello Francesc,
>
> while some of the developers of Qt Creator are also subscribed to this
> list, you might get an answer sooner if you ask on Creator's mailing list:
> qt-creator at qt-project.org
>
> Cheers,
> Robert
>
> _______________________________________________
> Development mailing list
> Development at qt-project.org
> https://lists.qt-project.org/listinfo/development
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20200806/7a798aac/attachment.html>


More information about the Development mailing list