@kshegunov I think you are right. By just putting the lightentity into the camera:

Qt3DCore::QEntity *lightEntity = new Qt3DCore::QEntity(basicCamera);

It seems to move dynamically. Now I have to set some other things but that might have to do just with how I want my objects to show :)