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 can I install Qt debug library while installing Qt creator?

How can I install Qt debug library while installing Qt creator?

Scheduled Pinned Locked Moved Unsolved General and Desktop
qt 5.13.1debug librariesqt creatorlinuxgcc64
11 Posts 2 Posters 2.4k 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.
  • Y Offline
    Y Offline
    Yash001
    wrote on last edited by Yash001
    #1

    I am using Qt 5.13.1 and Ubuntu 18.04.

    I download Qt from https://www.qt.io/download-qt-installer?hsCtaTracking=99d9dd4f-5681-48d2-b096-470725510d34|074ddad0-fdef-4e53-8aa8-5e8a876d6ab4/

    When I search for debug library in Qt at qt lib directory is giving me nothing.
    I search using
    ls | grep ".debug" at this location ~/Qt5.13.1/5.13.1/gcc_64/lib.

    Do I need to install any other package to get debug library in Qt?

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

      Hi,

      Did you modify the path for the installation ?

      Just checked and the .debug versions are there.

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

      Y 1 Reply Last reply
      0
      • SGaistS SGaist

        Hi,

        Did you modify the path for the installation ?

        Just checked and the .debug versions are there.

        Y Offline
        Y Offline
        Yash001
        wrote on last edited by
        #3

        @SGaist said in How can I install Qt debug library while installing Qt creator?:

        Did you modify the path for the installation ?

        @SGaist
        I completely remove Qt from old path by call MaintenanceTool.

        After that I reinstall it.

        @SGaist said in How can I install Qt debug library while installing Qt creator?:

        Just checked and the .debug versions are there.

        I checked it, No, There is not debug version.

        1 Reply Last reply
        0
        • Y Offline
          Y Offline
          Yash001
          wrote on last edited by
          #4

          Is it fine if i will use Qt Release library with my C++ debug library?

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

            Did you try to do a debug build of your application ?

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

            Y 1 Reply Last reply
            0
            • SGaistS SGaist

              Did you try to do a debug build of your application ?

              Y Offline
              Y Offline
              Yash001
              wrote on last edited by
              #6

              @SGaist Yes, I tried my project in Debug mode in Qt creator . It is working fine in tool.
              I want to release my C++ library code with Qt Library in Release Debug mode. So That, Non QT user can also use my code.

              SGaistS 1 Reply Last reply
              0
              • Y Yash001

                @SGaist Yes, I tried my project in Debug mode in Qt creator . It is working fine in tool.
                I want to release my C++ library code with Qt Library in Release Debug mode. So That, Non QT user can also use my code.

                SGaistS Offline
                SGaistS Offline
                SGaist
                Lifetime Qt Champion
                wrote on last edited by
                #7

                @Yash001 said in How can I install Qt debug library while installing Qt creator?:

                I want to release my C++ library code with Qt Library in Release Debug mode. So That, Non QT user can also use my code.

                That phrase is not really clear.

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

                Y 1 Reply Last reply
                0
                • SGaistS SGaist

                  @Yash001 said in How can I install Qt debug library while installing Qt creator?:

                  I want to release my C++ library code with Qt Library in Release Debug mode. So That, Non QT user can also use my code.

                  That phrase is not really clear.

                  Y Offline
                  Y Offline
                  Yash001
                  wrote on last edited by
                  #8

                  @SGaist said in How can I install Qt debug library while installing Qt creator?:

                  That phrase is not really clear.

                  I am creating API library, which is create with help of C++ code and Qt code.
                  In Other word, My Library code is depend on Qt Code. In library Package, I want to bundle debug library and release library.

                  For my code I can generate debug library by build as Debug mode, and release library by setting build as Release.

                  for Qt code I can take dependent release library from location ~/Qt/5.13.1/gcc_64/lib/ but I do not have debug library of Qt code.

                  I did same thing on windows platform and it is work fine. On windows platform I found all library of Qt code, example like Qt5Core.dll and Qt5Cored.dll

                  I am trying implement same things on Linux.

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

                    How are you planning to distribute your library ?

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

                    Y 1 Reply Last reply
                    0
                    • SGaistS SGaist

                      How are you planning to distribute your library ?

                      Y Offline
                      Y Offline
                      Yash001
                      wrote on last edited by Yash001
                      #10

                      @SGaist said in How can I install Qt debug library while installing Qt creator?:

                      How are you planning to distribute your library ?

                      I am planing to create libraries bundle by following steps:

                      1. creating my own libraries on Qt Creator
                      2. collect all require libraries and plugin with help of CQTDeployer tool
                      3. attached shell script, which will set require variable.
                      BASE_DIR=$(dirname "$(readlink -f "$0")")
                      export LD_LIBRARY_PATH="$BASE_DIR"/lib:"$BASE_DIR":$LD_LIBRARY_PATH
                      export QT_PLUGIN_PATH="$BASE_DIR"/plugins:QT_PLUGIN_PATH
                      export QT_QPA_PLATFORM_PLUGIN_PATH="$BASE_DIR"/plugins/platforms:QT_QPA_PLATFORM_PLUGIN_PATH
                      

                      are you recommend any better way to distribute libraries?

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

                        A library is not an application. If you are targeting several Linux distributions, the nicest would be to provide a package using their format e.g. .deb files for Debian based distributions.

                        As for Windows, there's no real package format. Maybe using something like conan.io might be an option. Otherwise an archive that provides your .dll, header and .lib files for the various compilers you want to support is usually good enough.

                        However packing a full version of all your dependencies, while it sounds nice, might prove problematic. If you provide them, then you should also take care of updating them in case of security issues found during the year.

                        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

                        • Login

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