Things to check when deploying on Windows:
Built in release mode - in PRO file you have
CONFIG += release
so this should be okay, you may also want to add aCONFIG -= debug debug_and_release
line, just to be sureIf using MSVC - Linked against the release version of the C library (
/MD
) not debug (/MDd
)You are deploying the release version of Qt DLLs (
QtCore4.dll
) not debug with a d at the end (QtCored4.dll
)You are deploying the correct DLLs for your compiler - the Qt that comes with GCC included will have two versions of the DLLs, ones built with GCC that your program will link against, and ones built with MSVC that the pre-built tools (like
qmake
) will link against.If using MSVC, that you have all service packs and updates installed, and that the MSVC re-distributable you ship matches the compiler exactly.
This is quite tricky to get correct, if I've missed something, let me know.