I noticed that Scanner actually scans TargetPath, not WizardDir, so it's no
use for me.
What is a use case for Scanner?
https://doc.qt.io/qtcreator/creator-project-wizards.html#scanner-generator
I guess I'll have to add all files manually.
MP


Il giorno mer 1 set 2021 alle ore 17:11 Marco Piccolino <
marco.a.piccol...@gmail.com> ha scritto:

> 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?
>
> Many thanks,
> Marco Piccolino
>
_______________________________________________
Qt-creator mailing list
Qt-creator@qt-project.org
https://lists.qt-project.org/listinfo/qt-creator

Reply via email to