I am a new Qt user. I am having a issue on a project When using QString::fromWCharArray.my Qt version is 4.4.0
vs2005 gives the following link error:
error LNK2019: unresolved external symbol "__declspec(dllimport)
public: static class QString __cdecl QString::fromWCharArray(wchar_t const *,int)"
(__imp_?fromWCharArray@QString@@SA?AV1@PB_WH@Z) referenced in function "public:
void __thiscall midiIO::queryMidiInDevices(void)" (?queryMidiInDevices@midiIO@@QAEXXZ)
i see the topic http://www.qtcentre.org/forum/f-qt-p...2005-4625.html
I am linking into my Qt VS2005 project that have the compiled with "Treat wchar_t as Built-in Type" set to "Yes". my Third party libraries (FDO http://fdo.osgeo.org) need to built this way.
my Qt VS2005 project build fine with qt version 3.3.1,but use qt 4.4.0 have this issues.
How do I use Qt's QString::fromWCharArray(4.4.0) with libaries built with "Yes" for "Treat wchar_t as Built-in Type"?
Bookmarks