[Interest] Two candidate updates for 5.3.x

Daniel Bowen qtmailinglist1 at bowensite.com
Mon May 12 23:30:39 CEST 2014

In trying to reduce the size of Qt for an embedded environment, I've run
into a couple problems that would be best solved by updates to the source.
There was a comment that issues with 5.3.0 RC could be sent to the mailing
list here.

1. If -no-gui is specified, qtdiag tries to build, but encounters the error
	Project ERROR: Unknown module(s) in QT: gui-private gui
--> To fix, update qttools/src/src.pro, change
!android:!ios:!qnx:!wince*:!winrt*:SUBDIRS += qtdiag
qtHaveModule(gui) {
    !android:!ios:!qnx:!wince*:!winrt*:SUBDIRS += qtdiag

2. -no-feature-REGULAREXPRESSION does not work. For the following desktop
Linux (Ubuntu 12.04 and 14.04 x64) ./configure and make:

./configure -release -opensource -shared -largefile -confirm-license
-no-feature-REGULAREXPRESSION -verbose

The following error is encountered:
g++ -c -include .pch/Qt5Core -pipe -msse2 -mfpmath=sse -pthread
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -g -O3
-fvisibility=hidden -fvisibility-inlines-hidden -std=c++0x -Wall -W
-I../../mkspecs/linux-g++ -I. -I../../include -I../../include/QtCore
-I../../include/QtCore/5.3.0 -I../../include/QtCore/5.3.0/QtCore -Iglobal
-I../3rdparty/pcre -I../3rdparty/harfbuzz/src -I../3rdparty/md5
-I../3rdparty/md4 -I../3rdparty/sha3 -I.moc -o .obj/qregularexpression.o
tools/qregularexpression.cpp:761: error: incomplete type
'QRegularExpression' used in nested name specifier
tools/qregularexpression.cpp:762: error: expected ',' or ';' before '{'
tools/qregularexpression.cpp:786: error: redefinition of 'int
tools/qregularexpression.cpp:761: error: 'int convertToPcreOptions'
previously defined here
tools/qregularexpression.cpp:786: error: incomplete type
'QRegularExpression' used in nested name specifier
tools/qregularexpression.cpp:807: error: ISO C++ forbids declaration of
'QRegularExpressionMatchPrivate' with no type
tools/qregularexpression.cpp:807: error: expected ';' before '*' token
tools/qregularexpression.cpp:817: error: 'PatternOptions' in class
'QRegularExpression' does not name a type
tools/qregularexpression.cpp:845: error: 'QRegularExpression::MatchType' has
not been declared
tools/qregularexpression.cpp:846: error: 'QRegularExpression::MatchOptions'
has not been declared
tools/qregularexpression.cpp:851: error: field 'regularExpression' has
incomplete type
tools/qregularexpression.cpp:857: error: 'MatchType' in class
'QRegularExpression' does not name a type

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20140512/dc4645ee/attachment.html>

More information about the Interest mailing list