Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct

    Solved I can`t run application in Windows 10_x64

    General and Desktop
    5
    13
    3408
    Loading More Posts
    • 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.
    • S
      smartcoder.v.arch last edited by smartcoder.v.arch

      I need your help to solve the problem. I use Qt version 5.7 msvc2015_32 on windows 10 64 bit. I create a standard QtQuick.Controls2 application in release mode. After I have completed all the required actions to deploy with windeployqt.exe I still can't run the application. It does not display any warnings about missing dll , but the process hangs and there is another process Runtime Broken that I see in task manager in windows. Does somebody know how to solve this problem?

      jsulm 1 Reply Last reply Reply Quote 0
      • jsulm
        jsulm Lifetime Qt Champion @smartcoder.v.arch last edited by

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

        https://forum.qt.io/topic/113070/qt-code-of-conduct

        S 1 Reply Last reply Reply Quote 0
        • hskoglund
          hskoglund last edited by

          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 Reply Quote 0
          • S
            smartcoder.v.arch @jsulm last edited by

            @jsulm yes, it`s works perfectly

            1 Reply Last reply Reply Quote 0
            • S
              smartcoder.v.arch @hskoglund last edited by

              @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 Reply Quote 0
              • S
                smartcoder.v.arch @hskoglund last edited by

                @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 Reply Quote 0
                • E
                  Eeli K last edited by

                  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 Reply Quote 1
                  • S
                    smartcoder.v.arch @Eeli K last edited by

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

                    1 Reply Last reply Reply Quote 0
                    • S
                      smartcoder.v.arch @hskoglund last edited by

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

                      1 Reply Last reply Reply Quote 0
                      • mrjj
                        mrjj Lifetime Qt Champion last edited by

                        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 Reply Quote 0
                        • S
                          smartcoder.v.arch @mrjj last edited by

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

                          1 Reply Last reply Reply Quote 0
                          • S
                            smartcoder.v.arch last edited by

                            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 Reply Quote 1
                            • S
                              smartcoder.v.arch last edited by

                              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 Reply Quote 0
                              • First post
                                Last post