Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. [solved] Have to clean and rebuild "every 30 seconds"
Qt 6.11 is out! See what's new in the release blog

[solved] Have to clean and rebuild "every 30 seconds"

Scheduled Pinned Locked Moved Mobile and Embedded
14 Posts 7 Posters 14.7k 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.
  • Z Offline
    Z Offline
    ZapB
    wrote on last edited by
    #5

    You can use "ProcessExplorer":http://technet.microsoft.com/en-us/sysinternals/bb896653.aspx to find which process has the file handle to your file open. I think it is Ctrl-F then enter name of file to search for what has it open.

    Nokia Certified Qt Specialist
    Interested in hearing about Qt related work

    1 Reply Last reply
    0
    • S Offline
      S Offline
      secretNinja
      wrote on last edited by
      #6

      The process is "System" and when I try to close the handle - it says "The handle is invalid"
      ... I 'love' you Windows :(

      1 Reply Last reply
      0
      • G Offline
        G Offline
        giesbert
        wrote on last edited by
        #7

        System?
        what do you mean by "the process is system"?
        is there a process OnTime.exe?

        Nokia Certified Qt Specialist.
        Programming Is Like Sex: One mistake and you have to support it for the rest of your life. (Michael Sinz)

        1 Reply Last reply
        0
        • S Offline
          S Offline
          secretNinja
          wrote on last edited by
          #8

          No, there isn't OnTime.exe .

          In Task Manager there is a process named "System".

          Screenshot from ProcessExplorer: !http://img560.imageshack.us/img560/8646/systems.png( ProcessExplorer )!

          1 Reply Last reply
          0
          • Z Offline
            Z Offline
            ZapB
            wrote on last edited by
            #9

            Do you have windows explorer open in that directory by any chance? If so try closing that.

            Nokia Certified Qt Specialist
            Interested in hearing about Qt related work

            1 Reply Last reply
            0
            • S Offline
              S Offline
              secretNinja
              wrote on last edited by
              #10

              This was one of the first things I tried. After restart and even manually closing all unnecessary processes the problem is still here.

              Under Linux it's OK ... but this isn't a real solution.

              Could be a problem my local git repo? ... I will try making new project without it.

              EDIT:

              Git is not a problem. I've had the same problem without git. Then I decided to start a totally new project ... adding a textEdit, a button and one line of code

              @ui->textEdit->setText("1");@

              is OK ... but adding another one and trying to run again the 'app'

              @ui->textEdit->setText("1");
              ui->textEdit->setText("2");@

              stop the execution with the same error.

              ONE MORE EDIT:

              Unfortunately the problem is in Windows and Qt is not to be blamed ( this isn't bad but my chances to find a solution are smaller ).
              Here is the absolutely "the same problem like mine":http://forum.sysinternals.com/system-process-anomaly_topic24458.html :

              bq. Problem: after the proper execution and termination of an executable the System process (PID: 4) keeps a handle to the file for minutes even after the termination of the executable and this blocks me from deleting, moving the given executable.

              1 Reply Last reply
              0
              • S Offline
                S Offline
                secretNinja
                wrote on last edited by
                #11

                The problem was that "Application Experience" service was stopped. I just have to re-enable it.

                The strange part is that when the problem started I'm sure that I was writing code and not stopping services ... Windows.

                What this service is doing:

                bq. Processes application compatibility cache requests for applications as they are launched.

                (no comment)

                Thanks to everybody :)

                /off I am writing the solution in a new post because the previous was already too long and to be more obvious what somebody have to do. Was this correct or should I edit my last post (if it is the last in the thread of course) next time?

                1 Reply Last reply
                0
                • S Offline
                  S Offline
                  Smar
                  wrote on last edited by
                  #12

                  [quote author="secretNinja" date="1303562839"]

                  /off I am writing the solution in a new post because the previous was already too long and to be more obvious what somebody have to do. Was this correct or should I edit my last post (if it is the last in the thread of course) next time?[/quote]

                  I think edits are done when you are editing your own post; when you have completely different topic and too long to embed in one post (like, 5-10 paragraphs) or like now, when you are answering your own question.

                  It makes much easier for others to understand actual problem when they are naturally reading the question and then answer to it, regardless who is answering to it.

                  EDIT: Edits, on the other hand, are often used like now, when I saw I shouldn’t have quoted whole post but only offtopic part of it :)

                  1 Reply Last reply
                  0
                  • S Offline
                    S Offline
                    svetla
                    wrote on last edited by
                    #13

                    "/off I am writing the solution in a new post because the previous was already too long and to be more obvious what somebody have to do. Was this correct or should I edit my last post (if it is the last in the thread of course) next time?"

                    --> could you please mention where the new post with the solution can be found?
                    Thank you!

                    1 Reply Last reply
                    0
                    • C Offline
                      C Offline
                      CorD SaC
                      wrote on last edited by
                      #14

                      How did you solved this 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