Em seg 12 maio 2014, às 15:30:39, Daniel Bowen escreveu: > 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 > } >
You can upload the patch directly to our change review system. See http://wiki.qt-project.org/Code_Reviews. > 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 Indeed. See https://codereview.qt-project.org/85118. Scheduled to be fixed for 5.4.0. We don't really maintain the feature system, since the combinations are just too many. So YMMV. If you have a quick fix for this, it can be added for 5.3.x. But you really want the change above, so Qt won't try to link to PCRE. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest