Add QT += widgets (to link with the widgets module) into your .pro file, then run qmake and then build your project.
error: QT 5.0 QTreeWidget include not found
-
30-05-2022 - |
Pergunta
In manual for QTreeWidget it states that we have to:
include
however when I do that I get error:
d:*********: error: C1083: Cannot open include file: 'QTreeWidget': No such file or directory
However #include gets found.
Where does it go wrong here? Thanks!
Solução
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow