Fix debug only build of qt for mac os

Authored by fazevedo on May 20 2019, 3:36 PM.