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. Universal Windows App - high CPU usage

Universal Windows App - high CPU usage

Scheduled Pinned Locked Moved General and Desktop
10 Posts 2 Posters 2.0k 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.
  • A Offline
    A Offline
    aktk
    wrote on last edited by
    #1

    Hello!

    "Empty" Qt 5.7 Widgets Application overloads one CPU core on my Windows 10. Just created new project and pressed start button. Debugger shows main thread lambda_invoker_stdcall as start point and Qt5Cored.dll as active code.

    Any ideas how it could be avoided or foxed&

    K 1 Reply Last reply
    0
    • A aktk

      Hello!

      "Empty" Qt 5.7 Widgets Application overloads one CPU core on my Windows 10. Just created new project and pressed start button. Debugger shows main thread lambda_invoker_stdcall as start point and Qt5Cored.dll as active code.

      Any ideas how it could be avoided or foxed&

      K Offline
      K Offline
      koahnig
      wrote on last edited by
      #2

      @aktk

      Which start button do you mean? The debugger one?

      Did you do already a rerun qmake and rebuild?

      Vote the answer(s) that helped you to solve your issue(s)

      1 Reply Last reply
      1
      • A Offline
        A Offline
        aktk
        wrote on last edited by
        #3

        Under start button I mean Run (Ctrl+R) button

        Project is clean, just created for test Qt Widgets Application - no changes befor run, just created new project and run it. No interactions with app.

        I've tested on two machines - real one and VM. On both of them one CPU core was fully used with single app thread. Looks like messages processing loop iterates without any waits or smth like this.

        K 1 Reply Last reply
        0
        • A aktk

          Under start button I mean Run (Ctrl+R) button

          Project is clean, just created for test Qt Widgets Application - no changes befor run, just created new project and run it. No interactions with app.

          I've tested on two machines - real one and VM. On both of them one CPU core was fully used with single app thread. Looks like messages processing loop iterates without any waits or smth like this.

          K Offline
          K Offline
          koahnig
          wrote on last edited by
          #4

          @aktk

          Sounds really strange. For which compiler did you do the installation?

          Vote the answer(s) that helped you to solve your issue(s)

          A 1 Reply Last reply
          0
          • K koahnig

            @aktk

            Sounds really strange. For which compiler did you do the installation?

            A Offline
            A Offline
            aktk
            wrote on last edited by
            #5

            @koahnig
            MS VC 2015
            I've used qt-opensource-windows-x86-winrt-msvc2015-5.7.0.exe

            K 1 Reply Last reply
            0
            • A aktk

              @koahnig
              MS VC 2015
              I've used qt-opensource-windows-x86-winrt-msvc2015-5.7.0.exe

              K Offline
              K Offline
              koahnig
              wrote on last edited by
              #6

              @aktk

              I have used Qt creator and generated just the templated app compiled and started. It has no problem.

              However, I am on windows 10 and I am using MinGW compiled libs Qt 5.7.0.

              When you are using vsaddin for VS2015, this might be already different. I doubt that there is a general issue for VS2015. You could Qt creator together with VS2015 compiler for a check.

              Are you using vsaddin?

              You can check on JIRA for a possible known bug for vsaddin.

              I had used vs2005 with vsaddin quite a while ago. I was not really convinced of this. However, there have been updates especially for Qt5. In general there seem to be less users using vsaddin since it requires a full version of VS and cannot be used with the free express version.

              Vote the answer(s) that helped you to solve your issue(s)

              A 1 Reply Last reply
              0
              • A Offline
                A Offline
                aktk
                wrote on last edited by
                #7

                Nope - I'm not using vsaddin

                1 Reply Last reply
                0
                • K koahnig

                  @aktk

                  I have used Qt creator and generated just the templated app compiled and started. It has no problem.

                  However, I am on windows 10 and I am using MinGW compiled libs Qt 5.7.0.

                  When you are using vsaddin for VS2015, this might be already different. I doubt that there is a general issue for VS2015. You could Qt creator together with VS2015 compiler for a check.

                  Are you using vsaddin?

                  You can check on JIRA for a possible known bug for vsaddin.

                  I had used vs2005 with vsaddin quite a while ago. I was not really convinced of this. However, there have been updates especially for Qt5. In general there seem to be less users using vsaddin since it requires a full version of VS and cannot be used with the free express version.

                  A Offline
                  A Offline
                  aktk
                  wrote on last edited by
                  #8

                  @koahnig
                  Jira does not contain any similar issue - wrote email directly to WinRT port owner, hope it could help )

                  K 1 Reply Last reply
                  0
                  • A aktk

                    @koahnig
                    Jira does not contain any similar issue - wrote email directly to WinRT port owner, hope it could help )

                    K Offline
                    K Offline
                    koahnig
                    wrote on last edited by
                    #9

                    @aktk

                    You wrote an email or filed a bug report?
                    The proper way would be writing a bug report. Not sure if you can write emails directly there.

                    Typically it is also good to have a link here to bug reports in case someone stuumbles into the same problem. Also people can upvote on JIRA to create more urgency with their votes.

                    Vote the answer(s) that helped you to solve your issue(s)

                    A 1 Reply Last reply
                    1
                    • K koahnig

                      @aktk

                      You wrote an email or filed a bug report?
                      The proper way would be writing a bug report. Not sure if you can write emails directly there.

                      Typically it is also good to have a link here to bug reports in case someone stuumbles into the same problem. Also people can upvote on JIRA to create more urgency with their votes.

                      A Offline
                      A Offline
                      aktk
                      wrote on last edited by aktk
                      #10

                      @koahnig

                      Thank you for advices!

                      Created a ticket - https://bugreports.qt.io/browse/QTBUG-57579

                      1 Reply Last reply
                      1

                      • Login

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