Fix Q_DECL_EXPORT bug that caused Windows breakage.