undefined reference to vtable for …

前端 未结 4 1409
余生分开走
余生分开走 2021-01-13 03:42

I am trying to write an Http proxy that basically works like indianwebproxy

So i fired up qtcreator and but one of my classes is failing to compile with the infamous

4条回答
  •  有刺的猬
    2021-01-13 04:07

    I had also a undefined reference to vtable error and followed the steps in Undefined reference to vtable... Q_OBJECT macro, that adviced me to run qmake and... it worked!

提交回复
热议问题