I am a beginner in Qt and wanted to learn about 3D rendering in Qt. The first thing the official document http://doc.qt.io/qt-5/qt3d-index.html stated was to add the following line to its qmake .pro file:
QT += 3dcore 3drender 3dinput 3dlogic 3dextras 3danimation
However, running qmake after adding this line gave me an unknown module error:3danimation. I read this previous posted question Unknown module(s) in QT. The solution stated to use
QT += 3dcore 3drender 3dinput 3dlogic
This solution worked for me but I have also read that 3danimation
contains various important classes from the Qt3DAnimation module. My question is that why following the official documentation gave me this error. Did I miss something. This question may sound very nooby, but I would appreciate if someone could explain this to me. Thanks in advance. BTW, I am using Qt creator 4.2.0 (based on Qt 5.7.1).