Qtdev

added the new simtest.cpp and fixed some build issues . not qt related