Wow. Thanks for your swift replies.

The path taken from Projekt->Run settings->Run environment is

C:\Qt\2010_02_1\qt\bin;C:\Programmer\PC Connectivity Solution\;C:\Programmer\RSA SecurID Token Common;C:\Programmer\ThinkPad\Utilities;C:\WINDOWS \system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\P rogrammer\ZipGenius 6\;C:\Programmer\ATI Technologies\ATI.ACE\Core-Static;C:\Programmer\Fælles filer\Lenovo;C:\Programmer\Intel\Wireless\Bin\;C:\ Programmer\Microsoft SQL Server\80\Tools\Binn\;C:\Programmer\Microsoft SQL Server\90\DTS\Binn\;C:\Programmer\Microsoft SQL Server\90\Tools\binn\;C:\Programmer\Microsoft SQL Server\90\Tools\Binn\VSShell\Common7\IDE\;C:\Progr ammer\Microsoft Visual Studio 8\Common7\IDE\PrivateAssemblies\;C:\Programmer\jZi p;C:\Programmer\ThinkPad\ConnectUtilities;C:\Progr ammer\Bazaar;C:\Programmer\Java\jre1.6.0_07\bin\cl ient;C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727 ;C:\Programmer\Global Refund\Shop Assistant;C:\Programmer\OPOS\Epson2;c:\python26;C: \Programmer\IronPython 2.0.1;c:\progs\cmd;C:\Programmer\TortoiseSVN\bin;C :\Qt\2010_02_1\qt\bin;C:\Qt\2010_02_1\bin;C:\Qt\20 10_02_1\mingw\bin

The path from the QT command prompt is

C:\Qt\2010_02_1\qt\bin;C:\Qt\2010_02_1\bin;C:\Qt\2 010_02_1\mingw\bin;C:\WINDOWS\System32


The "c:\Programmer\SQLXML 4.0\bin" is in an environment variable called LIB. I didn't put it there, and don't know what it's for. It's the only entry in the LIB environment variable.