Skip to contentSkip to conversation

qt5: Need pcre with UTF support

PATCH New Jérôme Pouiller 2 participants 2 messages Jul 16, 2014 – Jul 27, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 qt5: Need pcre with UTF support

Enabling PCRE16 is not enough for Qt5. PCREUTF is also necessary, else Qt5 may complain with this kind of (non fatal) message:
QRegularExpressionPrivate::doMatch(): called on an invalid QRegularExpression object

---
 package/qt5/qt5base/Config.in | 1 +
 1 file changed, 1 insertion(+)
package/qt5/qt5base/Config.in +1 -0
index 632711c..9f3d27c 100644
@@ -3,6 +3,7 @@ config BR2_PACKAGE_QT5BASE
 	select BR2_PACKAGE_ZLIB
 	select BR2_PACKAGE_PCRE
 	select BR2_PACKAGE_PCRE_16
+	select BR2_PACKAGE_PCRE_UTF
 	help
 	  Qt is a cross-platform application and UI framework for
 	  developers using C++.
Signature · 1 line
2.0.1
#1 lore raw

PATCH 1/1 qt5: Need pcre with UTF support

Dear J?r?me Pouiller,

Quoted 8 lines · J?r?me Pouiller

Enabling PCRE16 is not enough for Qt5. PCREUTF is also necessary, else Qt5 may complain with this kind of (non fatal) message:
QRegularExpressionPrivate::doMatch(): called on an invalid QRegularExpression object

---
 package/qt5/qt5base/Config.in | 1 +
 1 file changed, 1 insertion(+)

Applied, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com