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

Fail to compile QtLocation

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • None
    • 5.9
    • None
    • OpenSuSE 13.2, gcc 4.9
    • 22c4a09a40ffaf298b361b9b99c4166ca4ec60d3

    Description

      I'm running into

      g++ -c -pipe -g -Og -std=c++1y -Wall -W -Wno-ignored-qualifiers -Wno-unused-parameter -Wno-unused-variable -Wno-deprecated-declarations -Wno-unused-function -Wno-reorder -Wvla -D_REENTRANT -fPIC -DQT_NO_FOREACH -D_DEBUG -DASSIMP_BUILD_NO_OWN_ZLIB -DASSIMP_BUILD_NO_COMPRESSED_IFC -DASSIMP_BUILD_NO_Q3BSP_IMPORTER -DASSIMP_BUILD_NO_C4D_IMPORTER -DASSIMP_BUILD_NO_3MF_IMPORTER -DOPENDDL_STATIC_LIBARY -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_USE_QSTRINGBUILDER -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_CORE_LIB -DQT_ZLIB_LIB -I. -I../../src/3rdparty/assimp -I../../src/3rdparty/assimp/code -I../../src/3rdparty/assimp/include -I../../src/3rdparty/assimp/include/assimp/Compiler -I../../src/3rdparty/assimp/contrib/clipper -I../../src/3rdparty/assimp/contrib/ConvertUTF -I../../src/3rdparty/assimp/contrib/irrXML -I../../src/3rdparty/assimp/contrib/openddlparser/include -I../../src/3rdparty/assimp/contrib/poly2tri/poly2tri -I../../src/3rdparty/assimp/contrib/rapidjson/include -I../../src/3rdparty/assimp/contrib/unzip -I/home/berlin/dev/nextQt/qtbase/include -I/home/berlin/dev/nextQt/qtbase/include/QtCore -I/home/berlin/dev/nextQt/qtbase/include/QtZlib -I/home/berlin/dev/nextQt/qtbase/include/QtZlib/5.9.0 -I/home/berlin/dev/nextQt/qtbase/include/QtZlib/5.9.0/QtZlib -I.moc -I/home/berlin/dev/nextQt/qtbase/mkspecs/linux-g++ -o .obj/BaseImporter.o ../../src/3rdparty/assimp/code/BaseImporter.cpp
      src/mbgl/map/map.cpp: In member function 'std::vector<mapbox::geometry::feature<double> > mbgl::Map::queryRenderedFeatures(const ScreenCoordinate&, mbgl::optional<std::vector<std::basic_string<char> > >&)':
      src/mbgl/map/map.cpp:807:6: error: no matching function for call to 'mbgl::style::Style::queryRenderedFeatures(<brace-enclosed initializer list>)'
      src/mbgl/map/map.cpp:807:6: note: candidate is:                                                     
      In file included from src/mbgl/map/map.cpp:8:0:                                                     
      src/mbgl/style/style.hpp:98:26: note: std::vector<mapbox::geometry::feature<double> > mbgl::style::Style::queryRenderedFeatures(const mbgl::style::QueryParameters&) const
      src/mbgl/style/style.hpp:98:26: note:   no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'const mbgl::style::QueryParameters&'
      src/mbgl/map/map.cpp: In member function 'std::vector<mapbox::geometry::feature<double> > mbgl::Map::queryRenderedFeatures(const ScreenBox&, mbgl::optional<std::vector<std::basic_string<char> > >&)':
      src/mbgl/map/map.cpp:823:6: error: no matching function for call to 'mbgl::style::Style::queryRenderedFeatures(<brace-enclosed initializer list>)'
      src/mbgl/map/map.cpp:823:6: note: candidate is:                                                     
      In file included from src/mbgl/map/map.cpp:8:0:                                                     
      src/mbgl/style/style.hpp:98:26: note: std::vector<mapbox::geometry::feature<double> > mbgl::style::Style::queryRenderedFeatures(const mbgl::style::QueryParameters&) const
      src/mbgl/style/style.hpp:98:26: note:   no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'const mbgl::style::QueryParameters&'
      ICECC[20275] 06:44:46: Compiled on 10.9.78.64                                                       
      Makefile:23644: recipe for target '.obj/map.o' failed                                               
      make[5]: *** [.obj/map.o] Error 1   
      

      when trying to compile Qt on 5.9 branch.

      Steps to reproduce:

      • perform clean clone of Qt5
      • checkout 5.9 branch
      • ./init-repository
      • ./configure -opensource -confirm-license -debug -nomake tests -nomake examples -qt-zlib -qt-libjpeg -qt-libpng -qt-xcb -openssl -dbus -prefix /home/berlin/Installers/nextQt

      Attachments

        For Gerrit Dashboard: QTBUG-60378
        # Subject Branch Project Status CR V

        Activity

          People

            tmpsantos Thiago Marcos P. Santos
            cstenger Christian Stenger
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes