How can I Change Python.h in Actions

When I Use Qt and OpenCV develop a application. I use QT call python code, but QT and Python.h use slots as both keyword. Then if I want to continue I must change Python.h file.
I don’t know in Actions how to change this file.
Ex: In ubuntu 20.04, python.h is located in /usr/include/python3.8/Python.h