Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct

    Hooking up qDebug() to console.log()?

    QML and Qt Quick
    2
    4
    4637
    Loading More Posts
    • 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.
    • G
      grego last edited by

      When running an application from Qt Creator the console.log() window output is visible in the application pane, but the qDebug() output from the embedded C++ code does not show up there, as it would for QWidgets application.

      Is there an easy way to make that happen, ideally something that would not be intrusive in javascript/qml side of things.

      Grego - http://mpaja.com/

      1 Reply Last reply Reply Quote 0
      • E
        Eddy last edited by

        "This thread":http://developer.qt.nokia.com/forums/viewthread/893/P15 might help you. Or you can find similar topics as yours by clicking on the tags on the right.

        Qt Certified Specialist
        www.edalsolutions.be

        1 Reply Last reply Reply Quote 0
        • G
          grego last edited by

          Turns out I was mistaken, both qDebug() and console.log() work with Qt Creator, my problem was that it never got to qDebug() as I was bitten by
          https://bugreports.qt.nokia.com/browse/QTCREATORBUG-6490

          Grego - http://mpaja.com/

          1 Reply Last reply Reply Quote 0
          • E
            Eddy last edited by

            Thanks for sharing!

            Could you please edit your first post and add [solved] ? Thanks

            Qt Certified Specialist
            www.edalsolutions.be

            1 Reply Last reply Reply Quote 0
            • First post
              Last post