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. audio call app not working
Forum Update on Monday, May 27th 2025

audio call app not working

Scheduled Pinned Locked Moved Unsolved General and Desktop
11 Posts 4 Posters 1.2k Views
  • 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.
  • D Offline
    D Offline
    Dimple
    wrote on last edited by
    #1

    hi ,,anybody pls suggest me to solve this problem ,,
    i downloaded this project in github
    https://github.com/tobiasschulz/call-qt
    if i run im getting error ,,
    C:\Qt\5.11.2\mingw53_32\include\QtCore\qglobal.h:752: error: no matching function for call to 'asString(QAbstractSocket::SocketError&)'

    define qPrintable(string) QtPrivate::asString(string).toLocal8Bit().constData()

                                                        ^
    
    aha_1980A 1 Reply Last reply
    0
    • D Dimple

      hi ,,anybody pls suggest me to solve this problem ,,
      i downloaded this project in github
      https://github.com/tobiasschulz/call-qt
      if i run im getting error ,,
      C:\Qt\5.11.2\mingw53_32\include\QtCore\qglobal.h:752: error: no matching function for call to 'asString(QAbstractSocket::SocketError&)'

      define qPrintable(string) QtPrivate::asString(string).toLocal8Bit().constData()

                                                          ^
      
      aha_1980A Offline
      aha_1980A Offline
      aha_1980
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @Dimple It will probably be the easiest to compile against the Qt version that was used to develop the app.

      As the project seems to be dead for five years, you could try some early Qt5 version (5.1.x, 5.2.x) first.

      To get it compile on recent Qt versions, some fixes might be necessary.

      Qt has to stay free or it will die.

      1 Reply Last reply
      1
      • D Offline
        D Offline
        Dimple
        wrote on last edited by
        #3

        can u pls suggest me how to fix it to compile with latest QT5 version(5.11.2) ?

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Hi,

          As silly as it may sound: take a look at the full error log and fix the code in that project where it happens.

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          1
          • D Offline
            D Offline
            Dimple
            wrote on last edited by
            #5

            im a fresher so i dnt knw how to fix it when i run this project im getting this error,,

            C:\Qt\5.11.2\mingw53_32\include\QtCore\qglobal.h:752: error: no matching function for call to 'asString(QAbstractSocket::SocketError&)'

            define qPrintable(string) QtPrivate::asString(string).toLocal8Bit().constData()

                                                                ^
            
            mrjjM 1 Reply Last reply
            0
            • D Dimple

              im a fresher so i dnt knw how to fix it when i run this project im getting this error,,

              C:\Qt\5.11.2\mingw53_32\include\QtCore\qglobal.h:752: error: no matching function for call to 'asString(QAbstractSocket::SocketError&)'

              define qPrintable(string) QtPrivate::asString(string).toLocal8Bit().constData()

                                                                  ^
              
              mrjjM Offline
              mrjjM Offline
              mrjj
              Lifetime Qt Champion
              wrote on last edited by
              #6

              @Dimple

              Hi
              You can fix that with

              void ContactScanner::onDisplayError(QAbstractSocket::SocketError error)
              {
                  log.error("onDisplayError(%s)", qPrintable(QString(error)));
              }
              
              
              1 Reply Last reply
              3
              • D Offline
                D Offline
                Dimple
                wrote on last edited by
                #7

                i tried although im getting errors

                mrjjM 1 Reply Last reply
                0
                • D Dimple

                  i tried although im getting errors

                  mrjjM Offline
                  mrjjM Offline
                  mrjj
                  Lifetime Qt Champion
                  wrote on last edited by
                  #8

                  @Dimple
                  Hi
                  Its not super easy to help when you dont tell which errors :)
                  Anyway, only a few compile errors left so here is a version that compiles
                  https://www.dropbox.com/sh/gt2fzzjwbmog5u0/AABOGmZMlb8pdszVXo9o5WQsa?dl=0

                  app runs, but seems to crash in something related to adding contacts.
                  I looked around in debugger for a moment , but it was not clear what was wrong.

                  So be prepared to debug the app should you have same crash as me.

                  1 Reply Last reply
                  1
                  • D Offline
                    D Offline
                    Dimple
                    wrote on last edited by
                    #9

                    ok thanku

                    1 Reply Last reply
                    0
                    • D Offline
                      D Offline
                      Dimple
                      wrote on last edited by
                      #10

                      @mrjj sir ,,,im getting these
                      0_1541221500225_error.PNG

                      aha_1980A 1 Reply Last reply
                      0
                      • D Dimple

                        @mrjj sir ,,,im getting these
                        0_1541221500225_error.PNG

                        aha_1980A Offline
                        aha_1980A Offline
                        aha_1980
                        Lifetime Qt Champion
                        wrote on last edited by
                        #11

                        @Dimple thats exactly the bug @mrjj described.

                        fixing that needs a debugger, some experience and time ;)

                        Qt has to stay free or it will die.

                        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