There might be another reason not to use qDebug for non-debug purposes and especially not for some console replacements: 
	
	- Warning: The internal buffer is limited to 8192 bytes, including the '\0'-terminator. 
        Warning: The internal buffer is limited to 8192 bytes, including the '\0'-terminator.
To copy to clipboard, switch view to plain text mode 
  
I once got severely bitten by this restriction. Wondered why some debug output always stopped at a certain point and wasted quite some time trying to find the bug in my routines.  
				
			
Bookmarks