On Monday 26 October 2015 14:37:05 Matthew Woehlke via Interest wrote: > > The .pc file has it in the right variable: > > > > > > Libs: -L${libdir} -lQt5Core > > Libs.private: -lpthread -lz -licui18n -licuuc -licudata -lpcre16 -lm -ldl > > - > > lgthread-2.0 -pthread -lglib-2.0 -lrt -lsystemd > > Do you know when setting up your exported targets that the libraries are > static? (Based on my /usr/lib64/cmake/Qt5Core/Qt5CoreConfig.cmake, I > think "yes"?) If yes, when the exported targets are static libraries, > just fold the public and private libraries together and specify *all* of > them as interface link libraries. That's TRTTD, and I believe what CMake > does when CMake is generating the target export file.
One set of .pc, .prl and .cmake files should work for both static and shared. Anything else is a design flaw in the file format and won't be supported. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest