Author Topic: Qt Moc Calls  (Read 5705 times)

dgoemans

  • Guest
Qt Moc Calls
« on: January 21, 2009, 10:02:58 pm »
Hi,
Firstly, thanks for the brilliant IDE! CodeBlocks is pretty much the only IDE i use in my free time, and there is no other obvious choice. I'd like to contribute and one of the biggest features i find lacking is there doesn't seem to be a way to run moc automatically on a Qt project. I have written a build script ( documented here: http://bushweed.blogspot.com/2008/10/pragma-once.html ) but i would like to incorporate it into the IDE. I was considering just modifying the Qt template to include my script, but my script only generates the new cpp files and doesn't add them to the project. Any suggestions as to the best place to put this code so that i can submit a patch?
Thanks
David Goemans
-= Game Developer, CodeGlue =-

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7252
Re: Qt Moc Calls
« Reply #1 on: January 21, 2009, 10:12:20 pm »
You can also use scripts to add files to the project (and of course many more).
See here.

Offline dmoore

  • Developer
  • Lives here!
  • *****
  • Posts: 1576
Re: Qt Moc Calls
« Reply #2 on: January 21, 2009, 10:39:54 pm »
also check out: Scripting Code::Blocks