Uploaded image for project: 'Qt Automotive Suite'
  1. Qt Automotive Suite
  2. AUTOSUITE-2

make fails for qtivi

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Not Evaluated
    • 1.1
    • 1.1
    • Qt IVI
    • None
    • * Linux 4.4.0-31-generic #50-Ubuntu SMP Wed Jul 13 00:07:12 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
      * gcc --version: (Ubuntu 5.4.0-6ubuntu1~16.04.1) 5.4.0 20160609
      * QMake version 3.0 Using Qt version 5.7.0 in /usr/local/Qt-5.7.0/lib
    • 2b3db9ff9ae1eaf3ea4b9363b9bfa214e2790112

    Description

      At first I download and installed qt 64bit for Linux from (http://download.qt.io/official_releases/qt/5.7/5.7.0/qt-opensource-linux-x64-android-5.7.0.run) and installed it. I tried to build qtivi and run it. qmake does not give any errors, but I get this error after running make:

      make[1]: Entering directory '/home/aras/Projects/qtivi/examples'
      cd vehiclefunctions/ && ( test -e Makefile || /usr/lib/x86_64-linux-gnu/qt5/bin/qmake /home/aras/Projects/qtivi/examples/vehiclefunctions/vehiclefunctions.pro -o Makefile ) && make -f Makefile 
      make[2]: Entering directory '/home/aras/Projects/qtivi/examples/vehiclefunctions'
      cd climate_widget/ && ( test -e Makefile || /usr/lib/x86_64-linux-gnu/qt5/bin/qmake /home/aras/Projects/qtivi/examples/vehiclefunctions/climate_widget/climate_widget.pro -o Makefile ) && make -f Makefile 
      make[3]: Entering directory '/home/aras/Projects/qtivi/examples/vehiclefunctions/climate_widget'
      g++ -c -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -fno-exceptions -Wall -W -D_REENTRANT -fPIC -DQT_NO_TSLIB -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_IVIVEHICLEFUNCTIONS_LIB -DQT_IVICORE_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../../../include -I../../../include/QtIviVehicleFunctions -I../../../include/QtIviCore -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtQml -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I.moc -isystem /usr/include/libdrm -I.uic -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -o .obj/main.o main.cpp
      In file included from ../../../include/QtIviCore/qivipropertyattribute.h:1:0,
                       from ../../../include/QtIviCore/QIviPropertyAttribute:1,
                       from ../../../include/QtIviCore/../../src/ivicore/qiviproperty.h:48,
                       from ../../../include/QtIviCore/qiviproperty.h:1,
                       from ../../../include/QtIviCore/QIviProperty:1,
                       from ../../../include/QtIviVehicleFunctions/../../src/ivivehiclefunctions/qiviclimatecontrol.h:46,
                       from ../../../include/QtIviVehicleFunctions/qiviclimatecontrol.h:1,
                       from ../../../include/QtIviVehicleFunctions/QIviClimateControl:1,
                       from mainwindow.h:57,
                       from main.cpp:53:
      ../../../include/QtIviCore/../../src/ivicore/qivipropertyattribute.h: In member function ‘void QIviPropertyAttribute<T>::registerConverter()’:
      ../../../include/QtIviCore/../../src/ivicore/qivipropertyattribute.h:154:73: error: ‘>>’ should be ‘> >’ within a nested template argument list
               if (!QMetaType::hasRegisteredComparators<QIviPropertyAttribute<T>>())
                                                                               ^
      ../../../include/QtIviCore/../../src/ivicore/qivipropertyattribute.h:155:67: error: ‘>>’ should be ‘> >’ within a nested template argument list
                   QMetaType::registerComparators<QIviPropertyAttribute<T>>();
                                                                         ^
      Makefile:442: recipe for target '.obj/main.o' failed
      make[3]: *** [.obj/main.o] Error 1
      make[3]: Leaving directory '/home/aras/Projects/qtivi/examples/vehiclefunctions/climate_widget'
      Makefile:44: recipe for target 'sub-climate_widget-make_first' failed
      make[2]: *** [sub-climate_widget-make_first] Error 2
      make[2]: Leaving directory '/home/aras/Projects/qtivi/examples/vehiclefunctions'
      Makefile:42: recipe for target 'sub-vehiclefunctions-make_first' failed
      make[1]: *** [sub-vehiclefunctions-make_first] Error 2
      make[1]: Leaving directory '/home/aras/Projects/qtivi/examples'
      Makefile:69: recipe for target 'sub-examples-make_first' failed
      make: *** [sub-examples-make_first] Error 2
      

      I have since tried building Qt from source and installed it. I still get the same error.

      Please let me know if I need to try anything to narrow down what the issue is, or if you need any other information about my dev environment.

      Attachments

        For Gerrit Dashboard: AUTOSUITE-2
        # Subject Branch Project Status CR V

        Activity

          People

            gagi Dominik Holland
            arasbm Aras Balali
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes