The application was unable to start correctly (0xc000007b)
-
wrote on 13 Apr 2016, 06:23 last edited by
There should be a lot more dlls (Qt5Core.dll, Qt5Gui.dll, ...) after running windeployqt. Do you have more than one version of prebuild qt binaries installed?
You have to run the windeployqt.exe from the bin directory matching the compiler you used for creating the application. -
There should be a lot more dlls (Qt5Core.dll, Qt5Gui.dll, ...) after running windeployqt. Do you have more than one version of prebuild qt binaries installed?
You have to run the windeployqt.exe from the bin directory matching the compiler you used for creating the application.wrote on 13 Apr 2016, 07:29 last edited by nedaThank you
I run "windeployqt.exe" from "C:\Windows\System32\cmd.exe /A /Q /K C:\Qt\Qt5.5.1\5.5\msvc2013_64\bin\qtenv2.bat"
and create application by Qt 5.5.1 ("C:\Qt\Qt5.5.1\Tools\QtCreator\bin\qtcreator.exe").I have "Qt5Core.dll, Qt5Gui.dll" after running windeployqt.
pic@sneubert said:
Do you have more than one version of prebuild qt binaries installed?
Maybe
I am not sure.
I have only Version 5.5.1 In the list of programs.@sneubert said:
There should be a lot more dlls
For example?
-
wrote on 13 Apr 2016, 09:28 last edited by
i can´t see your images due to our corporate proxy.
But my dirs list dlls like:
D3Dcompiler_47.dll
libEGL.dll
libGLESV2.dll
opengl32sw.dll
...
Qt5Widgets.dll
Qt5Multimedia.dllif it´s a missing dependecy you can check by load your application in
DependencyWalker
(google for download).if you have additional qt binaries, there should be more directories below
c:\qt\qt5.5.1\5.5\
. can u list them?As your application shows up in processexplorer use printing for example to cout to check your actually calling show on a widget.
BTW did you set any windows flags like translucent background or frameless window ? -
wrote on 13 Apr 2016, 09:55 last edited by neda
Thank you
Please see this Link -
wrote on 13 Apr 2016, 10:06 last edited by sneubert
In your first post you say:
Based on Qt 5.5.1 (MSVC 2013,32 bit
)
in general the folderC:\Qt\Qt5.5.1\5.5\msvc2013_64
points to the 64bit qt binaries.
Is there a folder likeC:\Qt\Qt5.5.1\5.5\msvc2013_x86
orC:\Qt\Qt5.5.1\5.5\msvc2013
Can u use the windeployqt from there an give it another try?
You can see the exact path to qt binaries in kit configuration of creator. -
In your first post you say:
Based on Qt 5.5.1 (MSVC 2013,32 bit
)
in general the folderC:\Qt\Qt5.5.1\5.5\msvc2013_64
points to the 64bit qt binaries.
Is there a folder likeC:\Qt\Qt5.5.1\5.5\msvc2013_x86
orC:\Qt\Qt5.5.1\5.5\msvc2013
Can u use the windeployqt from there an give it another try?
You can see the exact path to qt binaries in kit configuration of creator. -
In your first post you say:
Based on Qt 5.5.1 (MSVC 2013,32 bit
)
in general the folderC:\Qt\Qt5.5.1\5.5\msvc2013_64
points to the 64bit qt binaries.
Is there a folder likeC:\Qt\Qt5.5.1\5.5\msvc2013_x86
orC:\Qt\Qt5.5.1\5.5\msvc2013
Can u use the windeployqt from there an give it another try?
You can see the exact path to qt binaries in kit configuration of creator. -
wrote on 14 Apr 2016, 07:10 last edited by neda
I remove all Qt program and install "qt-opensource-windows-x86-msvc2013_64-5.5.1.exe"
but I have same specification in window "About Qt Creator".
Qt Creator 3.5.1 (opensource)
Based on Qt 5.5.1 (MSVC 2013,32 bit)
and url "C:\Qt\Qt5.5.1\5.5\msvc2013_64" in my computer. -
The QtCreator version doesn't matter at all:
Qt Creator 3.5.1 (opensource) Based on Qt 5.5.1 (MSVC 2013,32 bit)
that means you have QtCreator 3.5.1 which was built with Qt 5.5.1 using MSVC 2013, 32bit.
You can use any other Qt version with QtCreator.C:\Qt\Qt5.5.1\5.5\msvc2013_64
yes, this one is Qt you installed.
-
wrote on 14 Apr 2016, 07:40 last edited by neda
@jsulm said:
Based on Qt 5.5.1 (MSVC 2013, 32 bit)
That's the QtCreator version not the Qt version which is @neda uses.Thank you
I download "Qt 5.6.0 for Windows 64-bit (VS 2015, 836 MB) " from "http://www.qt.io/download-open-source/#section-2"
I have this specification in window "About Qt Creator".
Based on Qt 5.6.0(MSVC 2013,32 bit).But in my computer:
"C:\Qt\Qt5.6.0\5.6\msvc2015_64"Why not change version of MSVC after install?
I do not know what to do to solve this problem? -
Which problem do you mean?
There is no problem!
"About Qt Creator" dialog shows information about QtCreator not Qt versions you installed.
It doesn't matter which Qt version QtCreator uses itself. You can use any other Qt version with QtCreator.
To see which Qt version you're currently using check the Kit you're using: go to Tools/Options.../Build & Run/Kits. -
Which problem do you mean?
There is no problem!
"About Qt Creator" dialog shows information about QtCreator not Qt versions you installed.
It doesn't matter which Qt version QtCreator uses itself. You can use any other Qt version with QtCreator.
To see which Qt version you're currently using check the Kit you're using: go to Tools/Options.../Build & Run/Kits. -
In your first post you say:
Based on Qt 5.5.1 (MSVC 2013,32 bit
)
in general the folderC:\Qt\Qt5.5.1\5.5\msvc2013_64
points to the 64bit qt binaries.
Is there a folder likeC:\Qt\Qt5.5.1\5.5\msvc2013_x86
orC:\Qt\Qt5.5.1\5.5\msvc2013
Can u use the windeployqt from there an give it another try?
You can see the exact path to qt binaries in kit configuration of creator.wrote on 16 Apr 2016, 07:09 last edited byI installed the qt-opensource-windows-x86-msvc2013-5.6.0.exe.
I build project (Release build) and run windeployqt from msvc2013 folder,
.exe file run in my computer but in another computers I receive errors for not found msvcr120.dll,msvcp120.dll.
After add that dll I have this error:
The application was unable to start correctly (0xc000007b) -
I installed the qt-opensource-windows-x86-msvc2013-5.6.0.exe.
I build project (Release build) and run windeployqt from msvc2013 folder,
.exe file run in my computer but in another computers I receive errors for not found msvcr120.dll,msvcp120.dll.
After add that dll I have this error:
The application was unable to start correctly (0xc000007b)@neda said:
in another computers I receive errors for not found msvcr120.dll,msvcp120.dll.
This means these other computers don't have the VC redistributable installed. Either you have to package those with your application, or rather install them from MS's site:
https://www.microsoft.com/en-us/download/details.aspx?id=48145 (the link is for VC 2015)Again, note the compiler version you've used for building your application and select the appropriate redistributable (matching the compiler version).
-
@neda said:
in another computers I receive errors for not found msvcr120.dll,msvcp120.dll.
This means these other computers don't have the VC redistributable installed. Either you have to package those with your application, or rather install them from MS's site:
https://www.microsoft.com/en-us/download/details.aspx?id=48145 (the link is for VC 2015)Again, note the compiler version you've used for building your application and select the appropriate redistributable (matching the compiler version).
wrote on 16 Apr 2016, 07:48 last edited by neda@kshegunov said:
compiler version you've used for building your application and select the appropriate redistributable (matching the compiler version).
Thank you
I install "Visual C++ Redistributable for Visual Studio 2015 , 2012" but useless.
I have several compilers:Please guide me.
Thanks -
@kshegunov said:
compiler version you've used for building your application and select the appropriate redistributable (matching the compiler version).
Thank you
I install "Visual C++ Redistributable for Visual Studio 2015 , 2012" but useless.
I have several compilers:Please guide me.
ThanksHere. The video should be enough to get you started. You match the compiler you used to the redistributable version. I don't understand Arabic and have no idea what your link points to (there are no pictures), but watch the video, check your compiler and install the appropriate redistributable package on the computers you're deploying to.
-
Here. The video should be enough to get you started. You match the compiler you used to the redistributable version. I don't understand Arabic and have no idea what your link points to (there are no pictures), but watch the video, check your compiler and install the appropriate redistributable package on the computers you're deploying to.
wrote on 17 Apr 2016, 03:47 last edited by neda@kshegunov said:
I don't understand Arabic and have no idea what your link points to (there are no pictures)
Thank you.
Excuse me for the wrong link.I installed Visual C++ Redistributable for Visual Studio 2013 and The problem was solved.
16/23