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

the qtcore module adds /usr/lib64 to the front of cpp.libraryPaths, shadowing my depedencies

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • 1.12.0
    • 1.11.1
    • Libraries: Qt
    • None
    • Linux/X11
    • 8d75be48c2bbe314390ff292e3a26c5403a5896a

      The Qt profile generated by 'qbs-setup-qt' sets the 'libPath' property of the 'Qt/core/core.qbs' mopdule to "/usr/lib64", which than later in the module gets written into 'cpp.libraryPaths'.

      This makes the compiler search for every library first inside "/usr/lib64", regardless of any other paths I have added to 'cpp.libraryPaths'. Any product using Qt and a library that has an incompatible version installed on the system can not be linked.

      The 'libPath' property of the core module does not seem to be needed when Qt is installed in a default library path. Setting 'libPath' to "/dev/null" fixes the problem.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            kandeler Christian Kandeler
            cstoitner Christian Stoitner
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes