Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
ProjectName in ClassWizard
vissoft last edited by
I have created ProjectWizards and ClassWizards to be used with QtCreator.
Everything is working fine so far.
In a ClassWizard I now want to substitute a name in a file with the ProjectName (like %ProjectName% in a ProjectWizard )
Can the ClassWizard find out the name of the project where the class is going to be added?
In my case a ui-file is referencing a resource file of the project:
project = MyProject
the ClassWizard should substitute in MyClass.ui the name %ProjectName%.qrc with MyProject.qrc
Anybody any idea how this can done?