10-22-2013 06:48 PM
Has anyone succeeded in getting the PCRE library running with a BB10 app? I don't really know where to start.
QRegExp is just too limited and I can't wait for QRegularExpression from Qt5.0 to get integrated with BlackBerry 10.
10-23-2013 09:08 AM - edited 10-23-2013 09:09 AM
That seems a bit old. Just did a quick check, the latest version from http://www.pcre.org/ build just fine with the BB10 SDK, doing the configure & make dance, under linux that is. If you use windows, then I don't know what to do. Anyway, the quick guide below to download and build:
tar jxvf pcre-8.33.tar.bz2
After that you should have everything you need, ready to go. Libraries are in .libs (for example, you can cpoy the static .a libraries to your project and link staticaly) and headers you should find in the source tree. Consult the pcre documentation on what headers you need. You should be able to also build with prefix pointing to the sdk, so make install would then install everything so other projects can find it.