Uploaded image for project: 'Qt Mobility'
  1. Qt Mobility
  2. QTMOBILITY-2090

Building fails on Mac OS X

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Out of scope
    • Affects Version/s: 1.2.2
    • Fix Version/s: None
    • Component/s: Sensors
    • Labels:
      None
    • Environment:
      Mac OS X 10.7 + Xcode 4.5.2 + Qt 4.8.4 + QtMobility 1.2.2

      Description

      I have installed Xcode 4.5.2, xcode command line tools, qt-4.8.4 libraries and downloaded qtmobility sources (the latest available at http://qt.gitorious.org/qt-mobility/qt-mobility/trees/master). According to the installation guide, I have unpacked the archive to /tmp, run ./configure -prefix /usr/local/qt-mobility, when configuring is finished i run make. It successfully builds some libraries, but eventually fails. Below is the part of the build log:

      cd sensors/ && make -f Makefile
      make -f Makefile.Debug all
      /Developer/Tools/Qt/moc -DQT_SHARED -DQTM_PLUGIN_PATH=\"/usr/local/qt-mobility/plugins\" -DQT_BUILD_SENSORS_LIB -DQT_MAKEDLL -DENABLE_RUNTIME_SENSORLOG -DQT_CORE_LIB -I/usr/local/Qt4.8/mkspecs/macx-llvm -I. -I/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/usr/include/QtCore -I/usr/include -I../global -I. -I../../build/Debug/QtSensors/moc -F/tmp/qt-mobility-qt-mobility/lib -F/Library/Frameworks -D_APPLE_ -D_GNUC_ qsensorbackend.h -o /tmp/qt-mobility-qt-mobility/build/Debug/QtSensors/moc/moc_qsensorbackend.cpp
      llvm-g++ -c -pipe -g -gdwarf-2 -arch x86_64 -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -fPIC -DQT_SHARED -DQTM_PLUGIN_PATH=\"/usr/local/qt-mobility/plugins\" -DQT_BUILD_SENSORS_LIB -DQT_MAKEDLL -DENABLE_RUNTIME_SENSORLOG -DQT_CORE_LIB -I/usr/local/Qt4.8/mkspecs/macx-llvm -I. -I/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/usr/include/QtCore -I/usr/include -I../global -I. -I../../build/Debug/QtSensors/moc -F/tmp/qt-mobility-qt-mobility/lib -F/Library/Frameworks -o /tmp/qt-mobility-qt-mobility/build/Debug/QtSensors/qsensorbackend.o qsensorbackend.cpp
      /Developer/Tools/Qt/moc -DQT_SHARED -DQTM_PLUGIN_PATH=\"/usr/local/qt-mobility/plugins\" -DQT_BUILD_SENSORS_LIB -DQT_MAKEDLL -DENABLE_RUNTIME_SENSORLOG -DQT_CORE_LIB -I/usr/local/Qt4.8/mkspecs/macx-llvm -I. -I/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/usr/include/QtCore -I/usr/include -I../global -I. -I../../build/Debug/QtSensors/moc -F/tmp/qt-mobility-qt-mobility/lib -F/Library/Frameworks -D_APPLE_ -D_GNUC_ qsensormanager.cpp -o /tmp/qt-mobility-qt-mobility/build/Debug/QtSensors/moc/qsensormanager.moc
      llvm-g++ -c -pipe -g -gdwarf-2 -arch x86_64 -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -fPIC -DQT_SHARED -DQTM_PLUGIN_PATH=\"/usr/local/qt-mobility/plugins\" -DQT_BUILD_SENSORS_LIB -DQT_MAKEDLL -DENABLE_RUNTIME_SENSORLOG -DQT_CORE_LIB -I/usr/local/Qt4.8/mkspecs/macx-llvm -I. -I/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/usr/include/QtCore -I/usr/include -I../global -I. -I../../build/Debug/QtSensors/moc -F/tmp/qt-mobility-qt-mobility/lib -F/Library/Frameworks -o /tmp/qt-mobility-qt-mobility/build/Debug/QtSensors/qsensormanager.o qsensormanager.cpp
      llvm-g++ -c -pipe -g -gdwarf-2 -arch x86_64 -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -fPIC -DQT_SHARED -DQTM_PLUGIN_PATH=\"/usr/local/qt-mobility/plugins\" -DQT_BUILD_SENSORS_LIB -DQT_MAKEDLL -DENABLE_RUNTIME_SENSORLOG -DQT_CORE_LIB -I/usr/local/Qt4.8/mkspecs/macx-llvm -I. -I/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/usr/include/QtCore -I/usr/include -I../global -I. -I../../build/Debug/QtSensors/moc -F/tmp/qt-mobility-qt-mobility/lib -F/Library/Frameworks -o /tmp/qt-mobility-qt-mobility/build/Debug/QtSensors/qsensorplugin.o qsensorplugin.cpp
      llvm-g++ -c -pipe -g -gdwarf-2 -arch x86_64 -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -fPIC -DQT_SHARED -DQTM_PLUGIN_PATH=\"/usr/local/qt-mobility/plugins\" -DQT_BUILD_SENSORS_LIB -DQT_MAKEDLL -DENABLE_RUNTIME_SENSORLOG -DQT_CORE_LIB -I/usr/local/Qt4.8/mkspecs/macx-llvm -I. -I/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/usr/include/QtCore -I/usr/include -I../global -I. -I../../build/Debug/QtSensors/moc -F/tmp/qt-mobility-qt-mobility/lib -F/Library/Frameworks -o /tmp/qt-mobility-qt-mobility/build/Debug/QtSensors/qsensorpluginloader.o qsensorpluginloader.cpp
      /Developer/Tools/Qt/moc -DQT_SHARED -DQTM_PLUGIN_PATH=\"/usr/local/qt-mobility/plugins\" -DQT_BUILD_SENSORS_LIB -DQT_MAKEDLL -DENABLE_RUNTIME_SENSORLOG -DQT_CORE_LIB -I/usr/local/Qt4.8/mkspecs/macx-llvm -I. -I/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/usr/include/QtCore -I/usr/include -I../global -I. -I../../build/Debug/QtSensors/moc -F/tmp/qt-mobility-qt-mobility/lib -F/Library/Frameworks -D_APPLE_ -D_GNUC_ qsensor.h -o /tmp/qt-mobility-qt-mobility/build/Debug/QtSensors/moc/moc_qsensor.cpp
      llvm-g++ -c -pipe -g -gdwarf-2 -arch x86_64 -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -fPIC -DQT_SHARED -DQTM_PLUGIN_PATH=\"/usr/local/qt-mobility/plugins\" -DQT_BUILD_SENSORS_LIB -DQT_MAKEDLL -DENABLE_RUNTIME_SENSORLOG -DQT_CORE_LIB -I/usr/local/Qt4.8/mkspecs/macx-llvm -I. -I/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/usr/include/QtCore -I/usr/include -I../global -I. -I../../build/Debug/QtSensors/moc -F/tmp/qt-mobility-qt-mobility/lib -F/Library/Frameworks -o /tmp/qt-mobility-qt-mobility/build/Debug/QtSensors/qsensor.o qsensor.cpp
      /Developer/Tools/Qt/moc -DQT_SHARED -DQTM_PLUGIN_PATH=\"/usr/local/qt-mobility/plugins\" -DQT_BUILD_SENSORS_LIB -DQT_MAKEDLL -DENABLE_RUNTIME_SENSORLOG -DQT_CORE_LIB -I/usr/local/Qt4.8/mkspecs/macx-llvm -I. -I/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/usr/include/QtCore -I/usr/include -I../global -I. -I../../build/Debug/QtSensors/moc -F/tmp/qt-mobility-qt-mobility/lib -F/Library/Frameworks -D_APPLE_ -D_GNUC_ qaccelerometer.h -o /tmp/qt-mobility-qt-mobility/build/Debug/QtSensors/moc/moc_qaccelerometer.cpp
      llvm-g++ -c -pipe -g -gdwarf-2 -arch x86_64 -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -fPIC -DQT_SHARED -DQTM_PLUGIN_PATH=\"/usr/local/qt-mobility/plugins\" -DQT_BUILD_SENSORS_LIB -DQT_MAKEDLL -DENABLE_RUNTIME_SENSORLOG -DQT_CORE_LIB -I/usr/local/Qt4.8/mkspecs/macx-llvm -I. -I/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/usr/include/QtCore -I/usr/include -I../global -I. -I../../build/Debug/QtSensors/moc -F/tmp/qt-mobility-qt-mobility/lib -F/Library/Frameworks -o /tmp/qt-mobility-qt-mobility/build/Debug/QtSensors/qaccelerometer.o qaccelerometer.cpp
      /Developer/Tools/Qt/moc -DQT_SHARED -DQTM_PLUGIN_PATH=\"/usr/local/qt-mobility/plugins\" -DQT_BUILD_SENSORS_LIB -DQT_MAKEDLL -DENABLE_RUNTIME_SENSORLOG -DQT_CORE_LIB -I/usr/local/Qt4.8/mkspecs/macx-llvm -I. -I/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/usr/include/QtCore -I/usr/include -I../global -I. -I../../build/Debug/QtSensors/moc -F/tmp/qt-mobility-qt-mobility/lib -F/Library/Frameworks -D_APPLE_ -D_GNUC_ qaltimeter.h -o /tmp/qt-mobility-qt-mobility/build/Debug/QtSensors/moc/moc_qaltimeter.cpp
      llvm-g++ -c -pipe -g -gdwarf-2 -arch x86_64 -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -fPIC -DQT_SHARED -DQTM_PLUGIN_PATH=\"/usr/local/qt-mobility/plugins\" -DQT_BUILD_SENSORS_LIB -DQT_MAKEDLL -DENABLE_RUNTIME_SENSORLOG -DQT_CORE_LIB -I/usr/local/Qt4.8/mkspecs/macx-llvm -I. -I/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/usr/include/QtCore -I/usr/include -I../global -I. -I../../build/Debug/QtSensors/moc -F/tmp/qt-mobility-qt-mobility/lib -F/Library/Frameworks -o /tmp/qt-mobility-qt-mobility/build/Debug/QtSensors/qaltimeter.o qaltimeter.cpp
      /Developer/Tools/Qt/moc -DQT_SHARED -DQTM_PLUGIN_PATH=\"/usr/local/qt-mobility/plugins\" -DQT_BUILD_SENSORS_LIB -DQT_MAKEDLL -DENABLE_RUNTIME_SENSORLOG -DQT_CORE_LIB -I/usr/local/Qt4.8/mkspecs/macx-llvm -I. -I/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/usr/include/QtCore -I/usr/include -I../global -I. -I../../build/Debug/QtSensors/moc -F/tmp/qt-mobility-qt-mobility/lib -F/Library/Frameworks -D_APPLE_ -D_GNUC_ qambientlightsensor.h -o /tmp/qt-mobility-qt-mobility/build/Debug/QtSensors/moc/moc_qambientlightsensor.cpp
      llvm-g++ -c -pipe -g -gdwarf-2 -arch x86_64 -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -fPIC -DQT_SHARED -DQTM_PLUGIN_PATH=\"/usr/local/qt-mobility/plugins\" -DQT_BUILD_SENSORS_LIB -DQT_MAKEDLL -DENABLE_RUNTIME_SENSORLOG -DQT_CORE_LIB -I/usr/local/Qt4.8/mkspecs/macx-llvm -I. -I/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/usr/include/QtCore -I/usr/include -I../global -I. -I../../build/Debug/QtSensors/moc -F/tmp/qt-mobility-qt-mobility/lib -F/Library/Frameworks -o /tmp/qt-mobility-qt-mobility/build/Debug/QtSensors/qambientlightsensor.o qambientlightsensor.cpp
      /Developer/Tools/Qt/moc -DQT_SHARED -DQTM_PLUGIN_PATH=\"/usr/local/qt-mobility/plugins\" -DQT_BUILD_SENSORS_LIB -DQT_MAKEDLL -DENABLE_RUNTIME_SENSORLOG -DQT_CORE_LIB -I/usr/local/Qt4.8/mkspecs/macx-llvm -I. -I/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/usr/include/QtCore -I/usr/include -I../global -I. -I../../build/Debug/QtSensors/moc -F/tmp/qt-mobility-qt-mobility/lib -F/Library/Frameworks -D_APPLE_ -D_GNUC_ qambienttemperaturesensor.h -o /tmp/qt-mobility-qt-mobility/build/Debug/QtSensors/moc/moc_qambienttemperaturesensor.cpp
      llvm-g++ -c -pipe -g -gdwarf-2 -arch x86_64 -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -fPIC -DQT_SHARED -DQTM_PLUGIN_PATH=\"/usr/local/qt-mobility/plugins\" -DQT_BUILD_SENSORS_LIB -DQT_MAKEDLL -DENABLE_RUNTIME_SENSORLOG -DQT_CORE_LIB -I/usr/local/Qt4.8/mkspecs/macx-llvm -I. -I/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/usr/include/QtCore -I/usr/include -I../global -I. -I../../build/Debug/QtSensors/moc -F/tmp/qt-mobility-qt-mobility/lib -F/Library/Frameworks -o /tmp/qt-mobility-qt-mobility/build/Debug/QtSensors/qambienttemperaturesensor.o qambienttemperaturesensor.cpp
      In file included from qambienttemperaturesensor.cpp:41:
      ./qambienttemperaturesensor.h:44:31: error: QtSensors/qsensor.h: No such file or directory
      In file included from qambienttemperaturesensor.cpp:41:
      ./qambienttemperaturesensor.h:48: error: expected constructor, destructor, or type conversion before ‘class’
      ./qambienttemperaturesensor.h:50: error: function definition does not declare parameters
      ./qambienttemperaturesensor.h:60: error: function definition does not declare parameters
      ./qambienttemperaturesensor.h:69: error: function definition does not declare parameters
      ./qambienttemperaturesensor.h:82: error: ‘QTM_END_NAMESPACE’ does not name a type
      In file included from qambienttemperaturesensor.cpp:42:
      qambienttemperaturesensor_p.h:68: error: ‘QTM_END_NAMESPACE’ does not name a type
      qambienttemperaturesensor.cpp:74: error: ‘QAmbientTemperatureReading’ has not been declared
      qambienttemperaturesensor.cpp:74: error: variable or field ‘setTemperature’ declared void
      qambienttemperaturesensor.cpp:74: error: ‘qreal’ was not declared in this scope
      qambienttemperaturesensor.cpp:101: error: ‘QAmbientTemperatureSensor’ has not been declared
      qambienttemperaturesensor.cpp:123: error: ‘QAmbientTemperatureSensor’ has not been declared
      qambienttemperaturesensor.cpp:123: error: expected constructor, destructor, or type conversion before ‘(’ token
      qambienttemperaturesensor.cpp:131: error: expected constructor, destructor, or type conversion before ‘::’ token
      In file included from qambienttemperaturesensor.cpp:143:
      ../../build/Debug/QtSensors/moc/moc_qambienttemperaturesensor.cpp:45: error: ‘QAmbientTemperatureReading’ has not been declared
      ../../build/Debug/QtSensors/moc/moc_qambienttemperaturesensor.cpp:53: error: ‘QAmbientTemperatureReading’ has not been declared
      ../../build/Debug/QtSensors/moc/moc_qambienttemperaturesensor.cpp:57: error: ‘QAmbientTemperatureReading’ has not been declared
      ../../build/Debug/QtSensors/moc/moc_qambienttemperaturesensor.cpp:58: error: ‘QSensorReading’ has not been declared
      ../../build/Debug/QtSensors/moc/moc_qambienttemperaturesensor.cpp:66: error: ‘QAmbientTemperatureReading’ has not been declared
      ../../build/Debug/QtSensors/moc/moc_qambienttemperaturesensor.cpp:66: error: non-member function ‘const QMetaObject* metaObject()’ cannot have cv-qualifier
      /Library/Frameworks/QtCore.framework/Headers/qobject.h: In function ‘const QMetaObject* metaObject()’:
      /Library/Frameworks/QtCore.framework/Headers/qobject.h:320: error: ‘QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> > QObject::d_ptr’ is protected
      ../../build/Debug/QtSensors/moc/moc_qambienttemperaturesensor.cpp:68: error: within this context
      /Library/Frameworks/QtCore.framework/Headers/qobject.h:320: error: invalid use of non-static data member ‘QObject::d_ptr’
      ../../build/Debug/QtSensors/moc/moc_qambienttemperaturesensor.cpp:68: error: from this location
      /Library/Frameworks/QtCore.framework/Headers/qobject.h:320: error: ‘QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> > QObject::d_ptr’ is protected
      ../../build/Debug/QtSensors/moc/moc_qambienttemperaturesensor.cpp:68: error: within this context
      /Library/Frameworks/QtCore.framework/Headers/qobject.h:320: error: invalid use of non-static data member ‘QObject::d_ptr’
      ../../build/Debug/QtSensors/moc/moc_qambienttemperaturesensor.cpp:68: error: from this location
      ../../build/Debug/QtSensors/moc/moc_qambienttemperaturesensor.cpp: At global scope:
      ../../build/Debug/QtSensors/moc/moc_qambienttemperaturesensor.cpp:71: error: ‘QAmbientTemperatureReading’ has not been declared
      ../../build/Debug/QtSensors/moc/moc_qambienttemperaturesensor.cpp: In function ‘void* qt_metacast(const char*)’:
      ../../build/Debug/QtSensors/moc/moc_qambienttemperaturesensor.cpp:75: error: expected type-specifier before ‘QAmbientTemperatureReading’
      ../../build/Debug/QtSensors/moc/moc_qambienttemperaturesensor.cpp:75: error: expected `>' before ‘QAmbientTemperatureReading’
      ../../build/Debug/QtSensors/moc/moc_qambienttemperaturesensor.cpp:75: error: expected `(' before ‘QAmbientTemperatureReading’
      ../../build/Debug/QtSensors/moc/moc_qambienttemperaturesensor.cpp:75: error: ‘QAmbientTemperatureReading’ was not declared in this scope
      ../../build/Debug/QtSensors/moc/moc_qambienttemperaturesensor.cpp:75: error: expected primary-expression before ‘>’ token
      ../../build/Debug/QtSensors/moc/moc_qambienttemperaturesensor.cpp:75: error: invalid use of ‘this’ in non-member function
      ../../build/Debug/QtSensors/moc/moc_qambienttemperaturesensor.cpp:75: error: expected `)' before ‘;’ token
      ../../build/Debug/QtSensors/moc/moc_qambienttemperaturesensor.cpp:76: error: ‘QSensorReading’ has not been declared
      ../../build/Debug/QtSensors/moc/moc_qambienttemperaturesensor.cpp: At global scope:
      ../../build/Debug/QtSensors/moc/moc_qambienttemperaturesensor.cpp:79: error: ‘QAmbientTemperatureReading’ has not been declared
      ../../build/Debug/QtSensors/moc/moc_qambienttemperaturesensor.cpp: In function ‘int qt_metacall(QMetaObject::Call, int, void**)’:
      ../../build/Debug/QtSensors/moc/moc_qambienttemperaturesensor.cpp:81: error: ‘QSensorReading’ has not been declared
      ../../build/Debug/QtSensors/moc/moc_qambienttemperaturesensor.cpp:89: error: ‘temperature’ was not declared in this scope
      ../../build/Debug/QtSensors/moc/moc_qambienttemperaturesensor.cpp: At global scope:
      ../../build/Debug/QtSensors/moc/moc_qambienttemperaturesensor.cpp:130: error: ‘QAmbientTemperatureSensor’ has not been declared
      ../../build/Debug/QtSensors/moc/moc_qambienttemperaturesensor.cpp: In function ‘void qt_static_metacall(QObject*, QMetaObject::Call, int, void**)’:
      ../../build/Debug/QtSensors/moc/moc_qambienttemperaturesensor.cpp:130: error: redefinition of ‘void qt_static_metacall(QObject*, QMetaObject::Call, int, void**)’
      ../../build/Debug/QtSensors/moc/moc_qambienttemperaturesensor.cpp:45: error: ‘void qt_static_metacall(QObject*, QMetaObject::Call, int, void**)’ previously defined here
      ../../build/Debug/QtSensors/moc/moc_qambienttemperaturesensor.cpp: At global scope:
      ../../build/Debug/QtSensors/moc/moc_qambienttemperaturesensor.cpp:138: error: ‘QAmbientTemperatureSensor’ has not been declared
      ../../build/Debug/QtSensors/moc/moc_qambienttemperaturesensor.cpp:138: error: redefinition of ‘const QMetaObjectExtraData staticMetaObjectExtraData’
      ../../build/Debug/QtSensors/moc/moc_qambienttemperaturesensor.cpp:53: error: ‘const QMetaObjectExtraData staticMetaObjectExtraData’ previously defined here
      ../../build/Debug/QtSensors/moc/moc_qambienttemperaturesensor.cpp:142: error: ‘QAmbientTemperatureSensor’ has not been declared
      ../../build/Debug/QtSensors/moc/moc_qambienttemperaturesensor.cpp:142: error: redefinition of ‘const QMetaObject staticMetaObject’
      ../../build/Debug/QtSensors/moc/moc_qambienttemperaturesensor.cpp:57: error: ‘const QMetaObject staticMetaObject’ previously defined here
      ../../build/Debug/QtSensors/moc/moc_qambienttemperaturesensor.cpp:143: error: ‘QSensor’ has not been declared
      ../../build/Debug/QtSensors/moc/moc_qambienttemperaturesensor.cpp:151: error: ‘QAmbientTemperatureSensor’ has not been declared
      ../../build/Debug/QtSensors/moc/moc_qambienttemperaturesensor.cpp:151: error: non-member function ‘const QMetaObject* metaObject()’ cannot have cv-qualifier
      ../../build/Debug/QtSensors/moc/moc_qambienttemperaturesensor.cpp: In function ‘const QMetaObject* metaObject()’:
      ../../build/Debug/QtSensors/moc/moc_qambienttemperaturesensor.cpp:151: error: redefinition of ‘const QMetaObject* metaObject()’
      ../../build/Debug/QtSensors/moc/moc_qambienttemperaturesensor.cpp:66: error: ‘const QMetaObject* metaObject()’ previously defined here
      /Library/Frameworks/QtCore.framework/Headers/qobject.h:320: error: ‘QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> > QObject::d_ptr’ is protected
      ../../build/Debug/QtSensors/moc/moc_qambienttemperaturesensor.cpp:153: error: within this context
      /Library/Frameworks/QtCore.framework/Headers/qobject.h:320: error: invalid use of non-static data member ‘QObject::d_ptr’
      ../../build/Debug/QtSensors/moc/moc_qambienttemperaturesensor.cpp:153: error: from this location
      /Library/Frameworks/QtCore.framework/Headers/qobject.h:320: error: ‘QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> > QObject::d_ptr’ is protected
      ../../build/Debug/QtSensors/moc/moc_qambienttemperaturesensor.cpp:153: error: within this context
      /Library/Frameworks/QtCore.framework/Headers/qobject.h:320: error: invalid use of non-static data member ‘QObject::d_ptr’
      ../../build/Debug/QtSensors/moc/moc_qambienttemperaturesensor.cpp:153: error: from this location
      ../../build/Debug/QtSensors/moc/moc_qambienttemperaturesensor.cpp: At global scope:
      ../../build/Debug/QtSensors/moc/moc_qambienttemperaturesensor.cpp:156: error: ‘QAmbientTemperatureSensor’ has not been declared
      ../../build/Debug/QtSensors/moc/moc_qambienttemperaturesensor.cpp: In function ‘void* qt_metacast(const char*)’:
      ../../build/Debug/QtSensors/moc/moc_qambienttemperaturesensor.cpp:156: error: redefinition of ‘void* qt_metacast(const char*)’
      ../../build/Debug/QtSensors/moc/moc_qambienttemperaturesensor.cpp:71: error: ‘void* qt_metacast(const char*)’ previously defined here
      ../../build/Debug/QtSensors/moc/moc_qambienttemperaturesensor.cpp:160: error: expected type-specifier before ‘QAmbientTemperatureSensor’
      ../../build/Debug/QtSensors/moc/moc_qambienttemperaturesensor.cpp:160: error: expected `>' before ‘QAmbientTemperatureSensor’
      ../../build/Debug/QtSensors/moc/moc_qambienttemperaturesensor.cpp:160: error: expected `(' before ‘QAmbientTemperatureSensor’
      ../../build/Debug/QtSensors/moc/moc_qambienttemperaturesensor.cpp:160: error: ‘QAmbientTemperatureSensor’ was not declared in this scope
      ../../build/Debug/QtSensors/moc/moc_qambienttemperaturesensor.cpp:160: error: expected primary-expression before ‘>’ token
      ../../build/Debug/QtSensors/moc/moc_qambienttemperaturesensor.cpp:160: error: invalid use of ‘this’ in non-member function
      ../../build/Debug/QtSensors/moc/moc_qambienttemperaturesensor.cpp:160: error: expected `)' before ‘;’ token
      ../../build/Debug/QtSensors/moc/moc_qambienttemperaturesensor.cpp:161: error: ‘QSensor’ has not been declared
      ../../build/Debug/QtSensors/moc/moc_qambienttemperaturesensor.cpp: At global scope:
      ../../build/Debug/QtSensors/moc/moc_qambienttemperaturesensor.cpp:164: error: ‘QAmbientTemperatureSensor’ has not been declared
      ../../build/Debug/QtSensors/moc/moc_qambienttemperaturesensor.cpp: In function ‘int qt_metacall(QMetaObject::Call, int, void**)’:
      ../../build/Debug/QtSensors/moc/moc_qambienttemperaturesensor.cpp:164: error: redefinition of ‘int qt_metacall(QMetaObject::Call, int, void**)’
      ../../build/Debug/QtSensors/moc/moc_qambienttemperaturesensor.cpp:79: error: ‘int qt_metacall(QMetaObject::Call, int, void**)’ previously defined here
      ../../build/Debug/QtSensors/moc/moc_qambienttemperaturesensor.cpp:166: error: ‘QSensor’ has not been declared
      qambienttemperaturesensor.cpp: At global scope:
      qambienttemperaturesensor.cpp:144: error: expected constructor, destructor, or type conversion at end of input
      make[3]: *** [/tmp/qt-mobility-qt-mobility/build/Debug/QtSensors/qambienttemperaturesensor.o] Error 1
      make[2]: *** [debug-all] Error 2
      make[1]: *** [sub-sensors-make_default] Error 2
      make: *** [sub-src-make_default-ordered] Error 2

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            lpotter Lorn Potter
            Reporter:
            mentalmushroom Pugach Yaroslav
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes