编译出现警告Makefile.Release:122: 警告:overriding commands for target `temp/moc/moc_frmcalibrationtool.cpp'

来源:互联网 发布:mac照片是什么意思啊 编辑:程序博客网 时间:2024/06/06 09:43

C:\Users\Administrator\Desktop\qt\calibration\calibration\build-calibration-Desktop_Qt_4_8_5-Debug\Makefile.Release:122: 警告:overriding commands for target `temp/moc/moc_frmcalibrationtool.cpp'

C:\Users\Administrator\Desktop\qt\calibration\calibration\build-calibration-Desktop_Qt_4_8_5-Debug\Makefile.Release:119: 警告:ignoring old commands for target `temp/moc/moc_frmcalibrationtool.cpp'

经检查在PRO 文件中重复  CPP和H文件是重复的,要删除重复的文件定义就可  删除重复定义的frmcalibrationtool.h

SOURCES += main.cpp\
        frmcalibrationtool.cpp \
        app.cpp \
HEADERS  +=\
        frmcalibrationtool.h \
        app.h \
    myhelper.h \
    frmcalibrationtool.h

原创粉丝点击