[Development] iOS, libpcre16, QString::trimmed_helper()

Thiago Macieira thiago.macieira at intel.com
Mon May 11 20:37:41 CEST 2015


On Monday 11 May 2015 15:26:45 Tim Blechmann wrote:
> >> I'm attempting to use libQt5Core with self compiled qt5.5 snapshot,
> >> which is a couple of weeks old.   The link fails, complaining about
> >> missing libpcre16.
> >> I believe that is not standard on iOS, at least it does not come up when
> >> looking for "Other Libs" pcre in XCode.   There does seem to be some
> >> version of libpcre for OSX.
> > 
> > libpcre is bundled with Qt. Can you check your config.summary for what it
> > decided to do for PCRE?
> 
> it is bundled, but not necessarily linked automatically. e.g. qt's cmake
> integration lacks the usage requirement for libpcre (compare QTBUG-38913)

Are you trying to use CMake to link to a static build of Qt?

I don't think anyone has ever tested that combination.

In order for it to work properly, CMake needs to parse the libQt5Core.prl file 
to get the full list of libraries that need to be linked to. This is a 
mandatory step and I don't think it does that.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center




More information about the Development mailing list