返回顶部

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】

 

posted @ 2022-06-02 00:45  Zcb0812  阅读(16)  评论(0编辑  收藏  举报