compile disarm.cpp with the Qt version on all platform

fixes #7085