Important: Please read the Qt Code of Conduct -

Qt method swizzling

  • Hello guys,

    Now, I started a new project for testing some applications which development by Qt. My project is library which will integrating to any apps and the will saving special log with all information about status of work current app. I have experience in this - I was created library for iOS platform. On the iOS platform I have use the method swizzling from Objective-C runtime. I want use something like this in Qt, but I can't find any information about method swizzling in Qt/C++. Can you explaining how I can change implementation in Qt for methods from any classes of app?

Log in to reply