Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Debug into non Qt class
Forum Updated to NodeBB v4.3 + New Features

Debug into non Qt class

Scheduled Pinned Locked Moved Qt Creator and other tools
2 Posts 1 Posters 1.9k Views 1 Watching
  • 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.
  • H Offline
    H Offline
    harrisonheli
    wrote on last edited by
    #1

    I am new to Qt but not C++

    I have created a set of classes using only STL and no Qt classes. I have placed these into a Qt project so that I can create a Gui to interact with the classes.

    When debugging, I can step through the Gui Qt classes but I cant step through my class functions. The debugger just steps over them. I know my class are working because they return the correct information.
    If I put breakpoints into my functions, the debugger does not stop on them.

    I assume I have to change a setting somewhere for this to work correctly but I am lost in the documentation. Any pointers on were to start.

    I am using Qt 2.1 on Ubuntu 11.04

    1 Reply Last reply
    0
    • H Offline
      H Offline
      harrisonheli
      wrote on last edited by
      #2

      Ha, Found the problem.

      Forced a clean build on my Qt project and the debugger is now able to step into my classes. Works great.

      Usual user error!!

      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