• Orgad Shaneh's avatar
    Fix link error with MSVC · a8ff5e83
    Orgad Shaneh authored
    CppTools.lib(CppTools.dll) : error LNK2005: "public: virtual __thiscall
      QFutureInterface<class TextEditor::HighlightingResult>::~QFutureInterface<class TextEditor::HighlightingResult>(void)"
      (??1?$QFutureInterface@VHighlightingResult@TextEditor@@@@UAE@XZ) already defined in moc_cppeditor.obj
       Creating library ..\..\..\lib\qtcreator\plugins\QtProject\CppEditor.lib and object
       ..\..\..\lib\qtcreator\plugins\QtProject\CppEditor.exp..\..\..\lib\qtcreator\plugins\QtProject\CppEditor.dll :
       fatal error LNK1169: one or more multiply defined symbols found
    
    Change-Id: Id53a0f8a99dbd18a9cbdf2af57b4f3970f5c41a3
    Reviewed-by: default avatarNikolai Kosjar <nikolai.kosjar@digia.com>
    a8ff5e83
cpptoolseditorsupport.cpp 15.5 KB