Re: [Development] Getting build flags for platforms without pkg-config

2017-10-31 Thread Konstantin Tokarev
30.10.2017, 22:11, "Thiago Macieira" : > On segunda-feira, 30 de outubro de 2017 11:20:25 PDT Konstantin Tokarev wrote: >>  > As for MSVC, the issue will be similar: teaching pkg-config about the MSVC >>  > linker syntax. Hint: there's no -l >> >>  pkg-config knows nothing about nature of compile

Re: [Development] Getting build flags for platforms without pkg-config

2017-10-30 Thread Thiago Macieira
On segunda-feira, 30 de outubro de 2017 15:03:33 PDT Konstantin Tokarev wrote: > > The two important details, though: > > 1) pkg-config is a standardised file format, the .pri isn't > > Also there is a possibility that in future qmake will be removed, and there > will be no more .pri files. Nothi

Re: [Development] Getting build flags for platforms without pkg-config

2017-10-30 Thread Stephen Kelly
Thiago Macieira wrote: > On segunda-feira, 30 de outubro de 2017 08:27:02 PDT Konstantin Tokarev > wrote: >> >> $ cmake --find-package -DNAME=Qt5Core -DCOMPILER_ID=GNU >> >> -DLANGUAGE=CXX -DMODE=COMPILE >> >> -I/home/apol/devel/kde5/include/ >> >> -I/home/apol/devel/kde5/include/QtCore >> >>

Re: [Development] Getting build flags for platforms without pkg-config

2017-10-30 Thread Konstantin Tokarev
31.10.2017, 01:03, "Konstantin Tokarev" : > 31.10.2017, 00:56, "Thiago Macieira" : >>  On segunda-feira, 30 de outubro de 2017 09:46:42 PDT jeandet wrote: >>>   > AFAIK there no technical reason why providing .pc files for MSVC and >>>   > macOS >>>   > frameworks would be impossible. >>> >>>   I

Re: [Development] Getting build flags for platforms without pkg-config

2017-10-30 Thread Konstantin Tokarev
31.10.2017, 00:56, "Thiago Macieira" : > On segunda-feira, 30 de outubro de 2017 09:46:42 PDT jeandet wrote: >>  > AFAIK there no technical reason why providing .pc files for MSVC and >>  > macOS >>  > frameworks would be impossible. >> >>  I agree, I would add that and even without pkg-config pa

Re: [Development] Getting build flags for platforms without pkg-config

2017-10-30 Thread Thiago Macieira
On segunda-feira, 30 de outubro de 2017 09:46:42 PDT jeandet wrote: > > AFAIK there no technical reason why providing .pc files for MSVC and > > macOS > > frameworks would be impossible. > > I agree, I would add that and even without pkg-config parsing pc files > seems more reasonable than parsing

Re: [Development] Getting build flags for platforms without pkg-config

2017-10-30 Thread jeandet
Le lundi 30 octobre 2017 à 19:11 +0300, Konstantin Tokarev a écrit : > > 30.10.2017, 18:53, "Konstantin Tokarev" : > > 30.10.2017, 18:43, "Thiago Macieira" : > > > On segunda-feira, 30 de outubro de 2017 08:27:02 PDT Konstantin > > > Tokarev wrote: > > > > >> $ cmake --find-package -DNAME=Qt5Co

Re: [Development] Getting build flags for platforms without pkg-config

2017-10-30 Thread Thiago Macieira
On segunda-feira, 30 de outubro de 2017 11:20:25 PDT Konstantin Tokarev wrote: > > As for MSVC, the issue will be similar: teaching pkg-config about the MSVC > > linker syntax. Hint: there's no -l > > pkg-config knows nothing about nature of compiler flags, it can easily > handle bundle-specific o

Re: [Development] Getting build flags for platforms without pkg-config

2017-10-30 Thread Konstantin Tokarev
30.10.2017, 21:11, "Thiago Macieira" : > On segunda-feira, 30 de outubro de 2017 09:11:39 PDT Konstantin Tokarev wrote: >>  AFAIK there no technical reason why providing .pc files for MSVC and macOS >>  frameworks would be impossible. > > It's a simple switch that needs to be toggled. In qt_modul

Re: [Development] Getting build flags for platforms without pkg-config

2017-10-30 Thread Thiago Macieira
On segunda-feira, 30 de outubro de 2017 09:11:39 PDT Konstantin Tokarev wrote: > AFAIK there no technical reason why providing .pc files for MSVC and macOS > frameworks would be impossible. It's a simple switch that needs to be toggled. In qt_module.prf: !internal_module:!lib_bundle:if(unix|mingw

Re: [Development] Getting build flags for platforms without pkg-config

2017-10-30 Thread Jake Petroules
> On Oct 30, 2017, at 9:11 AM, Konstantin Tokarev wrote: > > > > 30.10.2017, 18:53, "Konstantin Tokarev" : >> 30.10.2017, 18:43, "Thiago Macieira" : >>> On segunda-feira, 30 de outubro de 2017 08:27:02 PDT Konstantin Tokarev >>> wrote: >> $ cmake --find-package -DNAME=Qt5Core -DCOMPI

Re: [Development] Getting build flags for platforms without pkg-config

2017-10-30 Thread Konstantin Tokarev
30.10.2017, 18:53, "Konstantin Tokarev" : > 30.10.2017, 18:43, "Thiago Macieira" : >>  On segunda-feira, 30 de outubro de 2017 08:27:02 PDT Konstantin Tokarev >> wrote: >>>   >> $ cmake --find-package -DNAME=Qt5Core -DCOMPILER_ID=GNU -DLANGUAGE=CXX >>>   >> -DMODE=COMPILE >>>   >> -I/home/apol/d

Re: [Development] Getting build flags for platforms without pkg-config

2017-10-30 Thread Konstantin Tokarev
30.10.2017, 18:43, "Thiago Macieira" : > On segunda-feira, 30 de outubro de 2017 08:27:02 PDT Konstantin Tokarev wrote: >>  >> $ cmake --find-package -DNAME=Qt5Core -DCOMPILER_ID=GNU -DLANGUAGE=CXX >>  >> -DMODE=COMPILE >>  >> -I/home/apol/devel/kde5/include/ >>  >> -I/home/apol/devel/kde5/includ

Re: [Development] Getting build flags for platforms without pkg-config

2017-10-30 Thread Thiago Macieira
On segunda-feira, 30 de outubro de 2017 08:27:02 PDT Konstantin Tokarev wrote: > >> $ cmake --find-package -DNAME=Qt5Core -DCOMPILER_ID=GNU -DLANGUAGE=CXX > >> -DMODE=COMPILE > >> -I/home/apol/devel/kde5/include/ > >> -I/home/apol/devel/kde5/include/QtCore > >> -I/home/apol/devel/kde5/lib64//m

Re: [Development] Getting build flags for platforms without pkg-config

2017-10-30 Thread Konstantin Tokarev
30.10.2017, 18:23, "Thiago Macieira" : > On segunda-feira, 30 de outubro de 2017 05:22:00 PDT Aleix Pol wrote: >>  $ cmake --find-package -DNAME=Qt5Core -DCOMPILER_ID=GNU -DLANGUAGE=CXX >>  -DMODE=COMPILE >>  -I/home/apol/devel/kde5/include/ >>  -I/home/apol/devel/kde5/include/QtCore >>  -I/home/

Re: [Development] Getting build flags for platforms without pkg-config

2017-10-30 Thread Thiago Macieira
On segunda-feira, 30 de outubro de 2017 05:22:00 PDT Aleix Pol wrote: > $ cmake --find-package -DNAME=Qt5Core -DCOMPILER_ID=GNU -DLANGUAGE=CXX > -DMODE=COMPILE > -I/home/apol/devel/kde5/include/ > -I/home/apol/devel/kde5/include/QtCore > -I/home/apol/devel/kde5/lib64//mkspecs/linux-g++ -DQT_CORE_L

Re: [Development] Getting build flags for platforms without pkg-config

2017-10-30 Thread Aleix Pol
On Mon, Oct 30, 2017 at 9:00 AM, Jeandet Alexis wrote: > Le dimanche 29 octobre 2017 à 15:57 -0700, Thiago Macieira a écrit : >> On domingo, 29 de outubro de 2017 14:57:44 PDT Jeandet Alexis wrote: >> > Hello, >> > >> > Previously I asked about getting some defines from pkg-config, I >> > pushed >

Re: [Development] Getting build flags for platforms without pkg-config

2017-10-30 Thread Christian Kandeler
On Mon, 30 Oct 2017 09:00:46 +0100 Jeandet Alexis wrote: > Le dimanche 29 octobre 2017 à 15:57 -0700, Thiago Macieira a écrit : > > On domingo, 29 de outubro de 2017 14:57:44 PDT Jeandet Alexis wrote: > > > Hello, > > > > > > Previously I asked about getting some defines from pkg-config, I > >

Re: [Development] Getting build flags for platforms without pkg-config

2017-10-29 Thread Thiago Macieira
On domingo, 29 de outubro de 2017 14:57:44 PDT Jeandet Alexis wrote: > Hello, > > Previously I asked about getting some defines from pkg-config, I pushed > some code on gerrit to fix that. > > Now I would like to care about platforms where we don't use pkg-config, > at first I thought that we cou

[Development] Getting build flags for platforms without pkg-config

2017-10-29 Thread Jeandet Alexis
Hello, Previously I asked about getting some defines from pkg-config, I pushed some code on gerrit to fix that. Now I would like to care about platforms where we don't use pkg-config, at first I thought that we could get compile flags from qmake but it seems that no. Did I miss something? Would