Skip to content

QtSOAP build errors when building #6

@JordanTHarris

Description

@JordanTHarris

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions