remove qtgui include in cpp