Solved Qt does not find some header files (Debian)
-
I just installed Qt on Debian Stretch from DVD (offline install).
I can compile and run a simple, just a mainwindow project. But when it comes to include QJsonObject, it just cannot detect this file, but it does exist under my /usr/include directory. -
Hi,
Maybe a silly question but are you sure you are using Qt 5 and not Qt 4 ?
-
-
Hi
Just as a note.
All classes list their key/module to add to .pro file -
By default I have
QT += core gui
in my .pro file when I create a new desktop application project. So it is not because that.
-
Hi,
Maybe a silly question but are you sure you are using Qt 5 and not Qt 4 ?
-
@need4openid Can you show how you include this header file?
-
@SGaist said in Qt does not find some header files (Debian):
Hi,
Maybe a silly question but are you sure you are using Qt 5 and not Qt 4 ?
No such question as silly question. That was it, I had both installed.
Thanks guys