You are not logged in.

Dear visitor, welcome to KDE-Forum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

Dexter

Unregistered

1

Monday, April 26th 2004, 1:14pm

META sources generation

Hi,

What to do if the Makefile generated by KDevelop doesn't automatically generate .moc files ? (i don't want to generate them manually).

What to do to completely regenarate compiling scripts (configure*, makefiles* ...)

Thx

amos

Beginner

Posts: 10

Location: Manchester, UK

  • Send private message

2

Tuesday, April 27th 2004, 11:05am

Does Rebuild Project not rerun them?

Or failing that how about changing to the src directory and typing qmake nameofproject.pro at a konsole.

Or delete the files and rebuild the project.

Cheers
Amos
May the wind at your back never be your own!

This post has been edited 1 times, last edit by "amos" (Apr 27th 2004, 12:09pm)


dfaure

Beginner

Posts: 16

Location: France

  • Send private message

3

Thursday, April 29th 2004, 4:35pm

RE: META sources generation

I don't know the kdevelop GUI, but from the command line, try
make -f Makefile.cvs
./configure
make
make install

When adding/removing the Q_OBJECT macro from a .h file, type
make force-reedit
in that directory, to force the Makefile magic (am_edit) to re-run and notice the new files needing a .moc
David Faure, KDE developer, Klaralvdalens-Datakonsult AB.