PDA

View Full Version : Qt 4 w/Intel C++ 10.1 on Mac OS X



spyder482
25th February 2008, 20:31
Has anyone tried compiling Qt 4.3.x with the Intel compiler on OS X?

When I tried compiling my application with qmake -spec macx-icc against the libraries built with gcc, icpc doesn't like the Qt libraries that were built with gcc...gives unfound symbols for every Qt function used.

I then tried to compile Qt with ICC using './configure -platform macx-icc' and I get undefined identifiers in some CarbonCore headers...




/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MachineExceptions.h(286): error: type "ExceptionHandlerProcPtr" may not be initialized
typedef CALLBACK_API_C( OSStatus , ExceptionHandlerProcPtr )(ExceptionInformation * theException);
^

/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MachineExceptions.h(286): error: identifier "ExceptionInformation" is undefined
typedef CALLBACK_API_C( OSStatus , ExceptionHandlerProcPtr )(ExceptionInformation * theException);
^

/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MachineExceptions.h(286): error: identifier "theException" is undefined
typedef CALLBACK_API_C( OSStatus , ExceptionHandlerProcPtr )(ExceptionInformation * theException);
^

/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MachineExceptions.h(320): error: expected a ")"
ExceptionInformation * theException,
^

/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/fp.h(1338): error: identifier "SIGDIGLEN" is undefined
unsigned char text[SIGDIGLEN]; /* significant digits */
^

jacek
27th February 2008, 20:06
According to the README file, macx-icc isn't supported by Qt.