I've installed Qt 5.7 with Creator IDE on Windows (8.1). I'm not getting QThread option (as a base class) when I try to add a new class to a project on the Creator IDE? What could be the reason?
I've installed Qt 5.7 with Creator IDE on Windows (8.1). I'm not getting QThread option (as a base class) when I try to add a new class to a project on the Creator IDE? What could be the reason?
AFAIK, Qt Creator's new class wizards offer a limited selection of base classes. QThread inherits from QObject, so just choose QObject as the base class, then edit the resulting code to change the base class to QThread.
<=== The Great Pumpkin says ===>
Please use CODE tags when posting source code so it is more readable. Click "Go Advanced" and then the "#" icon to insert the tags. Paste your code between them.
I think the wizard has an option for "custom base class"
Cheers,
_
d_stranz (26th November 2016)
Bookmarks