Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. How to build an imported code in debug?

How to build an imported code in debug?

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 2 Posters 523 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    justABeginer
    wrote on last edited by
    #1

    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!

    jsulmJ 1 Reply Last reply
    0
    • J justABeginer

      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!

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by jsulm
      #2

      @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".

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • J Offline
        J Offline
        justABeginer
        wrote on last edited by
        #3

        Hi @jsulm

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

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved