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. Newbie: slot does not fire; Breakpoint does not halt
Forum Updated to NodeBB v4.3 + New Features

Newbie: slot does not fire; Breakpoint does not halt

Scheduled Pinned Locked Moved General and Desktop
3 Posts 2 Posters 1.1k 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
    Heiner
    wrote on last edited by
    #1

    Hi,

    I have installed Qt Creator 2.7.2 for Qt 5.1.0 . But I don't have MSVC, so I use MinGW. I followed the Instructions of the TextFinder Tutorial, but when I run the program, the textEdit stays empty. I placed breakpoints on loadTextFile(); and on on_findButton_clicked(); but the program does not halt there when it starts or when I click the find button.

    Please help

    Heiner

    1 Reply Last reply
    0
    • K Offline
      K Offline
      koahnig
      wrote on last edited by
      #2

      welcome to devnet

      Do you have compiled with debug?
      How do you start your application in creator?
      You need to press the green triangle with the bug atop on the left for debugging. The green triangle without bug does run the process only. Breakpoints will have no influence.

      Vote the answer(s) that helped you to solve your issue(s)

      1 Reply Last reply
      0
      • H Offline
        H Offline
        Heiner
        wrote on last edited by
        #3

        Thanks a lot.

        I had used the wrong run button: the green triangle without bug. So the breakpoints did not halt. textEdit had stayed empty because loadTextFile did not find my file since it had an additional extension.

        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