문제

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!

도움이 되었습니까?

해결책

Add QT += widgets (to link with the widgets module) into your .pro file, then run qmake and then build your project.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top