Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-100825

qtpositioning not compiling on macOS10.14 x64: "error: property 'courseAccuracy' not found on object of type 'CLLocation *'"

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • P2: Important
    • 6.3.0 RC
    • 6.3.0 Beta2
    • Positioning
    • macOS10.14 x64
    • macOS

    Description

      Qt6.3.0 beta2 sources (3af2d458dd795f19c7c661f6e6b27e31c64c65b5). Configure:

      cmake 
      -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ 
      -DBUILD_EXAMPLES=OFF -DCMAKE_BUILD_TYPE=Release -DFEATURE_framework=ON 
      -DPostgreSQL_ROOT=/Applications/Postgres.app/Contents/Versions/9.6/bin/..
       -DQT_BUILD_TESTS=OFF -GNinja /Users/qt/RTA/src-6.3.0 
      -DCMAKE_INSTALL_PREFIX:PATH=/Users/qt/RTA/src-6.3.0/qtbase
      

      Finishes fine, configure summary attached.

      Fails when building (cmake --build . --parallel)

      [13625/16028] Building OBJCXX object qtpositioning/src/plugins/position/corelocation/CMakeFiles/QGeoPositionInfoSourceFactoryCLPlugin.dir/qgeopositioninfosource_cl.mm.o
      FAILED: qtpositioning/src/plugins/position/corelocation/CMakeFiles/QGeoPositionInfoSourceFactoryCLPlugin.dir/qgeopositioninfosource_cl.mm.o 
      /Applications/Xcode11.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -DGL_SILENCE_DEPRECATION -DQGeoPositionInfoSourceFactoryCLPlugin_EXPORTS -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS -DQT_DEPRECATED_WARNINGS_SINCE=0x060000 -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -DQT_NO_DEBUG -DQT_NO_EXCEPTIONS -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_PLUGIN -DQT_POSITIONING_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I/Users/qt/RTA/src-6.3.0/qtpositioning/src/plugins/position/corelocation/QGeoPositionInfoSourceFactoryCLPlugin_autogen/include -I/Users/qt/RTA/src-6.3.0/qtpositioning/src/plugins/position/corelocation -I/Users/qt/RTA/src-6.3.0/qtbase/include -I/Users/qt/RTA/src-6.3.0/qtbase/include/QtCore -I/Users/qt/RTA/src-6.3.0/qtbase/lib/QtCore.framework/Headers -I/Users/qt/RTA/src-6.3.0/qtbase/mkspecs/macx-clang -I/Users/qt/RTA/src-6.3.0/qtbase/src/corelib -I/Users/qt/RTA/src-6.3.0/qtbase/include/QtCore/6.3.0 -I/Users/qt/RTA/src-6.3.0/qtbase/include/QtCore/6.3.0/QtCore -I/Users/qt/RTA/src-6.3.0/qtbase/include/QtPositioning -I/Users/qt/RTA/src-6.3.0/qtbase/lib/QtPositioning.framework/Headers -x objective-c++ -DNDEBUG -O2 -isysroot /Applications/Xcode11.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -mmacosx-version-min=10.14 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wall -Wextra -fno-exceptions -fPIC -fapplication-extension -std=c++17 -MD -MT qtpositioning/src/plugins/position/corelocation/CMakeFiles/QGeoPositionInfoSourceFactoryCLPlugin.dir/qgeopositioninfosource_cl.mm.o -MF qtpositioning/src/plugins/position/corelocation/CMakeFiles/QGeoPositionInfoSourceFactoryCLPlugin.dir/qgeopositioninfosource_cl.mm.o.d -o qtpositioning/src/plugins/position/corelocation/CMakeFiles/QGeoPositionInfoSourceFactoryCLPlugin.dir/qgeopositioninfosource_cl.mm.o -c /Users/qt/RTA/src-6.3.0/qtpositioning/src/plugins/position/corelocation/qgeopositioninfosource_cl.mm
      /Users/qt/RTA/src-6.3.0/qtpositioning/src/plugins/position/corelocation/qgeopositioninfosource_cl.mm:92:29: error: property 'courseAccuracy' not found on object of type 'CLLocation *'
                  if (newLocation.courseAccuracy >= 0) {
                                  ^
      /Users/qt/RTA/src-6.3.0/qtpositioning/src/plugins/position/corelocation/qgeopositioninfosource_cl.mm:94:51: error: property 'courseAccuracy' not found on object of type 'CLLocation *'
                                            newLocation.courseAccuracy);
                                                        ^
      2 errors generated.
      

      Build log attached (last 1000 lines).

      Not known if this is a regression, compilation was terminated earlier with multimedia issue (QTBUG-100462).

      In earlier test rounds build worked fine on macOS10.15 and macOS11, current testround is still ongoing, when that finishes I'll report the results of those.

      Attachments

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

        Activity

          People

            ivan.solovev Ivan Solovev
            joaijala Johanna Äijälä
            Vladimir Minenko Vladimir Minenko
            Alex Blasche Alex Blasche
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes