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

QSR not compiled with Qt5.12.4/5

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P0: Blocker
    • QSR 1.1.1
    • QSR 1.1.1
    • Tooling
    • Ubuntu18.04 x64
      GCC = 9.1.0
    • 0.5
    • 2f6f5032bcfa91cdb838c7c6387f1b443130e26d 76e19ec56262002e06bcd53f0837c37168ddeb97
    • Sprint 13, Sprint 15

    Description

      Install Qt5.12.4 binaries from online repo, build QSR according to manual. Build fails with:

      make[2]: *** [.obj/qsafetextprovider.o] Error 1
      make[1]: *** [sub-qtsaferendererplugin-make_first] Error 2
      make[1]: *** Waiting for unfinished jobs....
      In file included from /home/qt/RTA/qt5/5.12.4/gcc_64/include/QtCore/qlocale.h:43,
                       from /home/qt/RTA/qt5/5.12.4/gcc_64/include/QtCore/qtextstream.h:46,
                       from /home/qt/RTA/qt5/5.12.4/gcc_64/include/QtCore/qdebug.h:49,
                       from /home/qt/RTA/qt5/5.12.4/gcc_64/include/QtNetwork/qabstractsocket.h:47,
                       from /home/qt/RTA/qt5/5.12.4/gcc_64/include/QtNetwork/qtcpsocket.h:44,
                       from /home/qt/RTA/qt5/5.12.4/gcc_64/include/QtNetwork/QTcpSocket:1,
                       from .moc/../../../../../QtSafeRenderer-1.1.1/src/messagesenderplugin/networkmsg/networkmsgplugin.h:32,
                       from .moc/moc_networkmsgplugin.cpp:9:
      /home/qt/RTA/qt5/5.12.4/gcc_64/include/QtCore/qvariant.h: In constructor \xe2\x80\x98QVariant::QVariant(QVariant&&)\xe2\x80\x99:
      /home/qt/RTA/qt5/5.12.4/gcc_64/include/QtCore/qvariant.h:273:25: warning: implicitly-declared \xe2\x80\x98constexpr QVariant::Private& QVariant::Private::operator=(const QVariant::Private&)\xe2\x80\x99 is deprecated [-Wdeprecated-copy]
        273 |     { other.d = Private(); }
            |                         ^
      /home/qt/RTA/qt5/5.12.4/gcc_64/include/QtCore/qvariant.h:399:16: note: because \xe2\x80\x98QVariant::Private\xe2\x80\x99 has user-provided \xe2\x80\x98QVariant::Private::Private(const QVariant::Private&)\xe2\x80\x99
        399 |         inline Private(const Private &other) Q_DECL_NOTHROW
            |                ^~~~~~~
      rm -f libnetworkmsgplugin.so
      g++ -Wl,--enable-new-dtags -Wl,-rpath,/home/qt/RTA/qt5/5.12.4/gcc_64/lib -Wl,-rpath,/home/qt/RTA/qt5/5.12.4/gcc_64/lib -shared -o libnetworkmsgplugin.so .obj/networkmsgplugin.o .obj/qsafeevent.o .obj/moc_networkmsgplugin.o  -L/home/qt/openssl-1.1.1b/lib /home/qt/RTA/qt5/5.12.4/gcc_64/lib/libQt5Gui.so /home/qt/RTA/qt5/5.12.4/gcc_64/lib/libQt5Network.so /home/qt/RTA/qt5/5.12.4/gcc_64/lib/libQt5Core.so -lGL -lpthread    
      mv -f libnetworkmsgplugin.so /home/qt/RTA/qt5/5.12.4/gcc_64/plugins/saferenderer/libnetworkmsgplugin.so
      make[3]: Leaving directory '/home/qt/RTA/qt5/Src/build-qtsaferenderer-Desktop_Qt_5_12_4_GCC_64bit-Debug/src/messagesenderplugin/networkmsg'
      make[2]: Leaving directory '/home/qt/RTA/qt5/Src/build-qtsaferenderer-Desktop_Qt_5_12_4_GCC_64bit-Debug/src/messagesenderplugin'
      make[1]: Leaving directory '/home/qt/RTA/qt5/Src/build-qtsaferenderer-Desktop_Qt_5_12_4_GCC_64bit-Debug/src'
      Makefile:49: recipe for target 'sub-src-make_first' failed
      make: *** [sub-src-make_first] Error 2
      07:26:02: The process "/usr/bin/make" exited with code 2.
      Error while building/deploying project qtsaferenderer (kit: Desktop Qt 5.12.4 GCC 64bit)
      When executing step "Make"
      

      Affects only linux. On macOS and Windows builds fine.

      Attachments

        Issue Links

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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes