removed all warnings on qt 5.2.0
displaying square numbers. needs font setting though