Move test code to example directory

Add subdirectory for qt to only be built for linux-64 platform. Will add
android platform example in the future