I just spent ages trying to find the location of the header files for Qt, so that I can properly configure VSCode to work with my Qt application. I couldn't find any answers on this website, so I'm posting here for how to find them.

Where are the Qt include headers on Linux?

1 Answers

JThistle On

You can run:


This will return the location of the Qt header files, e.g for me: /usr/include/x86_64-linux-gnu/qt5.