Unknown module(s) in QT: texttospeech multimedia location-private positioning-private

Project ERROR: Unknown module(s) in QT: texttospeech multimedia location-private positioning-private

I have already irun the following commands: sudo apt-get install libqt5multimedia5 libqt5multimedia5-plugins
Also, sudo apt install qtpositioning5-dev
and sudo apt -y install qtlocation5-dev
sudo apt install qml-module-qtlocation qml-module-qtpositioning

Current QGCS cloned: Stable_V4
Installed Qt Creator 4.11.0 based on Qt 5.12.8(GCC 9.3.0 64 bit) in my LINUX 20.04 PC.
What can be the possible solution?

If I remove the line QT += location-private positioning-private network to QT += location positioning network , it start to give another 16 errors which I think are related to the line I changes as most of them contain keywords like private.
Eg:
/home/qgroundcontrol/src/QtLocationPlugin/MapProvider.h:18: error: QtLocation/private/qgeomaptype_p.h: No such file or directory
18 | #include <QtLocation/private/qgeomaptype_p.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Possible Solution:

    git clone https://github.com/qt/qtlocation.git
    cd qtlocation
    git checkout v5.11.3
    mkdir build
    cd build/
    qmake ../qtlocation.pro
    make -j4
    sudo make install

After all this
I had to run these commands again:
sudo apt-get install libqt5serialport5-dev
sudo apt-get install qt5-default
sudo apt-get install qtbase5-private-dev