QT += core gui widgets greaterThan(QT_MAJOR_VERSION, 4): QT += widgets CONFIG += c++11 TARGET = VoiletCStudio TEMPLATE = app # 源文件 SOURCES += \ src/main.cpp \ src/mainwindow.cpp \ src/projectconfig.cpp \ src/cmakegenerator.cpp # 头文件 HEADERS += \ src/mainwindow.h \ src/projectconfig.h \ src/cmakegenerator.h # 默认部署规则 qnx: target.path = /tmp/$${TARGET}/bin else: unix:!android: target.path = /opt/$${TARGET}/bin !isEmpty(target.path): INSTALLS += target