Answer the question
In order to leave comments, you need to log in
How to install files recursively while maintaining the directory structure?
Hello.
There is a Qt project in which there are a number of html, js and css files with their own directory structure. I would like to copy them to the directory with the executable file along with the directory structure at the installation stage. The documentation for installing arbitrary files suggests using a construction of the form:
Product {
...
Group {
name: "web_files"
files: "path_to_my_folder/**"
qbs.install: true
qbs.installDir: "public_html"
}
...
}
However, in this case, the system copies all files from all subdirectories of the path_to_my_folder directory to public_html without saving the structure. Answer the question
In order to leave comments, you need to log in
Try this: https://qt.gitorious.org/qt-labs/qbs/commit/b5069f...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question