Qt Compile in Release Mode

When try to running my Qt execution program, I have error message like “the program can’t start because QtCored4.dll is missing…

The Qt file with  “…d..” is a debug file requirement.
This error showed, because we compile our code in Debug mode. We need to change our *.pro file to make Qt Compile in Release mode. Please add this line :

and compile our code again with command “qmake” and “make”

This method will change our Qt Compile in release mode.

Leave a Reply

Your email address will not be published. Required fields are marked *

 

This site uses Akismet to reduce spam. Learn how your comment data is processed.