On 9/1/21 5:11 PM, Marco Piccolino wrote:
Hello, I'd like to add a whole subdirectory called "usecases" to a QC "project" JSON wizard template.

The subdirectory is present in the local template folder, directly contained in the one that has wizard.json.

I tried to add this right after the "Files" generator (with and without the "binaryPattern" line):

{
               "typeId": "Scanner",
               "data": {
                       "binaryPattern":".+",
                       "subdirectoryPatterns": ["^usecases$"]
               }
 }

but nothing gets copied over, nor mentioned in the Summary page before project creation.
The "Files" sections works all right instead.

Qt Creator 4.14.1 on Windows 10.

Am I missing anything?

I don't see anything in the documentation (https://doc.qt.io/qtcreator/creator-project-wizards.html#scanner-generator) that would suggests that a Scanner generator is supposed to copy files. Its purpose appears to be picking up existing files from a given location, i.e. they already need to be in the target path.


Christian

_______________________________________________
Qt-creator mailing list
Qt-creator@qt-project.org
https://lists.qt-project.org/listinfo/qt-creator

Reply via email to