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

Qt static build fails on Linux

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P2: Important
    • None
    • 5.5.1
    • Build System
    • None
    • Ubuntu 14.04 (VirtualBox guest)

    Description

      I was trying to build static Qt on Linux (VirtualBox guest) according to the instruction from http://doc.qt.io/qt-5/linux-deployment.html. For this purpose I have download the actual version of Qt (http://download.qt.io/official_releases/qt/5.5/5.5.1/single/qt-everywhere-opensource-src-5.5.1.tar.gz).
      However, make fails with the following error (the whole log is also attached as a txt):

      /home/str1/share/Linux/qt-everywhere-opensource-src-5.5.1/qtdeclarative/lib/libQt5Qml.a(qqmldebugserver.o):qqmldebugserver.cpp:function QQmlDebugServerThread::run(): error: undefined reference to 'QTcpServerConnection::QTcpServerConnection()'
      collect2: error: ld returned 1 exit status
      make[4]: *** [chatserver] Error 1
      make[4]: Leaving directory `/home/str1/share/Linux/qt-everywhere-opensource-src-5.5.1/qtwebchannel/examples/webchannel/chatserver-cpp'
      make[3]: *** [sub-chatserver-cpp-make_first] Error 2
      make[3]: Leaving directory `/home/str1/share/Linux/qt-everywhere-opensource-src-5.5.1/qtwebchannel/examples/webchannel'
      make[2]: *** [sub-webchannel-make_first] Error 2
      make[2]: Leaving directory `/home/str1/share/Linux/qt-everywhere-opensource-src-5.5.1/qtwebchannel/examples'
      make[1]: *** [sub-examples-make_first] Error 2
      make[1]: Leaving directory `/home/str1/share/Linux/qt-everywhere-opensource-src-5.5.1/qtwebchannel'
      make: *** [module-qtwebchannel-make_first] Error 2

      Attachments

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

        Activity

          People

            buddenha Oswald Buddenhagen
            stoptherock1 Void Void
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes