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

qtcreator run environment for external dll

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • 1.8.1
    • Qt Creator Integration
    • None
    • 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

            kandeler Christian Kandeler
            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