Hi. I use Qt Creator to debug this project, so I don't run the command directly. But I think yoy can compile for debug with: qmake CONFIG+=debug
You don't need to change pro file unless you want a different configuration. As it is now it will compile for debug with all optimizations disabled: QMAKE_CXXFLAGS_DEBUG += -O0