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. QtCreator 3.6 not recognising changes
Qt 6.11 is out! See what's new in the release blog

QtCreator 3.6 not recognising changes

Scheduled Pinned Locked Moved Solved Qt Creator and other tools
2 Posts 1 Posters 834 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.
  • C Offline
    C Offline
    Cake
    wrote on last edited by
    #1

    I am using QtCreator 3.6 with Qt 5.6 on Windows 10 and are making some changes to my code before starting the debugger via the debug button. However, at one point I noticed that whatever changes I made to my code, they weren't being applied to my program. e.g I wrote

    qDebug() << "TEST";
    

    in main.cpp and when I tried debugging, it didn't even appear. I deleted the contents on main.cpp and saved it and when I started debugging, it succeeded still using the same old code before.

    I tried cleaning my project through "Clean All" and "Clean Project" before rebuilding again but that didn't make it work either.
    I also tried exiting closing the project, exiting QtCreator, restarting my PC and cleaning/rebuilding everything again from scratch but it still uses the old code and any changes I make aren't used. When I tried writing syntax errors into my cpp files, it recognised the errors and stopped compilation but when I removed it, it still uses the old code before.

    Why is this happening?

    C 1 Reply Last reply
    0
    • C Cake

      I am using QtCreator 3.6 with Qt 5.6 on Windows 10 and are making some changes to my code before starting the debugger via the debug button. However, at one point I noticed that whatever changes I made to my code, they weren't being applied to my program. e.g I wrote

      qDebug() << "TEST";
      

      in main.cpp and when I tried debugging, it didn't even appear. I deleted the contents on main.cpp and saved it and when I started debugging, it succeeded still using the same old code before.

      I tried cleaning my project through "Clean All" and "Clean Project" before rebuilding again but that didn't make it work either.
      I also tried exiting closing the project, exiting QtCreator, restarting my PC and cleaning/rebuilding everything again from scratch but it still uses the old code and any changes I make aren't used. When I tried writing syntax errors into my cpp files, it recognised the errors and stopped compilation but when I removed it, it still uses the old code before.

      Why is this happening?

      C Offline
      C Offline
      Cake
      wrote on last edited by
      #2

      Solved. I don't know why but I deleted the files in the output debug folder and did a clean rebuild which seemed to solve the problem.

      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