ق different from qoph
Arabic Qāf
The Arabic letter ق is named قاف qāf. It is written in several ways depending in its position in the word:Western and southern Yemen:  Taʽizzi-Adeni and Tihamiyya dialects (coastal Yemen), in addition to southwestern (Salalah region) and eastern Oman, including Muscat, the capital.
[ʒ] is an allophone in eastern Arabia.
Actually, the [d͡ʒ] variant is the preferred pronunciation when taught outside of Arabic speaking countries where the local variant of ج is accepted as the standard, namely [d͡ʒ], [ʒ], [ɟ], or [ɡ].
In Sanaa, [ɡ] is used as the literary standard for ق, whereas the literary standard pronunciation in Sudan is [ɢ] or [ɡ].