[RQt-devel] Problems building smoke generator on OSX 64-bit

Justin Talbot justintalbot at gmail.com
Wed Nov 18 21:19:33 CET 2009


I was able to get through some of the build issues by following the
instructions here:
http://lists.kde.org/?l=kde-bindings&m=125542810609973&w=2. In the
follow up discussion Arno said that he would add the changes to the
kde-bindings repository, but I don't see them yet. Perhaps they'll
come through soon.

In addition I get problems on 64-bit OSX due to the fact that the
smoke generator does not account for compiler macro definitions. The
QT headers use the compiler-defined __LP64__ macro to conditionally
compile 32-bit vs. 64-bit functions for the Mac. When smoke parses the
files it doesn't account for this definition so it generates code
stubs for the 32-bit functions which don't exist in my build and I get
linker errors.

Is there a good way to tell the smoke parser to define additional
macros? Perhaps in its configuration file?

Justin


More information about the Qtinterfaces-devel mailing list