writing qdots to cppfile now works excellent