Remove warning about CONFIG+=qtestlib being obsolete when using Qt5
several fixes in the makeChunkAvailable logic