其他分享
首页 > 其他分享> > qmake 相关

qmake 相关

作者:互联网

 

qmake install files (拷贝文件)

QT += widgets
HEADERS += hello.h
SOURCES += hello.cpp \
                   main.cpp

target.path=./zcb   # will create ./zcb dir

cpp.files= ./*.cpp
cpp.path = ./zcb/cpp # will create ./zcb/cpp dir,and copy ./*.cpp to it

header.files= ./*.h
header.path = ./zcb/header # will create ./zcb/header,and copy ./*.h to it

INSTALLS += cpp header

# everything is triggered when 【make install】

 

标签:files,zcb,create,qmake,header,path,cpp,相关
来源: https://www.cnblogs.com/zach0812/p/16336289.html