Qtdev

nothing to do with qt yet, just some build issues and the new simtest.cpp