How to connect Risip in Qt
- 
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."@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
- 
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?
- 
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?@Mikeeeeee said in How to connect Risip in Qt: How do I add a new debugger? Search the documentation: 
- 
- 
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?@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/ 
- 
@Mikeeeeee That error is unrelated to the debugger. 
 Delete the build directory, run qmake and build again.
- 
@Mikeeeeee Please post your pro file 
- 
AsteriskManager: TEMPLATE = subdirs SUBDIRS += \ src \ testQT += 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
- 
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."@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 #definea macro so that#ifdeflogic 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. 
- 
It looks like each of these projects will be a lot of fuss. Maybe you know how to connect PJSIP? @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. 
- 
@Mikeeeeee said in How to connect Risip in Qt: How do you connect such libraries with the help of the compiler? - Download (or build) a version of the library that is compatible with your compiler.
- Add the library to your project: https://doc.qt.io/qt-5/qmake-project-files.html#declaring-other-libraries
- #includethe library headers in your own code and call the library functions
- Build your code
 
- 
Hi 
 You are supposed to produce the DLL and lib files your self by closely following
 https://trac.pjsip.org/repos/wiki/Getting-Started/Windows
- 
@Mikeeeeee said in How to connect Risip in Qt: But PJSIP does not have dll and lib files. @mrjj is right. As I said in my previous post: - build a version of the library that is compatible with your compiler.
 Here, "build" means use your compiler to create .dll/.lib files from the library's source code. 
 

