How to include Qt libraries

Hi all,

I managed to solve the issue I was having with my MinGW build. The problem was that initially I was not able to make cling work properly, so I had to apply the patches proposed in:

[url]Cling on windows with VS2013

So Cling original mechanism for looking for symbols did not work form the beginning but only though the patch’s solution of browsing though the nm´s generated table of symbols.

The way I solved it was to compile Cling by linking also the Qt’s libraries *.lib files and passing the ‘whole archive’ flags to the linker, e.g.

-Wl,–whole-archive -lmylib1, -lmylib2, -lmyib2 … -Wl,–no-whole-archive

Now I have no missing symbols!

Nevertheless, there is now a new problem, whenever I include some Qt library classes there is a bunch of warnings releated ot the use of ‘inline’. And as soon as I execute some Qt related code, the app crashes.

I believe this issue is related to this other one:

[url]Cling inline assembly support

My question is if the most recent Cling already supports the inline stuff, or if I need to patch Qt to avoid the use of inline as proposed in other posts?

Thanks you again for your help,

J.