Unsolved Application not running on other people's PCs.
-
(http://puu.sh/pQN8b/6172d8313e.png)
I sent the program I made to a few friends of mine and they said they got this error. This was in release mode on a windows 8 and windows 7. Now, this program isn't resource intensive so I could be able to just make it debug and release it that way. Would releasing it in debug mode work on windows 8 and 7? By the way, I'm using Qt 5.5
-
Hi
If this is not a static build, did you give them a
zip file with deploy dlls and the exe file?
A debug version is just bigger but should work fine. -
@mrjj I didn't know about deploy dlls yet. I found how to do it but for now I'll use debug DLLs for now since it's not that big of a deal. This was just an application as a joke. However, I'll hold on to it for the future.
-
@ProgrammerAtHeart3344
Hi, you need the such folder with Qt DLLs for the app to work. :)
(no matter debug or release . DO NOT MIX)this is my fav for the info.
note , it depends on compiler used:
http://www.tripleboot.org/?p=138there is also tools
http://doc.qt.io/qt-5/windows-deployment.html -
So I copied msvcp120d.dll from the windows folder to the debug folder of the application and he got this error: app was unable to start correctly (0xc000007b). click ok to close the app.
Does he need to install microsoft run time for this to work? -
(http://puu.sh/pQOvy/dcf2842d9d.png)
This is what's in the folder. As you can see, I'm using debug DLLs.
-
@ProgrammerAtHeart3344
yep.
But you do not have the sub folder platforms with a dll?
Correct?
That is normally needed. -
I'll try to use windeploy.
-
@ProgrammerAtHeart3344
Good plan. it should help :) -
@mrjj Oh I should mention I am using visual studio 2013, I'm not using Qt Creator. I'm not sure if that information was relevant.
-
@ProgrammerAtHeart3344
well Creator is just an IDE, but knowing if u use mingw or VS is helpful as
you need some VS runtime dlls too.And just to be sure. Do not ever mix debug and non debug in same folder :)
I know u know, but just have to say it :) -
@mrjj Well, windeployqt was super easy to use... and here I was making it harder than it needed to be...
-
@mrjj My friend said he is missing MSVCP120D.dll what should I include in the folder, vcredist_x86.exe or just the DLL itself?