Originally Posted by tbscope The enum you have is just a list of numbers. A = 0 B = 1 etc... use qDebug() << "My enum =" << theEnum; to see the value Just send the number via your network. On the other end cast it back to the enum again. No, don't. The size of an enum is undefined. Instead, pick a portable type (such as quint8) and use that instead.
Forum Rules
Bookmarks