Data elements don't need to be Qt specific, if we are talking natural types like ints floats etc.
You probably are trying to do (call) something in an improper way.
Post some relevant code where the compile error points to.