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. The code is inconsistent with the execution
Forum Updated to NodeBB v4.3 + New Features

The code is inconsistent with the execution

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 193 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.
  • D Offline
    D Offline
    duncan98
    wrote on last edited by duncan98
    #1

    hi,all.QT has a strange problem where the code is inconsistent with the execution, as if the code changes are not applied to the application.This is true even if the compilation directory is cleared.For example, if a piece of code is commented, it still worksqt.JPG

    C 1 Reply Last reply
    0
    • D duncan98

      hi,all.QT has a strange problem where the code is inconsistent with the execution, as if the code changes are not applied to the application.This is true even if the compilation directory is cleared.For example, if a piece of code is commented, it still worksqt.JPG

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

      Then one or more of these things is true:

      • You are not compiling the source code you think you are. This could be because there are several copies of the source, or because the project file does not list all the components, or the project file has changed but not been reprocessed.
      • You are not compiling into the directory you think you are.
      • You are not running the executable that the compilation has produced. Are you building a release version but running an older debug version for example.

      There is no way for us to diagnose this for you.

      1 Reply Last reply
      4

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved