How to use Qt to call C++ standard library?
-
Hello ,there is a Qt project ,I need to use C++ standard library,I config the .pro file as follows:
LIBS+=opc/SeyOPC.lib
.........but the compiler give compiling errers like this:
undefined reference to `SeyOPC::initialize(char const*, char const*)Is there anyone knowing how using C++ standard library with Qt?
if there is ,Please give me some advice ,thanks!
I'm waiting! -
Hi xjruan
First of all, we need more information:
which is your platform?
Do you use QtCreator and which version?
Which compiler do you use? Mingw?What is a C++ standard library? You mean a C++ library that exports pure C++ objects? With which compiler is this lib build?
-
I had the same issue in the past... I was still a beginner and I still remember the days spent on testing Qt on MinGW and VS2005. Nice days. Didn't know about name mangling however.