[Interest] Porting to Qt5/macx-xcode Mountain Lion
Thiago Macieira
thiago.macieira at intel.com
Fri Jan 25 04:14:45 CET 2013
On quinta-feira, 24 de janeiro de 2013 17.17.21, Joshua Grauman wrote:
> So looking at qtextcodec.cpp, there is quite a bit of conditionally
> compiled code. For example. if QT_USE_ICU is defined,
> QTextCodec::codecForName() calls QIcuCodec::codecForNameUnlocked(name)
> instead of looking it up itself, and the setup() function won't call
> (void)new QUtf8Codec; Presummably ICU would deal with that then, but maybe
> ICU only gets instantiated when QCoreApplication is called (or the other
> way around). But without being able to see what defines were on when
> Qt/Mac was compiled, that's going to be a tough one to track down. But my
> best guess would be to look at if QT_USE_ICU was defined in
> Linux/Mac/Windows when compiling the SDKs and maybe that would effect when
> QUtf8Codec gets instantiated...
$ DYLD_IMAGE_SUFFIX=_debug gdb yourapplication
Then debug into Qt code. I believe Creator has an option to set that option
too.
--
Thiago Macieira - thiago.macieira (AT) intel.com
Software Architect - Intel Open Source Technology Center
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20130124/661a77ca/attachment.sig>
More information about the Interest
mailing list