diff --git a/src/plugins/cpptools/cppchecksymbols.h b/src/plugins/cpptools/cppchecksymbols.h index 7f3fe910567..870bc709f86 100644 --- a/src/plugins/cpptools/cppchecksymbols.h +++ b/src/plugins/cpptools/cppchecksymbols.h @@ -42,17 +42,6 @@ namespace CppTools { -#ifdef _MSC_VER -// Short explanation: QFutureInterface is currently used as a base for an exported class -// (see CreateMarkers). Even though it's not explicitly marked to be exported VC++ will -// implicitly export it (more details on the General Rules and Limitations of dllexport/ -// dllimport MSDN page). When seen here as a base of CheckSymbols the compiler tries to -// instantiate this template (since the declaration of template doesn't have any explicit -// export/import attribute) which will eventually collide with the already defined symbol. -// The line below simply tells the compiler to import the template instead of instantiating. -template class Q_DECL_IMPORT QFutureInterface; -#endif - class CPPTOOLS_EXPORT CheckSymbols: protected CPlusPlus::ASTVisitor, public QRunnable,