I'm writing a simple camera project for Raspberry Pi, via cross compiler visual studio.
step 1: I created a qt project using visual studio
step 2: coding for project
When coding for project, I declared
QCamera camera; camera = new QCamera(cameraInfo);
When I built the project, I got this error:
Error VGDB1000 undefined reference to `QCamera::QCamera(QCameraInfo const&, QObject*)'