Unsolved How to connect Risip in Qt
-
But none of these projects are compiled. You don't know how to fix it?
-
@Mikeeeeee
hi
Nope. You are not showing any error so its impossible to guess at. -
Qt-Asterisk-Desktop-master generates an error when compiling: :No rule to make target 'phonon/seekslider.h', needed by 'tmp/ui/ui_admvoicemailwidget.h'. Stop.
Asterisk Manager-master generates an error when compiling:
error: Owner/Downloads/AsteriskManager-master/test/": No such file or directory
error: Owner/Downloads/AsteriskManager-master/test/": No such file or directory -
@Mikeeeeee
Sorry. i dont know.
i download the zip file and it just compiled. no errros.
With visual studio compiler.
What are you using ? -
MinGW 32
MSVC 2019 32 and 64 bit also give an error -
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) -
@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...
-
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? -
@Mikeeeeee said in How to connect Risip in Qt:
How do I add a new debugger?
Search the documentation:
-
There is no cdb file on my computer.exe. What do I need to download?
-
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/
-
I configured the debugging, but still get the old error.
-
@Mikeeeeee That error is unrelated to the debugger.
Delete the build directory, run qmake and build again. -
I have tried to do so, the error remained.
-
@Mikeeeeee Please post your pro file
-
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
-
@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.