Important: Please read the Qt Code of Conduct -

Visual studio 2013 Add-in custom build MOC file name generation

  • I'm trying to figure out how to change the file extension of the files the visual studio add in creates when doing its custom build. For instance I'm trying to change the moc extensions from .cpp to .cc. Primary motivator is to prevent the generated files from showing up in my searches when search for a snippet of code.

    I figured out I can right click on a file and in its properties change the command line argument to moc so I can do what I want, but I don't want to have to do this every time I create a new file.

    Thanks in advance!

Log in to reply