[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
	to
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
make

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
-D_REENTRANT -fPIC -DQT_NO_MTDEV -DQT_NO_LIBUDEV -DQT_NO_USING_NAMESPACE
-DQT_BUILD_CORE_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII
-DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER
-DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x050000
-DELF_INTERPRETER=\"/lib/ld-linux.so.2\" -DPCRE_HAVE_CONFIG_H -DQT_CORE_LIB
-D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG
-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
tools/qregularexpression.cpp:761: error: incomplete type
'QRegularExpression' used in nested name specifier
tools/qregularexpression.cpp:762: error: expected ',' or ';' before '{'
token
tools/qregularexpression.cpp:786: error: redefinition of 'int
convertToPcreOptions'
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
..


Thanks,
-Daniel
-------------- 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