Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

How to build an imported code in debug?



  • Hi,

    I am trying to import an existing project(simple main.cpp) in Qt Creator for debugging purpose.
    But when I start debugging, it will not stop at my break points. I checked on the project build settings but I don't see either debug or release mode.

    Please advise what are the configurations needed?

    Details of the environment:

    • Ubuntu 16.04
    • Qt Creator 3.5.1
    • Qt 5.5.1

    Thanks!


  • Lifetime Qt Champion

    @justABeginer How did you import the project? Do you use qmake to build it?
    In project settings you can add debug/release configurations under "Build Settings".



  • Hi @jsulm

    I imported it with File > New File or Project > Import Project > Import Existing Project.
    Then it created .config .file and .includes files.


Log in to reply