[QBS] Recursively copying direcotyr

Hristo Hristov registrirayme at live.com
Tue Sep 22 08:19:46 CEST 2015




Hello,
If copying of a directory is now deprecated:
WARNING: Recursively copying directory 
This behavior is deprecated and will change in qbs 1.5. Install the individual file artifacts instead.
What would be an easy way to install lost of stuff? Why is this behavior deprecated? It used to be easy: copy everything and live happily ever after? Now I'll need to handle lots and lots of file extensions and sub-directories and make the Qbs project inflate in size just because of these. Or is there a better way?
Than this:

    Group {
        // Assets to install
        name: "Assets"
        files: [
            "assets/icons/*.png",
            "assets/icons/*.jpg"
        ]
        qbs.install: true
        qbs.installDir: destinationDirectoryPath + "/assets/icons"
    }

Regards
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qbs/attachments/20150922/ba0e4dee/attachment.html>


More information about the Qbs mailing list