Q: Context: I recently switched from debian stable to debian testing so I have updated several hundred packages since the last time I used QT creator.
When I create a new project in QT creator I am greeted with many error messages.
For example, here are the errors for the autogenerated main.cpp class in a fresh project:
cstddef:50:10: fatal error: 'stddef.h' file not found error: variable has incomplete type 'QApplication' forward declaration of 'QApplication' unknown type name 'MainWindow'
When I open up previous projects that I know have no errors they also show a whole bunch of similar errors.
However, all of these projects build and run just fine.
What is causing this?
A: I found the solution to this problem in this bug report.
The libclang-common-8-dev package needs to be installed. After installing this package and restarting qt creator all of the errors went away.
'고치기' 카테고리의 다른 글
[Ubuntu] Installing VMware Tools. Please wait... (0) | 2016.03.26 |
---|---|
[Unity] ArgumentException: Input Button Submit is not setup (6) | 2015.08.30 |
Unity Problems (0) | 2015.08.02 |