[cfe-dev] [llvm-dev] Fwd: Load llvm and clang source tree in QtCreator

Nicolai Hähnle via cfe-dev cfe-dev at lists.llvm.org
Mon Nov 25 05:21:32 PST 2019


Hi,

On Thu, Nov 21, 2019 at 9:43 AM Алексеев Кирилл via llvm-dev
<llvm-dev at lists.llvm.org> wrote:
> How to open llvm and clang source tree in QtCreator in same project. I need to write project using clang but also I need to navigate through llvm sources (not only headers). Previous versions of llvm allow clang sources to be located in llvm / tools / clang, but it seems that current versions need clang (and libcxx, ...) in separate directories. So when I open main CmakeList of llvm in QtCreator there is no clang in QtCreator project. Naturally I can preinstall llvm libraries and clang cmake automatically will find them and will dinamically linkclang with then. But I need also llvm sources to be seen in IDE.

You should be using the mono-repository. Just point QtCreator at the
root of that repository, and it'll find Clang, LLVM, and everything
else in there.

Cheers,
Nicolai

>
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev



-- 
Lerne, wie die Welt wirklich ist,
aber vergiss niemals, wie sie sein sollte.



More information about the cfe-dev mailing list