[Development] Getting defines from pkg-config for Qt modules
alexis.jeandet at member.fsf.org
Thu Oct 26 19:09:49 CEST 2017
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
So my questions are:
1) Is this normal/expected?
2) Why not providing this flags?
3) Does a patch to provides this flags would be accepted?
This would help to improve Qt support in Meson and I guess others build
systems using pkgconfig.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Development