Nominate our 2022 Qt Champions!

ProjectName in ClassWizard

  • Hi,

    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?


Log in to reply