I am a beginner to Qt, learning about qt and the features it provides. I was going through an example of Qt which shows how to use ActiveX controls inside Qt using ActiveQt, this example shows how to use WebBrowser control in Qt. Example application is very good but I wanted some additional functionality in this browser and its to block internet explorer to get launched when new popup window is created. What happening was when I click on a link which opens a popup window instead of opening my window an internet explorer was getting launched.. Well this is not what I want, I want it to open my window. To make this work I went through docs of WebBrowser control at http://msdn.microsoft.com/en-us/library/aa752127(v=vs.85).aspx and tried to connect NewWindow, NewWindow2, NewWindow3 slots to block popup but after connecting all the slots and doing everything I found nothing was working... So finally I decided to go through all the functions of WebBrowser object i.e. WebAxWidget. There I