Normal. Partout ou tu inclus ton header, il redéfinit ta fonction.
2 solutions:
soit tu déclare cette fonction dans un .c puis tu ne met que son prototype dans le header
soit tu déclare cette fonction en inline:
inline void debug_console_fonction(int number,QString text)
{
if(number>=DEBUG)
cout << qPrintable(text) << "\n";
}C++ (@++)