I can`t run application in Windows 10_x64
-
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?
-
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?
@smartcoder.v.arch Does it work if you start your application from QtCreator/MSVC?
-
@smartcoder.v.arch Does it work if you start your application from QtCreator/MSVC?
@jsulm yes, it`s works perfectly
-
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.
@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.
-
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.
@hskoglund Hi! I tried to run an app in cmd.exe - didn't get any output. It seems like the process stopped immediately...((
-
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?
-
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?
@Eeli-K Maybe I'll try to do it manually. Thanks
-
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.
@hskoglund Sorry, it's really called Runtime Broker, I missed it))
-
Note
Make sure that .exe file is not called ANYTHING with "update" in it.
Win 10 might block it silently. -
Note
Make sure that .exe file is not called ANYTHING with "update" in it.
Win 10 might block it silently.@mrjj it's a standard app QtQuick.Control2 . It's code generate QtCreator during the project's creating
-
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!!! -
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.