只需在pro文件中加入QMAKE_CXXFLAGS_RELEASE = $$QMAKE_CFLAGS_RELEASE_WITH_DEBUGINFOQMAKE_LFLAGS_RELEASE = $$QMAKE_LFLAGS_RELEASE_WITH_DEBUGINFO这样Release版本也是可以调试的了http://blog.csdn.net/caoshangpa/article/details/62416302