I read in an article that by default NPAPI is disabled since moving forward with QT, NPAPI will be depreciated.

How do I enable this NPAPI programmatically, just like we do in chrome (chrome://flags ->enable NPAPI)