[Development] About pcre in qt5

tasuku.suzuki at nokia.com tasuku.suzuki at nokia.com
Tue Jun 12 07:21:11 CEST 2012


On 2012/06/12, at 4:20, ext Giuseppe D'Angelo wrote:

> On 11 June 2012 09:21, João Abecasis <joao.abecasis at nokia.com> wrote:
>> Giuseppe D'Angelo wrote:
>>> On 11 June 2012 00:49,  <tasuku.suzuki at nokia.com> wrote:
>>>> Disabling PCRE makes sense for me. As we have QT_NO_REGEXP already, add it to feature list and fix the build.
>>> 
>>> To be ultra pedantic, perhaps QT_NO_REGEXP should be renamed into
>>> samething like QT_NO_REGULAREXPRESSION for selectively disabling
>>> PCRE+QRegularExpression (butkeeping QRegExp)?
>> 
>> I'm not sure we should allow QRegExp to be used when there is no QRegularExpression, as we want code to move over to using QRegularExpression, not the other way around.
> 
> Sure -- I was purely talking in terms of "individual features" to
> compile in: QRegExp and QRegularExpression are independent and
> therefore could be individually disabled…

Yeah, I was wrong. We should have QT_NO_REGULAREXPRESSION for PCRE + QRegularExpression. QRegExp should be disabled by QT_NO_REGEXP or QT_NO_DEPRECATED if it will be marked as deprecated.
--
Tasuku Suzuki




More information about the Development mailing list