[Interest] Error when compiling Qt 5.5.0 beta for Max OS X 10.8

Calogero Mauceri mauceri at actgate.com
Tue May 19 10:50:36 CEST 2015


Hi all,

I'm trying to compile Qt 5.5.0 beta for Mac OS X 10.8, on Mac OS X 10.10.
This is the configuration line I'm using.

./configure -prefix /Developer/libs/qt-5.5.0_beta -qt-zlib -qt-libpng 
-qt-libjpeg -nomake tests -nomake examples -platform macx-clang-32 
-opensource -confirm-license -sdk macosx10.8

The compilation stops with the following error

[...]
cd testlib/ && ( test -e Makefile || 
/Users/mauceri/work/dev/libs/qt-everywhere- 
opensource-src-5.5.0-beta/qtbase/bin/qmake 
/Users/mauceri/work/dev/libs/qt-every 
where-opensource-src-5.5.0-beta/qtbase/src/testlib/testlib.pro -o 
Makefile ) && /Applications/Xcode.app/Contents/Developer/usr/bin/make -f 
Makefile
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f 
Makefile.Debug all
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/u 
sr/bin/clang -c -pipe -arch i386 -isysroot 
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk 
-mmacosx-version-min=10.7 
-F/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/D 
eveloper/Library/Frameworks -g -fvisibility=hidden 
-fvisibility-inlines-hidden - std=c++11 -stdlib=libc++ -Wall -W 
-DQT_NO_MTDEV -DQT_NO_LIBUDEV -DQT_NO_EVDEV -DQT_NO_TSLIB 
-DQT_NO_LIBINPUT -DQT_NO_CAST_TO_ASCII -DQT_NO_CAST_FROM_ASCII -DQT_ 
NO_DATASTREAM -DHAVE_XCTEST -DQT_BUILD_TESTLIB_LIB -DQT_BUILDING_QT 
-DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER 
-DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 
-D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE  -DQT_CORE_LIB -I. 
-I../../include -I../../include/QtTest -I../../include/QtTest/5.5.0 
-I../../include/QtTest/5.5.0/QtTest -I../../lib/QtCore.framework/Headers 
-I../../lib/QtCore.framework/Headers/5.5.0 
-I../../lib/QtCore.framework/Headers/5.5.0/QtCore -I.moc/debug 
-I../../mkspecs/macx-clang-32 
-F/Users/mauceri/work/dev/libs/qt-everywhere-opensource-src-5.5.0-beta/qtbase/lib 
qxctestlogger.mm -o .obj/debug/qxctestlogger.o
qxctestlogger.mm:129:27: error: property 'description' not found on 
object of
       type 'id'
             [NSDate date].description.UTF8String);
                           ^

qxctestlogger.mm:250:17: warning: property 'testObjectName' requires method
       'testObjectName' to be defined - use @synthesize, @dynamic or 
provide a
       method implementation in this class implementation
       [-Wobjc-property-implementation]
@implementation QtTestLibTest
                 ^
qxctestlogger.mm:75:41: note: property declared here
@property (nonatomic, retain) NSString* testObjectName;
                                         ^
qxctestlogger.mm:250:17: warning: property 'testObjectName' requires method
       'setTestObjectName:' to be defined - use @synthesize, @dynamic or 
provide
       a method implementation in this class implementation
       [-Wobjc-property-implementation]
@implementation QtTestLibTest
                 ^
qxctestlogger.mm:75:41: note: property declared here
@property (nonatomic, retain) NSString* testObjectName;
                                         ^
qxctestlogger.mm:250:17: warning: property 'testFunctionName' requires 
method
       'testFunctionName' to be defined - use @synthesize, @dynamic or 
provide a
       method implementation in this class implementation
       [-Wobjc-property-implementation]
@implementation QtTestLibTest
                 ^
qxctestlogger.mm:76:41: note: property declared here
@property (nonatomic, retain) NSString* testFunctionName;
                                         ^
qxctestlogger.mm:250:17: warning: property 'testFunctionName' requires 
method
       'setTestFunctionName:' to be defined - use @synthesize, @dynamic or
       provide a method implementation in this class implementation
       [-Wobjc-property-implementation]
@implementation QtTestLibTest
                 ^
qxctestlogger.mm:76:41: note: property declared here
@property (nonatomic, retain) NSString* testFunctionName;
                                         ^
4 warnings and 1 error generated.
make[4]: *** [.obj/debug/qxctestlogger.o] Error 1
make[3]: *** [debug-all] Error 2
make[2]: *** [sub-testlib-make_first] Error 2
make[1]: *** [sub-src-make_first] Error 2
make: *** [module-qtbase-make_first] Error 2

Is this a bug or am I doing something wrong?

Thanks,
     Calogero

-- 
Calogero Mauceri
Software Engineer

Applied Coherent Technology Corporation (ACT)
www.actgate.com





More information about the Interest mailing list