[Development] Fw:cmake install qt5 library to Specified directory?

kl222 kl222 at 126.com
Wed Mar 11 07:05:24 CET 2015


Hello all:

    I think to install qt5(>=5.3.0) library to sepcified directory. I write:


get_target_property(QtCore_location Qt5::Core LOCATION)
install(files ${QtCore_location} DESTINATION .)

Ok, it is copy /usr/local/Qt-5.5.0/lib/libQt5Core.so.5.5.0 to destination directory, but it don't create libQt5Core.so.5 link. so the programe don't find the library. 

What do I?






-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20150311/583e9d3c/attachment.html>


More information about the Development mailing list