ProjectManager: Simplify Project::setBuildSystemCreator()

Make it a template method.

Change-Id: I3f0510c89d7f0bfe2f814dadc4d8de01c0e1cc89
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
Jarek Kobus
2024-07-15 16:34:49 +02:00
parent d4776e6401
commit cebaab596d
11 changed files with 17 additions and 14 deletions

View File

@@ -44,7 +44,7 @@ public:
setHasMakeInstallEquivalent(true);
setBuildSystemCreator([](Target *t) { return new AutotoolsBuildSystem(t); });
setBuildSystemCreator<AutotoolsBuildSystem>();
}
};