QT 编译库 拷贝文件 - huxianhua/QT_Study GitHub Wiki

QT 编译库 拷贝文件

指定 QMake 安装文件

imageformats.path = /opt/some/path/bin/imageformats
imageformats.files += $$[QT_INSTALL_DATA]/plugins/imageformats/*.so
INSTALLS += imageformats
yourset.path = /path/in/which/to/install/files
yourset.files = /files/to/install
yourset.extra = custom commands to run, eg. `touch somefile.txt`
INSTALLS += yourset