PDF4QT/qbs/imports/Pdf4QtApp.qbs
raphaelcotty e8066dd330
Linux crash (#9)
* Qbs build: correct rpath for conan libraries

Libraries managed with conan are now downloaded in dynamic. They are
also installed in the build directory.
This directory path is also added to all the applications rpaths.
This ensure that the application loads the correct library.

* Qbs build: correct rpath for conan libraries

Libraries managed with conan are now downloaded in dynamic. They are
also installed in the build directory.
This directory path is also added to all the applications rpaths.
This ensure that the application loads the correct library.
2022-01-09 17:26:42 +01:00

17 lines
434 B
QML

import qbs.FileInfo
Pdf4QtProduct {
Depends { name: "cpp" }
type: "application"
cpp.rpaths: [FileInfo.joinPaths(cpp.rpathOrigin, "..", "lib"), conanLibDirectory]
Depends { name: "Pdf4QtLib" }
Group {
fileTagsFilter: product.type
qbs.install: true
qbs.installDir: targetInstallDir
qbs.installSourceBase: buildDirectory
}
targetInstallDir: pdf4qtbuildconfig.appInstallDir
}