I changed sipqtQTabBar.cpp and it worked. Thanks. > Yes, that's exactly what's happening. > > If you are happy to regenerate the C++ code then remove the > /TransferBack/ from removeTab() in qtabbar.sip. > > Otherwise change "mJ4" to "mJ0" on line 2917 of sipqtQTabBar.cpp. > > Let me know if this solves the problem. > > Phil