Builds with Qt5
Move Qt test flag to Qt4 section in build files
Build with Qt4