Community
Participate
Working Groups
Created attachment 281975 [details] Minimal meson proejct building qt When specifying qt5 as a dependency in a meson project this implies new include directories from which includes like <QApplication> are loaded. The indexer doesn't take these directories into account, leading to unresolved includes. Steps to reproduce 1. Open the attached meson project in eclipse. 2. Build the project 3. Even though the project successfully builds the includes <QApplication> and <QWidget> are marked as unresolved imports and autocompletion won't work ok Qt objects.
Jeff, can you comment on this?
(In reply to Jonah Graham from comment #1) > Jeff, can you comment on this? I have taken a look. On my machine, I needed to set cpp_std 'c++11' Using the M3 EPP, it does show the QApplication and QWidget includes in the Outline viewer as headers of main.cpp correctly, however, clicking to open either of them does not invoke a C/C++ Editor and from that point you can't click on the headers that they include. I did debug to show that the include paths were added successfully as part of scanner info collection. I will start looking at the Outline open action to see why it didn't assume the file was a C++ header.