Uploaded image for project: 'Qt Safe Renderer'
  1. Qt Safe Renderer
  2. QSR-489

QSR not compiled with Qt5.14.0

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • P0: Blocker
    • QSR 1.1.1
    • QSR 1.1.1
    • Tooling
    • 0.5
    • Sprint 13

    Description

      Install Qt5.14.0 binaries from staging, compiler QSR as instructed in documentation. Build fails with:

      /home/qt/RTA/qt5/Src/QtSafeRenderer-1.1.1/tools/qtsafelayouttool/qsafeqmlparser.cpp: In member function \xe2\x80\x98void QSafeQmlParser::parseSourceFile(const QString&, const NodeContainer&)\xe2\x80\x99:
      /home/qt/RTA/qt5/Src/QtSafeRenderer-1.1.1/tools/qtsafelayouttool/qsafeqmlparser.cpp:117:74: error: \xe2\x80\x98struct QQmlJS::DiagnosticMessage\xe2\x80\x99 has no member named \xe2\x80\x98loc\xe2\x80\x99
        117 |                 qDebug().nospace() << qPrintable(filePath) << ':' << msg.loc.startLine
            |                                                                          ^~~
      /home/qt/RTA/qt5/Src/QtSafeRenderer-1.1.1/tools/qtsafelayouttool/qsafeqmlparser.cpp:118:75: error: \xe2\x80\x98struct QQmlJS::DiagnosticMessage\xe2\x80\x99 has no member named \xe2\x80\x98loc\xe2\x80\x99
        118 |                                    << ": QML syntax error at col " << msg.loc.startColumn
            |                                                                           ^~~
      Makefile:3402: recipe for target '.obj/qsafeqmlparser.o' failed
      make[2]: *** [.obj/qsafeqmlparser.o] Error 1
      make[2]: *** Waiting for unfinished jobs....
      make[2]: Leaving directory '/home/qt/RTA/qt5/Src/build-qtsaferenderer-Desktop_Qt_5_14_0_GCC_64bit-Debug/tools/qtsafelayouttool'
      Makefile:72: recipe for target 'sub-qtsafelayouttool-make_first' failed
      make[1]: Leaving directory '/home/qt/RTA/qt5/Src/build-qtsaferenderer-Desktop_Qt_5_14_0_GCC_64bit-Debug/tools'
      make[1]: *** [sub-qtsafelayouttool-make_first] Error 2
      make: *** [sub-tools-make_first] Error 2
      Makefile:74: recipe for target 'sub-tools-make_first' failed
      07:18:51: The process "/usr/bin/make" exited with code 2.
      Error while building/deploying project qtsaferenderer (kit: Desktop Qt 5.14.0 GCC 64bit)
      When executing step "Make"
      

      Linux and macOS tested, both fails with similar error.

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                tuheimon Tuomas Heimonen (Inactive)
                joaijala Johanna Äijälä
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases