skiars / SerialTool

A cross platform Serial-Port/TCP/UDP debugging tool.
GNU General Public License v3.0
691 stars 245 forks source link

Qt5.10.1 使用QScintilla2.10.8/2.11.1编译报错 #19

Closed pokebox closed 5 years ago

pokebox commented 5 years ago

textedit.o: In function TextEdit::onTextChanged()': textedit.cpp:(.text+0xac): undefined reference toQsciScintilla::text() const' textedit.cpp:(.text+0x134): undefined reference to QsciScintillaBase::SendScintilla(unsigned int, int) const' textedit.cpp:(.text+0x150): undefined reference toQsciScintillaBase::SendScintilla(unsigned int, int) const' textedit.cpp:(.text+0x164): undefined reference to QsciScintillaBase::SendScintilla(unsigned int, unsigned long, long) const' textedit.o: In functionTextEdit::setMarginsWidth()': textedit.cpp:(.text+0x27c): undefined reference to QsciScintillaBase::SendScintilla(unsigned int, unsigned long, long) const' textedit.o: In functionTextEdit::onLinesChanged()': textedit.cpp:(.text+0x3bc): undefined reference to QsciScintillaBase::SendScintilla(unsigned int, unsigned long, long) const' textedit.o: In functionTextEdit::highlightNone()': textedit.cpp:(.text+0x480): undefined reference to QsciScintillaBase::SendScintilla(unsigned int, int) const' textedit.o: In functionTextEdit::highlightCpp()': textedit.cpp:(.text+0x4a0): undefined reference to QsciScintillaBase::SendScintilla(unsigned int, int) const' textedit.cpp:(.text+0x4bc): undefined reference toQsciScintillaBase::SendScintilla(unsigned int, unsigned long, char const*) const' ……省略中间部分…… moc_textedit.o:(.data.rel.ro._ZTV8TextEdit[_ZTV8TextEdit]+0x448): undefined reference to QsciScintilla::undo()' moc_textedit.o:(.data.rel.ro._ZTV8TextEdit[_ZTV8TextEdit]+0x450): undefined reference toQsciScintilla::unindent(int)' moc_textedit.o:(.data.rel.ro._ZTV8TextEdit[_ZTV8TextEdit]+0x458): undefined reference to QsciScintilla::zoomIn(int)' moc_textedit.o:(.data.rel.ro._ZTV8TextEdit[_ZTV8TextEdit]+0x460): undefined reference toQsciScintilla::zoomIn()' moc_textedit.o:(.data.rel.ro._ZTV8TextEdit[_ZTV8TextEdit]+0x468): undefined reference to QsciScintilla::zoomOut(int)' moc_textedit.o:(.data.rel.ro._ZTV8TextEdit[_ZTV8TextEdit]+0x470): undefined reference toQsciScintilla::zoomOut()' moc_textedit.o:(.data.rel.ro._ZTV8TextEdit[_ZTV8TextEdit]+0x478): undefined reference to QsciScintilla::zoomTo(int)' moc_textedit.o:(.data.rel.ro+0x0): undefined reference toQsciScintilla::staticMetaObject' collect2: error: ld returned 1 exit status Makefile:429: recipe for target 'SerialTool_pre' failed make: *** [SerialTool_pre] Error 1

skiars commented 5 years ago

请看这个issue https://github.com/Skiars/SerialTool/issues/15

skiars commented 5 years ago

这个问题已经被修复了