Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当我运行qmake -project, qmake, 时make,gdb my_executable我无法调试它,因为它没有调试信息。我需要类似g++ -g选项的东西。如何使用调试信息创建可执行文件?
qmake -project
qmake
make
gdb my_executable
g++ -g
qmake然后qmake CONFIG+=debug和make。获取带有去比符号的二进制文件。
qmake CONFIG+=debug