QTextStream w/ IODevice
QTextStream w/ IODevice that happens to also be a QTextStream results in a SIGSEGV..
QTextStream *s = new QTextStream(); QIODevice *dev = (QIODevice *) s; QTextStream *ss = new QTextStream(dev); // CRASH
I'm trying to make a "result writer" use a QIODevice in a generic fashion, , ,
Hi and welcome to devnet,
QTextStream is not a QIODevice hence the crash
You're welcome !
Since it's all good now, please mark the thread as solved using the "Topic Tool" button so other forum users may know a solution has been found :)
Also, while browsing the forum, consider up-voting the answers that you find useful, that will make them easier to find for other people :)