30.10.2017, 21:11, "Thiago Macieira" <[email protected]>: > 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
pkg-config knows nothing about nature of compiler flags, it can easily handle bundle-specific option or cl.exe argument > > -- > 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 -- Regards, Konstantin _______________________________________________ Development mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/development
