Fixed ParaView macros to use both Qt4 and Qt5

Change-Id: I595069f00809082e30770e0c3e2dcd14ef8f69ae