Re: [Development] Getting defines from pkg-config for Qt modules

2017-11-27 Thread Kevin Funk
On Thursday, 26 October 2017 22:25:19 CET Jeandet Alexis wrote: > Hello Thiago, > > Le jeudi 26 octobre 2017 à 13:14 -0700, Thiago Macieira a écrit : > > On Thursday, 26 October 2017 10:09:49 PDT Jeandet Alexis wrote: > > > Hello, > > > > > > I already asked this on IRC but I got no answer. > >

Re: [Development] Getting defines from pkg-config for Qt modules

2017-10-26 Thread Jeandet Alexis
Hello Thiago, Le jeudi 26 octobre 2017 à 13:14 -0700, Thiago Macieira a écrit : > On Thursday, 26 October 2017 10:09:49 PDT Jeandet Alexis wrote: > > Hello, > > > > I already asked this on IRC but I got no answer. > > On Fedora and Ubuntu I can say that "pkg-config --cflags Qt5[any > > module]"

Re: [Development] Getting defines from pkg-config for Qt modules

2017-10-26 Thread Thiago Macieira
On Thursday, 26 October 2017 10:09:49 PDT Jeandet Alexis wrote: > Hello, > > I already asked this on IRC but I got no answer. > On Fedora and Ubuntu I can say that "pkg-config --cflags Qt5[any > module]" does only provides include flags and no defines such as > -DQT_CORE_LIB or -DQT_GUI_LIB. > >

Re: [Development] Getting defines from pkg-config for Qt modules

2017-10-26 Thread Jeandet Alexis
Hello Konstantin, Thank you for your answer. I've never used waf, I might have a closer look into it. After a quick check, it seems that by default it uses also pkg-config, build/config.log from waf qt5 demo: -- Checking for 'Qt5Scxml'

Re: [Development] Getting defines from pkg-config for Qt modules

2017-10-26 Thread Konstantin Tokarev
26.10.2017, 20:20, "Jeandet Alexis" : > Hello, > > I already asked this on IRC but I got no answer. > On Fedora and Ubuntu I can say that "pkg-config --cflags Qt5[any module]" > does only provides include flags and no defines such as -DQT_CORE_LIB or >

[Development] Getting defines from pkg-config for Qt modules

2017-10-26 Thread Jeandet Alexis
Hello, I already asked this on IRC but I got no answer. On Fedora and Ubuntu I can say that "pkg-config --cflags Qt5[any module]" does only provides include flags and no defines such as -DQT_CORE_LIB or -DQT_GUI_LIB. As an example "pkg-config --cflags panelw" gives "-D_GNU_SOURCE