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. [SOLVED]Some times Qt Creator doesn't show the latest changes when building - Qt5 - Mac and Windows

[SOLVED]Some times Qt Creator doesn't show the latest changes when building - Qt5 - Mac and Windows

Scheduled Pinned Locked Moved General and Desktop
3 Posts 2 Posters 929 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.
  • F Offline
    F Offline
    fs_tigre
    wrote on last edited by
    #1

    Hi,

    Quick question. I have been noticing that sometimes QT Creator doesn't show the latest changes when building. In other words if I create a program build it and then later on I make some more changes and build it again, sometimes it doesn't show the latest changes until I delete the build folder.

    Is this a normal behavior, do I need to keep deleting the previous build folder every time I build my program? I don't recall having this problem with previous versions (Qt4).

    Is there an option in Qt Creator so that it deletes previous builds every time the run button is pressed?

    FYI,
    This issue only happens with code changes, GUI changes seem to be refreshing properly. Also, no errors are generated it just gives an old output, even simple qDebug messages. I'm running Qt5 and the issues happens in both in a Mac and in a Windows machine.

    Thanks

    1 Reply Last reply
    0
    • H Offline
      H Offline
      hardcodes.de
      wrote on last edited by
      #2

      This could depend on the kind of changes you make. If you add a QOBJECT macro to a class or add/change a resource, you must run qmake (from the build menu) afterwards and before compiling.

      while(!sleep){++sheep;}

      1 Reply Last reply
      0
      • F Offline
        F Offline
        fs_tigre
        wrote on last edited by
        #3

        Thanks a lot for your suggestions.

        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