Tag Archives: Self-summary record

Compilation errors and warnings encountered in QT and their solutions

Preface: study QT also has a period of time, during encountered a lot of various problems, write this summary paste, on the one hand to oneself a summary, on the one hand to give everyone a reference. Update irregularly ~
1.No rule to make target '.. /dd.bmp', needed by 'debug/qrc_res.stop
The file image.qrc has been compiled. Deleting the file from the resource directory will not change the compiled image.qrc file.

0 1. Delete corresponding resource file, add new
2. Comment out the corresponding code in.pro first, then remove the comment after compilation, then compile again will not report an error.

#RESOURCES += \
#    image.qrc

2:-1: error: [release/qrc_image.cpp] error 1br> <>bb3