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
Forum Updated to NodeBB v4.3 + New Features

How to connect Risip in Qt

Scheduled Pinned Locked Moved Unsolved General and Desktop
52 Posts 6 Posters 9.3k 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
    #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
        • M Mikeeeeee

          But PJSIP does not have dll and lib files.

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

          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

          1 Reply Last reply
          2
          • M Mikeeeeee

            But PJSIP does not have dll and lib files.

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

            @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:

            1. 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.

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

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

              There is described an option for Visual Studio. But how to do it in Qt?

              jsulmJ 1 Reply Last reply
              0
              • M Mikeeeeee

                There is described an option for Visual Studio. But how to do it in Qt?

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

                @Mikeeeeee Since you're using MSVC++ compiler (from Visual Studio) build the lib using the description for Visual Studio.

                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
                  #50

                  But is it possible to compile this dll into Qt? I have MSVC2019, but I never used it. How can I build a Dll in MSVC2019 (I created a library project)?

                  jsulmJ JKSHJ 2 Replies Last reply
                  0
                  • M Mikeeeeee

                    But is it possible to compile this dll into Qt? I have MSVC2019, but I never used it. How can I build a Dll in MSVC2019 (I created a library project)?

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

                    @Mikeeeeee said in How to connect Risip in Qt:

                    But is it possible to compile this dll into Qt?

                    You don't compile a dll "into Qt". You simply compile it and then use in your app.

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

                    1 Reply Last reply
                    0
                    • M Mikeeeeee

                      But is it possible to compile this dll into Qt? I have MSVC2019, but I never used it. How can I build a Dll in MSVC2019 (I created a library project)?

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

                      @Mikeeeeee said in How to connect Risip in Qt:

                      But is it possible to compile this dll into Qt?

                      It is important to understand:

                      • C++ is a language.
                      • PJSIP is a C++ library.
                      • Qt is a C++ library (mostly).
                      • Qt Creator is an IDE.
                      • Visual Studio is an IDE.
                      • Microsoft Visual C++ is a compiler.

                      You use an IDE to write code and build applications/libraries. You need to tell your IDE which compiler to use.

                      You can use Visual Studio to write C++ applications that link to the Qt and PJSIP libraries.
                      You can use Qt Creator to write C++ applications that link to the Qt and PJSIP libraries.

                      How can I build a Dll in MSVC2019 (I created a library project)?

                      You must follow the instructions from PJSIP documentation. We do not know how to build PJSIP.

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

                      1 Reply Last reply
                      3

                      • Login

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • Users
                      • Groups
                      • Search
                      • Get Qt Extensions
                      • Unsolved