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

qtcreator run environment for external dll

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Invalid
    • Affects Version/s: 1.8.1
    • Fix Version/s: None
    • Component/s: Qt Creator Integration
    • Labels:
      None
    • Environment:
      windows 7, qt Creator 4.3.1

      Description

      I have static library subproject which depends on external dynamic libraries.
      I can successfully export external lib files to the main project for linking, but can't find a way to say qtcreator to add dll directory to the PATH during application run.
      After reading documentation I expected that next code will work"

      Export {
              Depends { name: "cpp" }
              Properties {
                  condition: qbs.targetOS.contains("windows")
                  cpp.systemRunPaths: [mylib.sourceDirectory +"/dll"]
                  }
              }
          }
      

      But it not works. Same for `cpp.libraryPaths`.

      Probably this is not a bug, but just unclear documentation.

      Thank you.

        Attachments

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

          Activity

            People

            Assignee:
            kandeler Christian Kandeler
            Reporter:
            johngull Vitaly
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes