QtSOAP build errors when building
Opened this issue · 1 comments
I'm trying to build HUPnP by opening the .pro file in Qt Creator and building on Windows, but I get the following errors:
...\qtsoap.cpp:2950: error: definition of static data member 'QtSoapTypeFactory::s_instance' of dllimport'd class
QScopedPointer QtSoapTypeFactory::s_instance;...\qtsoap-2.7-opensource\src\qtsoap.cpp:2951: error: definition of static data member 'QtSoapTypeFactory::s_initMutex' of dllimport'd class
QMutex QtSoapTypeFactory::s_initMutex(QMutex::Recursive);...\qtsoap.cpp:3288: error: definition of static data member 'QtSoapNamespaces::s_instance' of dllimport'd class
QScopedPointer QtSoapNamespaces::s_instance;...\qtsoap.cpp:3289: error: definition of static data member 'QtSoapNamespaces::s_initMutex' of dllimport'd class
QMutex QtSoapNamespaces::s_initMutex(QMutex::Recursive);
Do you have any idea how I can fix this error? I'm really looking forward to trying this library. I've tried building with the MinGW included with Qt, as well as MSVC 2013.
I never tried on Windows, I check that as soon as possible. I'm currently un holidays.