I have created a dll that uses qt 's database libraries to access and execute queries and stored procedures on ms sql server database. Development environment is Visual Studio 2003 C++.

dll works fine with qt 4.1.4. But although project is compiled properly, i have a runtime error with 4.2.0.

" Failed to start because qtcored4.dll was not found, reinstalling may fix problem"

I have installed
  • qt-win-commercial-4.2.0-vs2003
  • qt-vsintegration-1.2.0
  • qt-win-commercial-4.2.0-vs2003


qtcored4.dll exists on qt installation directory. But it is not registered i think.
do i have to configure something after installation?

Dou you have any idea how to solve this?

Thanx a lot for any help..