# Mingw release build Symantec antivirus issue

• Qt version: qt-opensource-windows-x86-android-5.4.0.exe installed.

the release build is showing an antivirus error, the .exe is quarantined.
but the debug build is working properly.

Anyone know how to solve this issue?

we have tried using msvc, it doesn't give any error for the builds.

only mingw release build has an issue.

some one help in solving this.

• Hi and welcome to devnet

If it is your exe which is quarantined, try another application (e.g. one of the Qt examples).
When it is one of the installed components of Qt, please check on "JIRA":https://bugreports.qt.io/secure/Dashboard.jspa and eventually file a bug report.

I had a similar occasion, but it had nothing to do with Qt. A small test application was always quarantined by Bitdefender antivirus. It was a really stupidly short program trying to compile a dll example code.

As far as I remember it was calling this routine with a static value:
@
int Double(int x)
{
return 2 * x;
}
@

Whenever the call was included Bitdefender was in action very fast. When the call was commented out I could debug the program.

However, the program was compiled in Qt creator and no Qt components are used. So it was clearly no Qt problem and has probably something to do with MinGW libs.

Hope this helps.