PDA

View Full Version : Qt + STLPort



akasi
19th September 2008, 13:31
Hi all!

I have the following problem:

Trying to use STLPort in Qt application with Microsoft Compiler. After having some problems with linkage I had to recompile Qt with option -Zc:wchat_t (make wchar_t built-in type). Now my project compiles fine but I cannot run assistant and qtdemos...
Error:
The procedure entry point ?fromWCharArray@QString@@SA?AV1@PB_WH@Z could not be located in the dynamic link library QtCore4.dll.
Do you know how to fix this?
Shall I recompile Qt with STLPort instead of standard implementation of STL

Thank you for your answers.

jpn
19th September 2008, 16:37
Open your executable in Dependency Walker and probably you'll see that it attempts to load a different DLL thank you link to. So make sure that the correct version of Qt comes in PATH first.