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. Qt+QML program hangs at debug breakpoints in QtCreator
Forum Updated to NodeBB v4.3 + New Features

Qt+QML program hangs at debug breakpoints in QtCreator

Scheduled Pinned Locked Moved Unsolved General and Desktop
debugger
1 Posts 1 Posters 816 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.
  • amphiA Offline
    amphiA Offline
    amphi
    wrote on last edited by
    #1

    I am in OSX 10.11.4 Qt 5.6 QtCreator 3.6.1

    My program is C++ and QML, the C++ fires up a QQuickView. I am running in debug mode. The program runs OK. If I set a breakpoint in main.cpp before I call app.exec the program will stop on it and I can single step etc... But after calling app.exec if I put a breakpoint in any C++ code that is invoked from QML then the program stops responding, the breakpoint is never hit in creator. The only option then is to hit the red button to stop debugging. It takes a while for qtCreator to stop execution.

    One odd thing (perhaps unrelated) is that qDebug() output from main.cpp goes to the Application output window as expected, but after the QQuickView is loaded it goes to the QML/JS Console window.

    Any ideas?

    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