What is "c:\Programmer\SQLXML 4.0\bin"? How did it end up in your linker path?
What is "c:\Programmer\SQLXML 4.0\bin"? How did it end up in your linker path?
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.
I don't have such entry in my examples/mainwindows/application project file. Are you sure you didn't change any files? What exactly did you do to download, install Qt and build the example?
I'm not an expert but one other thing you could try is to build the app from the Qt command prompt - at least that will give you a 'clean' environment and path.
There are these weird spaces in the path and also in the build log - is it a non-english OS (although that shouldn't matter).
I also noticed visual studio 8 is in the path. I would put all Qt related entries at the front of the path, not at the end. Of course this won't matter if you build from the Qt command prompt.
I had a similar problem to yours. (here)
My solution was to move the entire examples directory from its location under C:\Nokia\Qt\2009.05\qt\examples to C:\Nokia\Qt\examples and then just open the examples like I would any other project. You could probably move this directory almost anywhere.
Does this work-around work for you?
Is that a space in the MinGW path?
[edit]Oh, typo.
Horse sense is the thing that keeps horses from betting on people. --W.C. Fields
Ask Smart Questions
Thank you all for your interest and your help. Really appreciate it.
The advice from Tvt204 did the trick. Weird but it works. Thanks Tvt204.
By the way c:\Programmer\SQLXML 4.0\bin has to do with my Microsoft SQL server installation and then strange character in my path not easily identifyable is an underscore _.
Kindest regards
Ohlfsen
Bookmarks