Uploaded image for project: 'Qbs ("Cubes")'
  1. Qbs ("Cubes")
  2. QBS-1201

multiple linking of qt libs

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 1.9.1
    • 1.9.0
    • Dependency Tracking
    • None
    • Qt Creator 4.4
    • 83f43f57ac79fa673fda08805e29763a8303d5ea

    Description

      Let's assume I have product App, that depends on LibA.
      LibA depends on LibB and LibC.
      LibB depends on LibD.
      LibC depends on LibD.

      And all these libraries depend on different Qt submodules.

      QBS correctly handle multiple including of LibD. But if you will look to linker string it will contain 6 libQt5Core.a, 4 libQt5Network.a and so on.

      This looks like not big problem, but for my project (which includes dozens of libraries with multiple cross-dependencies) it makes linker string too long and hit "g++.exe: error: CreateProcess: No such file or directory"

      Attachments

        For Gerrit Dashboard: QBS-1201
        # Subject Branch Project Status CR V

        Activity

          People

            kandeler Christian Kandeler
            johngull Vitaly
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes