QT C++ error: undefined reference to `vtable for appprinter'

前端 未结 1 579
不思量自难忘°
不思量自难忘° 2021-01-25 23:12

question: i have a program that includes a printer class \'apppprinter\', but when trying to compile i get the error:

appprinter.cpp:(.text+0x105): undefined re         


        
相关标签:
1条回答
  • 2021-01-25 23:18

    Whenever you face this type of situation always do a clean, qmake and rebuild. It fixes unless you have other problems like missing Q_OBJECT or unimplemented pure virtuals.

    0 讨论(0)
提交回复
热议问题