Re: [Interest] harfbuzz support?

2015-04-11 Thread Christoph Feck
On Sunday 12 April 2015 01:20:36 René J.V. Bertin wrote: > Hi, > > Qt can be built with or without support for text rendering using > harfbuzz. Harfbuzz is responsible for layout (positioning) of glyphs, not rendering them to bitmaps. ___ Interest mail

[Interest] harfbuzz support?

2015-04-11 Thread René J . V . Bertin
Hi, Qt can be built with or without support for text rendering using harfbuzz. Qt4 and Qt5 seem to differ slightly in this aspect, but from what I understand both can be made to use harfbuzz at runtime even when not compiled to use it (by default). I'd like to test this, as it would probably let t

Re: [Interest] dynamic_cast failing

2015-04-11 Thread Thiago Macieira
On Saturday 11 April 2015 21:50:53 René J.V. Bertin wrote: > Can that be something that behaves differently on different OSes, or using > different C++ runtimes (libstdc++ vs. libc++)? Runtime, no. But the OS is a factor. Remember OS X uses Mach-O, and since 10.4 or something it has used a two-l

Re: [Interest] dynamic_cast failing

2015-04-11 Thread René J . V . Bertin
On Saturday April 11 2015 10:43:14 Thiago Macieira wrote: > Make sure that all classes participating in this party check all these boxes: > * have an export macro in the class declaration That was the culprit. The dynamically-casted-to class (Okular::ViewerInterface in this case) didn't have an

Re: [Interest] dynamic_cast failing

2015-04-11 Thread René J . V . Bertin
On Saturday April 11 2015 10:43:14 Thiago Macieira wrote: > Without concrete code it's difficult to be sure, but the usual suspect in > this Right now I'm grappling with Okular (http://quickgit.kde.org/?p=okular.git&a=tree), but I've seen the same issue occur in other "KPart" based KDE applic

Re: [Interest] dynamic_cast failing

2015-04-11 Thread Thiago Macieira
On Saturday 11 April 2015 17:08:45 René J.V. Bertin wrote: > Hi, > > I have an issue with some KDE4 code (built against Qt 4.8.6) where a > dynamic_cast fails on OS X but not on Linux (be it with gcc or clang > 3.5). In a nutshell: > > class D: public class C, public class B, public class A; Wit

Re: [Interest] dynamic_cast failing

2015-04-11 Thread René J . V . Bertin
On Saturday April 11 2015 18:31:38 Nikos Chantziaras wrote: Thanks, >You might be hitting some undefined behavior. Do your classes have >virtual functions? If not, dynamic_cast can fail, as it's only supposed >to work with polymorphic classes. I'll have a look; it's not my own code, I'm just h

Re: [Interest] dynamic_cast failing

2015-04-11 Thread Nikos Chantziaras
On 11/04/15 18:08, René J.V. Bertin wrote: > Hi, > > I have an issue with some KDE4 code (built against Qt 4.8.6) where a > dynamic_cast fails on OS X but not on Linux (be it with gcc or clang > 3.5). You might be hitting some undefined behavior. Do your classes have virtual functions? If not, dy

[Interest] dynamic_cast failing

2015-04-11 Thread René J . V . Bertin
Hi, I have an issue with some KDE4 code (built against Qt 4.8.6) where a dynamic_cast fails on OS X but not on Linux (be it with gcc or clang 3.5). In a nutshell: class D: public class C, public class B, public class A; with C inheriting QObject (ultimately), the others being "root classes". The

Re: [Interest] Qt Creator 3.3.2 / Android Debug

2015-04-11 Thread mark diener
But I did find: http://stackoverflow.com/questions/26549312/running-debug-mode-in-qt-creator Sorry to generate noise on the list. I thought I had thoroughly searched google first before submitting question. But I typoed my search words and that knocked me off my path On Sat, Apr 11, 2015 a

Re: [Interest] Qt Creator 3.3.2 / Android Debug

2015-04-11 Thread mark diener
FYI: I added CONFIG += debug to my pro file to no avail. http://stackoverflow.com/questions/19562522/debugging-android-app-on-target-in-qtcreator On Sat, Apr 11, 2015 at 7:01 AM, mark diener wrote: > Hello: > > > When running a debug session android, during build and deploy, Qt creator > is po

[Interest] Qt Creator 3.3.2 / Android Debug

2015-04-11 Thread mark diener
Hello: When running a debug session android, during build and deploy, Qt creator is popping up with 2 or 3 modeless dialog boxes that say: This does not seem to be a "Debug" build. Setting breakpoints by file name and line number may fail. Section .debug_info: Not found. Section .debug_abb

[Interest] QML prefix not usable with Loader.source

2015-04-11 Thread m...@rpzdesign.com
Hello Qt'ers: Using Qt 5.4.1 on Mac OSX Yosemite Loader.source works with prefixes in QmlScene 2 tool. But a compiled and debugged project cannot have QML files anywhere but in the / directory. The QML debugger simply puts: File not found error message. I have tried many numerous variations o