Added mock as QT_API option