Tips to increase compilation speed?
See –enable-final above 🙂 . “make final” uses the all-in-one-file trick in the current directory even if –enable-final wasn’t used, and “make no-final” does a normal compilation in the current directory even if –enable-final was used. Include your moc files! Header files declaring a QObject descendant have to be run through moc to produce a .moc file. This .moc file has to be compiled, for which two possibilities exists: compile it separately, or #include it in the C++ file implementing that above mentioned class. The latter is more efficient in term of compilation speed. BTW, kdesdk/scripts/includemocs does this automatically. Buy more ram, a faster machine and another processor.