On Tuesday 27 October 2015 09:05:34 kl222 via Development wrote: > Thiago Macieira: > > 1. I think this is a bug. When using cmake project file, it has the > responsibility to deal with it automatic dependency, rather than by the user > to deal with.
That might be. So please report it so this isn't forgotten. > 2. No bug for qt. How to use .prl and .pc in cmake or pro file? In the .pro file, the .prl file is used automatically. You don't have to do anything. You won't see this problem with qmake. Your problem is exclusive to cmake because the information is missing from our generated files. Matthew says there's a place to save them, but he doesn't know how Qt's buildsystem generates such files. That's done in mkspecs/features/create_cmake.prf in qtbase using mkspecs/features/data/cmake/Qt5BasicConfig.cmake.in as a template. If anyone can figure out how to save LIBS and LIBS_PRIVATE in the cmake file, that should fix the problem. -- 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
