add sample-qt
fix to build sample