title: Qt entry point not found in visual studio release mode
body: <p>My Qt Widgets application (Qt 5.15) works fine in Qt creator 4.12.2 with MSVC2019 64bit compiler. Using Qt VS Tools v2.5.1 and the same compiler I was able to run the project in Visual Studio 2019 in <strong>Debug mode</strong>, but when I try to run the project in <strong>Release mode</strong>, I get the following error message:</p>
  
  <pre><code>Entry Point Not Found. The procedure entry point ?contextMenuEvent@QLabel@@MEAAXPEAVQContextMenuEvent@@@Z could not be located in the dynamic link library C:\...\app1.exe
  </code></pre>
  
  <p>I know there are similar questions (See <a href="https://stackoverflow.com/questions/11484000/qtgui4-dll-entry-point-not-found">here</a> and <a href="https://stackoverflow.com/questions/42362250/cannot-run-qt-c-release-build-the-procedure-entry-point-could-not-be-located/42362464">here</a>) but the error messages there clearly state a missing .dll file while in my case it is refering to a .exe file. Can someone explain why this happens and how can I resolve this issue?</p>