使用QScintilla建立项目发布

时间:2017-01-13 21:59:59

标签: c++ qt qscintilla

我用C ++编写的项目使用Qt Framework和QScintilla2。由于链接器错误,我无法构建Release。我正在使用Visual Studio 2013。

错误:

  

1> codeditor.obj:错误LNK2019:未解析的外部符号“public:   static struct QMetaObject const QsciScintillaBase :: staticMetaObject“   (?staticMetaObject @ QsciScintillaBase @@ 2UQMetaObject @@ B)在   function“public:static class QMetaObject :: Connection __cdecl   QObject :: connect(类QsciScintillaBase const ,void(__ thishisall QsciScintillaBase :: )(int,int,char const   *,int,int,int,int,int,int,int),类CodeEditor const ,void(__thiscall CodeEditor :: )(int,int,char const   *,int,int,int,int,int,int,int),enum Qt :: ConnectionType)“(?? $ connect @ P8QsciScintillaBase @@ AEXHHPBDHHHHHHH @ ZP8CodeEditor @@ AEXHH0HHHHHHH @ Z @ QObject @@ SA?AVConnection @ QMetaObject @@ PBVQsciScintillaBase @@ @ P83 @ AEXHHPBDHHHHHHH @@ ZPBVCodeEditor P84 @ AEXHH1HHHHHHH @ ZW4ConnectionType @ Qt的@@@ Z)   1> codeditor.obj:错误LNK2019:未解析的外部符号“public:   static struct QMetaObject const QsciScintilla :: staticMetaObject“   (?staticMetaObject @ QsciScintilla @@ 2UQMetaObject @@ B)引用于   function“public:static class QMetaObject :: Connection __cdecl   QObject :: connect),void(__ thishisall   CodeEditor :: *)(int,int,class QFlags)>(class   QsciScintilla const ,void(__thiscall QsciScintilla :: )(int,int,class   QFlags),类CodeEditor const ,void   (__thiscall CodeEditor :: )(int,int,class QFlags),enum Qt :: ConnectionType)“   (?? $ @连接@@ P8QsciScintilla AEXHHV?$ @ QFlags @ W4KeyboardModifier Qt的@@@@@ ZP8CodeEditor @@ AEXHH0 @ Z @ QObject的@@ SA?AVConnection @ QMetaObject @@ PBVQsciScintilla @@ P83 @ AEXHHV?$ @ QFlags W4KeyboardModifier @Qt @@@@@ ZPBVCodeEditor @@ P85 @ AEXHH1 @ ZW4ConnectionType @ Qt的@@@ Z)   1> release \ JSD-V8-QT.exe:致命错误LNK1120:2个未解析的外部

0 个答案:

没有答案