Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qt-5.4.0 undefined reference to `QDebug::~QDebug()'
Forum Updated to NodeBB v4.3 + New Features

Qt-5.4.0 undefined reference to `QDebug::~QDebug()'

Scheduled Pinned Locked Moved General and Desktop
5 Posts 4 Posters 4.1k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    sboyce
    wrote on last edited by
    #1

    A previous git clone of qt-5.4.0 does not report this error when building my application.
    The clone dated 29th. June is OK but the ones done in the last few days give the error.

    /usr/src/ghpsdr3-alex/trunk/src/QtRadio/Frequency.cpp:365: undefined reference to QDebug::~QDebug()' /usr/src/ghpsdr3-alex/trunk/src/QtRadio/Frequency.cpp:372: undefined reference to QDebug::~QDebug()'
    /usr/src/ghpsdr3-alex/trunk/src/QtRadio/Frequency.cpp:372: undefined reference to QDebug::~QDebug()' /usr/src/ghpsdr3-alex/trunk/src/QtRadio/Frequency.cpp:365: undefined reference to QDebug::~QDebug()'
    QtRadio-Configure.o: In function Configure::initAudioDevices(Audio*)': /usr/src/ghpsdr3-alex/trunk/src/QtRadio/Configure.cpp:185: undefined reference to QDebug::~QDebug()'
    QtRadio-Configure.o:/usr/src/ghpsdr3-alex/trunk/src/QtRadio/Configure.cpp:185: more undefined references to `QDebug::~QDebug()' follow
    collect2: error: ld returned 1 exit status
    Makefile:782: recipe for target 'QtRadio' failed
    make[3]: *** [QtRadio] Error 1

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      This is something for IRC, development mailing list, or the bug tracker. Qt developers are rare on this forum and your post is very likely to go unnoticed.

      (Z(:^

      1 Reply Last reply
      0
      • JKSHJ Offline
        JKSHJ Offline
        JKSH
        Moderators
        wrote on last edited by
        #3

        Hi,

        Qt 5.4.0 is not yet released. You have cloned the "dev" branch, which is expected to be unstable.

        For your project, using an officially-released version is recommended. You should clone the "v5.3.1" tag instead.

        Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

        1 Reply Last reply
        0
        • S Offline
          S Offline
          sboyce
          wrote on last edited by
          #4

          Thanks,
          Where I have come across the problem I reverted to 5.3.1.
          git clone now gets 5.3.1 and I checked out dev to get 5.4.0.

          git branch

          5.3

          • dev
          1 Reply Last reply
          0
          • _ Offline
            _ Offline
            _dmp
            wrote on last edited by
            #5

            I got http://download.qt-project.org/development_releases/qt/5.4/5.4.0-beta/single/qt-everywhere-opensource-src-5.4.0-beta.tar.xz

            When I compile I got errors:

            .obj/qsqldatabase.o:qsqldatabase.cpp:function QSqlDatabasePrivate::database(QString const&, bool): error: undefined reference to 'QDebug::~QDebug()'

            .obj/qsqlfield.o:qsqlfield.cpp:function operator<<(QDebug, QSqlField const&): error: undefined reference to 'QDebug::~QDebug()'

            .obj/qtestlog.o:qtestlog.cpp:function QTest::messageHandler(QtMsgType, QMessageLogContext const&, QString const&): error: undefined reference to 'qFormatLogMessage(QtMsgType, QMessageLogContext const&, QString const&)'

            .obj/qnetworkaccessbackend.o:qnetworkaccessbackend.cpp:function QNetworkAccessBackend::createUploadByteDevice(): error: undefined reference to 'QNonContiguousByteDeviceFactory::createShared(QSharedPointer<QRingBuffer>)'

            what can help me?

            Some body get compiled Qt 5.4 beta for imx.6 successfully?

            1 Reply Last reply
            0

            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved