Unsolved Adding data processing class - inherit from QObject or not ?
-
If I add a C++ data processing class, do not need ANY access to widgets / GUI , to the Qt application - should it inherit from QObject?
-
@AnneRanch
If your class simply has nothing to do with Qt, it should not inherit fromQObject
. You should inherit fromQObject
--- or any other class --- if and only if your code needs to do so, for some reason.