To avoid build conflicts with Qt5, with this patch, 'qt4_deprecated' needs to be added to the 'SPECS' variable (in specs.conf) when building for Qt4. Issue #345.