1

I've installed Qt 5.7 on Windows (8.1). I'm not getting QThread option (as a base class) while I try to add a new class to a project? What could be the reason?

Aham
  • 49
  • 1
  • 8

1 Answers1

0

If you're using Wizard to create your class, that's normal: just select, i.e., QObject, create your class and in the sources replace QObject with QThread as base class. Don't forget to include QThread class previously (#include <QThread>)

Andre
  • 186
  • 11