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

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to