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. I can`t run application in Windows 10_x64
Forum Updated to NodeBB v4.3 + New Features

I can`t run application in Windows 10_x64

Scheduled Pinned Locked Moved Solved General and Desktop
13 Posts 5 Posters 5.1k 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.
  • hskoglundH Offline
    hskoglundH Offline
    hskoglund
    wrote on last edited by
    #3

    Also, if you start your app from a CMD window, do you see any error messages?

    BTW the process name is "Runtime Broker" and not "Runtime Broken" and it's used to launch Modern/Store apps, so it should not matter for your app.

    S 3 Replies Last reply
    0
    • jsulmJ jsulm

      @smartcoder.v.arch Does it work if you start your application from QtCreator/MSVC?

      S Offline
      S Offline
      smartcoder.v.arch
      wrote on last edited by
      #4

      @jsulm yes, it`s works perfectly

      1 Reply Last reply
      0
      • hskoglundH hskoglund

        Also, if you start your app from a CMD window, do you see any error messages?

        BTW the process name is "Runtime Broker" and not "Runtime Broken" and it's used to launch Modern/Store apps, so it should not matter for your app.

        S Offline
        S Offline
        smartcoder.v.arch
        wrote on last edited by
        #5

        @hskoglund ,Thanks for your reply. Unfortunately, I can't do it right now - I am not near my work pc. Tomorrow I'll send you all needed info. Thanks again.

        1 Reply Last reply
        0
        • hskoglundH hskoglund

          Also, if you start your app from a CMD window, do you see any error messages?

          BTW the process name is "Runtime Broker" and not "Runtime Broken" and it's used to launch Modern/Store apps, so it should not matter for your app.

          S Offline
          S Offline
          smartcoder.v.arch
          wrote on last edited by
          #6

          @hskoglund Hi! I tried to run an app in cmd.exe - didn't get any output. It seems like the process stopped immediately...((

          1 Reply Last reply
          0
          • E Offline
            E Offline
            Eeli K
            wrote on last edited by
            #7

            For me windeployqt didn't copy all necessary files, see https://forum.qt.io/topic/72642/deployment-on-windows-app-runs-but-doesn-t-show/2. Have you tried debugging the deployed app?

            S 1 Reply Last reply
            1
            • E Eeli K

              For me windeployqt didn't copy all necessary files, see https://forum.qt.io/topic/72642/deployment-on-windows-app-runs-but-doesn-t-show/2. Have you tried debugging the deployed app?

              S Offline
              S Offline
              smartcoder.v.arch
              wrote on last edited by
              #8

              @Eeli-K Maybe I'll try to do it manually. Thanks

              1 Reply Last reply
              0
              • hskoglundH hskoglund

                Also, if you start your app from a CMD window, do you see any error messages?

                BTW the process name is "Runtime Broker" and not "Runtime Broken" and it's used to launch Modern/Store apps, so it should not matter for your app.

                S Offline
                S Offline
                smartcoder.v.arch
                wrote on last edited by
                #9

                @hskoglund Sorry, it's really called Runtime Broker, I missed it))

                1 Reply Last reply
                0
                • mrjjM Offline
                  mrjjM Offline
                  mrjj
                  Lifetime Qt Champion
                  wrote on last edited by
                  #10

                  Note
                  Make sure that .exe file is not called ANYTHING with "update" in it.
                  Win 10 might block it silently.

                  S 1 Reply Last reply
                  0
                  • mrjjM mrjj

                    Note
                    Make sure that .exe file is not called ANYTHING with "update" in it.
                    Win 10 might block it silently.

                    S Offline
                    S Offline
                    smartcoder.v.arch
                    wrote on last edited by
                    #11

                    @mrjj it's a standard app QtQuick.Control2 . It's code generate QtCreator during the project's creating

                    1 Reply Last reply
                    0
                    • S Offline
                      S Offline
                      smartcoder.v.arch
                      wrote on last edited by
                      #12

                      Thank all for your help. I've solved the problem - copied the folder C:\Qt\5.7\msvc2015\qml\QtQml , C:\Qt\5.7\msvc2015\qml\QtQuick , C:\Qt\5.7\msvc2015\qml\QtQuick.2 and the app run!
                      I understand - there are a lot of unnecessary info but I have no time to explore it.
                      Thanks a lot!!!

                      1 Reply Last reply
                      1
                      • S Offline
                        S Offline
                        smartcoder.v.arch
                        wrote on last edited by
                        #13

                        Guys, I understood the deploy QtQuick.Controls2 application on windows. It's so simple - I had to implement only 2 steps. Step #1 - - windeployqt --release --qmldir <path to your project dir whith qml files> <path to bin.exe> , after that to add MSVCP120.dll and MSVCR120.dll (It depends on which version of msvc you use) in the folder with .exe file.

                        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