After testing, the method is now written down:
First, you need to create a class, which can inherit the QObject class or not. It is just a class. The creation method can be manual or you can use the menu of the development environment. I take the Command class as an example here.
After testing, the method is now written down:
First, you need to create a class, which can inherit the QObject class or not. It is just a class. The creation method can be manual or you can use the menu of the development environment. I take the Command class as an example here.
After modification:
command.h
command.cpp