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) {
    CONFIG += create_pc

As you can see, they exist for macOS, except when we're building bundles. The 
problem there is teaching pkg-config about frameworks and bundles.

As for MSVC, the issue will be similar: teaching pkg-config about the MSVC 
linker syntax. Hint: there's no -l

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center

_______________________________________________
Development mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to