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. How to connect Risip in Qt

How to connect Risip in Qt

Scheduled Pinned Locked Moved Unsolved General and Desktop
52 Posts 6 Posters 10.5k Views 4 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.
  • M Offline
    M Offline
    Mikeeeeee
    wrote on last edited by
    #26

    Do you know why the same compiler might not compile the project?
    Maybe You know how to connect this:
    https://github.com/qTox/qTox
    [https://github.com/tychosoft/sipwitchqt](link url)

    jsulmJ 1 Reply Last reply
    0
    • M Mikeeeeee

      Do you know why the same compiler might not compile the project?
      Maybe You know how to connect this:
      https://github.com/qTox/qTox
      [https://github.com/tychosoft/sipwitchqt](link url)

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #27

      @Mikeeeeee said in How to connect Risip in Qt:

      Do you know why the same compiler might not compile the project?

      No, you forgot to mention what problems you face when building...

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • M Offline
        M Offline
        Mikeeeeee
        wrote on last edited by Mikeeeeee
        #28

        Maybe it's the debugger, I only have these:!
        0_1560427300816_1.png
        error js AsteriskManager-master:: No rule to make target 'C:/Users/New Owner/Downloads/AsteriskManager-master/build-test-Desktop_Qt_5_12_3_MinGW_64_bit-Debug/../src/debug/libasteriskmanager.a', needed by 'debug/tst_loginactiontest.exe'. Stop.
        error of Qt-Asterisk-Desktop-master: dependent 'phonon\seekslider.h' does not exist.
        error qt-asterisk-code-r100 : Unknown module(s) in QT: webkit
        errors of metasec: C:\Users\New Owner\Downloads\MetaVoIP1\pjproject-2.4\pjlib\include\pj\config.h:278: error: C1189: #error: "Please specify target machine."
        C:\Users\New Owner\Downloads\MetaVoIP1\pjproject-2.4\pjlib\include\pj\config.h:278: error: C1189: #error: "Please specify target machine."
        C:\Users\New Owner\Downloads\MetaVoIP1\pjproject-2.4\pjlib\include\pj\config.h:278: error: C1189: #error: "Please specify target machine."
        C:\Users\New Owner\Downloads\MetaVoIP1\pjproject-2.4\pjlib\include\pj\config.h:278: error: C1189: #error: "Please specify target machine."
        C:\Users\New Owner\Downloads\MetaVoIP1\pjproject-2.4\pjlib\include\pj\config.h:278: error: C1189: #error: "Please specify target machine."

        jsulmJ JKSHJ 2 Replies Last reply
        0
        • M Mikeeeeee

          Maybe it's the debugger, I only have these:!
          0_1560427300816_1.png
          error js AsteriskManager-master:: No rule to make target 'C:/Users/New Owner/Downloads/AsteriskManager-master/build-test-Desktop_Qt_5_12_3_MinGW_64_bit-Debug/../src/debug/libasteriskmanager.a', needed by 'debug/tst_loginactiontest.exe'. Stop.
          error of Qt-Asterisk-Desktop-master: dependent 'phonon\seekslider.h' does not exist.
          error qt-asterisk-code-r100 : Unknown module(s) in QT: webkit
          errors of metasec: C:\Users\New Owner\Downloads\MetaVoIP1\pjproject-2.4\pjlib\include\pj\config.h:278: error: C1189: #error: "Please specify target machine."
          C:\Users\New Owner\Downloads\MetaVoIP1\pjproject-2.4\pjlib\include\pj\config.h:278: error: C1189: #error: "Please specify target machine."
          C:\Users\New Owner\Downloads\MetaVoIP1\pjproject-2.4\pjlib\include\pj\config.h:278: error: C1189: #error: "Please specify target machine."
          C:\Users\New Owner\Downloads\MetaVoIP1\pjproject-2.4\pjlib\include\pj\config.h:278: error: C1189: #error: "Please specify target machine."
          C:\Users\New Owner\Downloads\MetaVoIP1\pjproject-2.4\pjlib\include\pj\config.h:278: error: C1189: #error: "Please specify target machine."

          jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote on last edited by
          #29

          @Mikeeeeee Selecting GDB when using Microsoft compiler is not going to work.
          You need to install "Debugging Tools for Windows" as described here: https://doc.qt.io/qtcreator/creator-debugger-engines.html

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          1
          • M Offline
            M Offline
            Mikeeeeee
            wrote on last edited by
            #30

            But i have SDK for Windows 10 (10.0.18362.0) from MSVC2019 and I instal this https://developer.microsoft.com/en-us/windows/downloads/windows-10-sdk
            Qt does not automatically detect the debugger. How do I add a new debugger?

            JKSHJ 1 Reply Last reply
            0
            • M Mikeeeeee

              But i have SDK for Windows 10 (10.0.18362.0) from MSVC2019 and I instal this https://developer.microsoft.com/en-us/windows/downloads/windows-10-sdk
              Qt does not automatically detect the debugger. How do I add a new debugger?

              JKSHJ Offline
              JKSHJ Offline
              JKSH
              Moderators
              wrote on last edited by
              #31

              @Mikeeeeee said in How to connect Risip in Qt:

              How do I add a new debugger?

              Search the documentation:

              • https://doc.qt.io/qtcreator/creator-debuggers.html
              • https://doc.qt.io/qtcreator/creator-debugger-engines.html

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

              1 Reply Last reply
              0
              • M Offline
                M Offline
                Mikeeeeee
                wrote on last edited by
                #32

                There is no cdb file on my computer.exe. What do I need to download?

                1 Reply Last reply
                0
                • M Offline
                  M Offline
                  Mikeeeeee
                  wrote on last edited by
                  #33

                  Here . say that this component is available when you install Visual Studio.
                  I have SDK for Windows 10 (10.0.18362.0) .
                  But I haven't installed the profiling Tools .NET. It is necessary for the debugger or not? And you need to set the debugger for Qt?

                  JKSHJ 1 Reply Last reply
                  0
                  • M Mikeeeeee

                    Here . say that this component is available when you install Visual Studio.
                    I have SDK for Windows 10 (10.0.18362.0) .
                    But I haven't installed the profiling Tools .NET. It is necessary for the debugger or not? And you need to set the debugger for Qt?

                    JKSHJ Offline
                    JKSHJ Offline
                    JKSH
                    Moderators
                    wrote on last edited by
                    #34

                    @Mikeeeeee said in How to connect Risip in Qt:

                    Here . say that this component is available when you install Visual Studio.

                    No, CDB is not available in the Visual Studio installer.

                    You must install CDB separately: https://docs.microsoft.com/en-us/windows-hardware/drivers/debugger/

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

                    1 Reply Last reply
                    2
                    • M Offline
                      M Offline
                      Mikeeeeee
                      wrote on last edited by
                      #35

                      I configured the debugging, but still get the old error.
                      0_1560493540752_1.png

                      jsulmJ 1 Reply Last reply
                      0
                      • M Mikeeeeee

                        I configured the debugging, but still get the old error.
                        0_1560493540752_1.png

                        jsulmJ Offline
                        jsulmJ Offline
                        jsulm
                        Lifetime Qt Champion
                        wrote on last edited by
                        #36

                        @Mikeeeeee That error is unrelated to the debugger.
                        Delete the build directory, run qmake and build again.

                        https://forum.qt.io/topic/113070/qt-code-of-conduct

                        1 Reply Last reply
                        0
                        • M Offline
                          M Offline
                          Mikeeeeee
                          wrote on last edited by
                          #37

                          I have tried to do so, the error remained.

                          jsulmJ 1 Reply Last reply
                          0
                          • M Mikeeeeee

                            I have tried to do so, the error remained.

                            jsulmJ Offline
                            jsulmJ Offline
                            jsulm
                            Lifetime Qt Champion
                            wrote on last edited by
                            #38

                            @Mikeeeeee Please post your pro file

                            https://forum.qt.io/topic/113070/qt-code-of-conduct

                            1 Reply Last reply
                            1
                            • M Offline
                              M Offline
                              Mikeeeeee
                              wrote on last edited by
                              #39

                              AsteriskManager:

                              TEMPLATE = subdirs
                              
                              SUBDIRS += \
                                  src \
                                  test
                              
                              
                              QT       += network
                              
                              QT       -= gui
                              
                              TARGET = asteriskmanager
                              TEMPLATE = lib
                              CONFIG += staticlib c++11
                              
                              SOURCES += asteriskmanager.cpp \
                                  packet.cpp \
                                  action.cpp \
                                  loginaction.cpp \
                                  logoffaction.cpp \
                                  tcppackettransport.cpp
                              
                              HEADERS += asteriskmanager.h \
                                  packettransport.h \
                                  packet.h \
                                  action.h \
                                  loginaction.h \
                                  logoffaction.h \
                                  tcppackettransport.h
                              unix {
                                  target.path = /usr/lib
                                  INSTALLS += target
                              }
                              
                              
                              QT       += testlib
                              
                              QT       -= gui
                              
                              TARGET = tst_loginactiontest
                              CONFIG   += console c++11
                              CONFIG   -= app_bundle
                              
                              TEMPLATE = app
                              
                              
                              SOURCES += \
                                  main.cpp \
                                  loginactiontest.cpp \
                                  logoffactiontest.cpp \
                                  packettransportmock.cpp
                              DEFINES += SRCDIR=\\\"$$PWD/\\\"
                              
                              HEADERS += \
                                  loginactiontest.h \
                                  logoffactiontest.h \
                                  packettransportmock.h
                              
                              win32:CONFIG(release, debug|release): LIBS += -L$$OUT_PWD/../src/release/ -lasteriskmanager
                              else:win32:CONFIG(debug, debug|release): LIBS += -L$$OUT_PWD/../src/debug/ -lasteriskmanager
                              else:unix: LIBS += -L$$OUT_PWD/../src/ -lasteriskmanager
                              
                              INCLUDEPATH += $$PWD/../src
                              DEPENDPATH += $$PWD/../src
                              
                              win32-g++:CONFIG(release, debug|release): PRE_TARGETDEPS += $$OUT_PWD/../src/release/libasteriskmanager.a
                              else:win32-g++:CONFIG(debug, debug|release): PRE_TARGETDEPS += $$OUT_PWD/../src/debug/libasteriskmanager.a
                              else:win32:!win32-g++:CONFIG(release, debug|release): PRE_TARGETDEPS += $$OUT_PWD/../src/release/asteriskmanager.lib
                              else:win32:!win32-g++:CONFIG(debug, debug|release): PRE_TARGETDEPS += $$OUT_PWD/../src/debug/asteriskmanager.lib
                              else:unix: PRE_TARGETDEPS += $$OUT_PWD/../src/libasteriskmanager.a
                              
                              
                              1 Reply Last reply
                              0
                              • M Mikeeeeee

                                Maybe it's the debugger, I only have these:!
                                0_1560427300816_1.png
                                error js AsteriskManager-master:: No rule to make target 'C:/Users/New Owner/Downloads/AsteriskManager-master/build-test-Desktop_Qt_5_12_3_MinGW_64_bit-Debug/../src/debug/libasteriskmanager.a', needed by 'debug/tst_loginactiontest.exe'. Stop.
                                error of Qt-Asterisk-Desktop-master: dependent 'phonon\seekslider.h' does not exist.
                                error qt-asterisk-code-r100 : Unknown module(s) in QT: webkit
                                errors of metasec: C:\Users\New Owner\Downloads\MetaVoIP1\pjproject-2.4\pjlib\include\pj\config.h:278: error: C1189: #error: "Please specify target machine."
                                C:\Users\New Owner\Downloads\MetaVoIP1\pjproject-2.4\pjlib\include\pj\config.h:278: error: C1189: #error: "Please specify target machine."
                                C:\Users\New Owner\Downloads\MetaVoIP1\pjproject-2.4\pjlib\include\pj\config.h:278: error: C1189: #error: "Please specify target machine."
                                C:\Users\New Owner\Downloads\MetaVoIP1\pjproject-2.4\pjlib\include\pj\config.h:278: error: C1189: #error: "Please specify target machine."
                                C:\Users\New Owner\Downloads\MetaVoIP1\pjproject-2.4\pjlib\include\pj\config.h:278: error: C1189: #error: "Please specify target machine."

                                JKSHJ Offline
                                JKSHJ Offline
                                JKSH
                                Moderators
                                wrote on last edited by
                                #40

                                @Mikeeeeee said in How to connect Risip in Qt:

                                Maybe it's the debugger

                                Actually, none of the errors you listed are caused by the debugger.

                                error of Qt-Asterisk-Desktop-master: dependent 'phonon\seekslider.h' does not exist.

                                This error tells you that the project is looking for a header file called seekslider.h, but it cannot find the header.

                                error qt-asterisk-code-r100 : Unknown module(s) in QT: webkit

                                This error tells you that Qt WebKit is not installed.

                                The Qt WebKit module was deprecated and removed from Qt 5.6.

                                You have 2 options:

                                • Downgrade to Qt 5.5, OR
                                • Install an unofficial version: https://github.com/annulen/webkit/tree/qtwebkit-5.212.0-alpha2

                                errors of metasec: C:\Users\New Owner\Downloads\MetaVoIP1\pjproject-2.4\pjlib\include\pj\config.h:278: error: C1189: #error: "Please specify target machine."

                                config.h requires you to #define a macro so that #ifdef logic will not lead to an #error.

                                Read config.h, especially the lines above line #278 to figure out what you need to do.

                                error js AsteriskManager-master:: No rule to make target 'C:/Users/New Owner/Downloads/AsteriskManager-master/build-test-Desktop_Qt_5_12_3_MinGW_64_bit-Debug/../src/debug/libasteriskmanager.a', needed by 'debug/tst_loginactiontest.exe'. Stop.

                                I'm not sure about this error. Fix the others first, then come back to this one.

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

                                1 Reply Last reply
                                2
                                • M Offline
                                  M Offline
                                  Mikeeeeee
                                  wrote on last edited by
                                  #41

                                  It looks like each of these projects will be a lot of fuss. Maybe you know how to connect PJSIP?

                                  JKSHJ 1 Reply Last reply
                                  0
                                  • M Mikeeeeee

                                    It looks like each of these projects will be a lot of fuss. Maybe you know how to connect PJSIP?

                                    JKSHJ Offline
                                    JKSHJ Offline
                                    JKSH
                                    Moderators
                                    wrote on last edited by
                                    #42

                                    @Mikeeeeee said in How to connect Risip in Qt:

                                    Maybe you know how to connect PJSIP?

                                    I've never used PJSIP before, sorry.

                                    I can offer help with things related to Qt, but I can't offer help with external tools that I've never used before.

                                    If this is important to you, I recommend you hire a professional to help you.

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

                                    1 Reply Last reply
                                    2
                                    • M Offline
                                      M Offline
                                      Mikeeeeee
                                      wrote on last edited by
                                      #43

                                      How do you connect such libraries with the help of the compiler?

                                      JKSHJ 1 Reply Last reply
                                      0
                                      • M Mikeeeeee

                                        How do you connect such libraries with the help of the compiler?

                                        JKSHJ Offline
                                        JKSHJ Offline
                                        JKSH
                                        Moderators
                                        wrote on last edited by
                                        #44

                                        @Mikeeeeee said in How to connect Risip in Qt:

                                        How do you connect such libraries with the help of the compiler?

                                        1. Download (or build) a version of the library that is compatible with your compiler.
                                        2. Add the library to your project: https://doc.qt.io/qt-5/qmake-project-files.html#declaring-other-libraries
                                        3. #include the library headers in your own code and call the library functions
                                        4. Build your code

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

                                        1 Reply Last reply
                                        2
                                        • M Offline
                                          M Offline
                                          Mikeeeeee
                                          wrote on last edited by
                                          #45

                                          But PJSIP does not have dll and lib files.

                                          mrjjM JKSHJ 2 Replies 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