added CONFIG += console to p3.pro