I am new to Qt and I finally figured out how to use windeploy and when I did it said "libgcc_s_seh-1.dll is missing" and thus I added it from my minGW, but now It gives me the error "The application was unable to start correctly (0x000007b). I used windeployqt.exe with msvc2017_64 and here is an image of my release
Furthermore, I tried downloading dependencywalker and the only errors were false negatives in the form of MS-WIN-EXT or API-MS-WIN. I truly am lost. I think the issue may be that in my lack of knowledge with Qt and MinGW, in general, I downloaded something wrong when installing Qt or MinGW ie. 32 bit and 64 bit of MinGW, but I am truly not sure whatsoever. Any help would be much appreciated in figuring this out! Thanks!
Related
I've looked for an answer during a few days and I haven't found anything similar anywhere;
I downloaded Qt from the official website, installed it and apparently compiling is fine. But whenever I try to execute (Ctrl+R) any app, even the basic one which only displays a window or widget, QtCreator itself crashes. No error message, nothing, just crashing.
I've tried to redownload and reinstall it a few times with different settings, but nothing will do.
I'm running QtCreator on Windows 7 64 bits. I'll try on my laptop which is also running windows and will update if I find anything.
Any help would be appreciated, I need to start a project as soon as possible. I'm relatively new to QT and if you need info on anything just ask me. Thanks :)
Use dependency walker, http://www.dependencywalker.com/
and post any missing dependencies. It is possible some install targets or options are missing from when you installed QtCreator, which can be resolved with the maintenance tool in the same directory you installed Qt.
Also, are you using the Visual Studio compiler(must have Visual Studio installed separately, and mark the option during install), or the Ming compiler(2 options checked during install or maintenance)?
Check if your antivirus is locking it, I had a similar issue time ago and it was due to antivirus (Avast specifically). Disable antivirus' realtime shields and try to execute a basic app.
It is necessary to use QtCreator? I use QtDesigner snd VS2013 and things go very well. :)
check this thread Qt Creator Plain C++ Project won't run/debug... and this C++ - QtCreator doesn't show any output
I set up OpenCV with Code::Blocks as per this tutorial: http://kevinhughes.ca/tutorials/opencv-install-on-windows-with-codeblocks-and-mingw/.
I've got as far as building the test program at the end successfully, but when I try to run it I get the following error: "The application was unable to start correctly (0xc00000be). Click OK to close the application."
The one thing that is certainly different from the tutorial for me is that I'm working with OpenCV 3.0.0, Code::Blocks 13.12 and the latest version of mingw (number not obvious from their website or the installer).
I found that other people had had this problem in the past, e.g. The application was unable to start correctly (0xc00000be)
However, it has been a long time since that thread was active, I'm working with newer versions of the software and, most importantly, the answer given there didn't help (I compiled openCV with the same mingw that I'm using with Code::Blocks), so I thought this question would be worth asking (sorry if it's not, I'm rather new to this).
Could anybody suggest a fix that might get rid of this error?
A few other things to note:
I didn't download the Code::Blocks that came with mingw as I was advised against it, I got them separately as per the tutorial
I have installed OpenCV and Code::Blocks on my E: drive, though mingw is still on my C:.
I have added both mingw and OpenCV to my PATH variable, and mingw to my Path variable
I have linked the libraries in both the main compiler settings for Code::Blocks and the Build Options of my project.
I'm working from a 64-bit Windows 7 Laptop, but I have done everything 32-bit style as advised in the tutorial.
Thanks in advance!
So, one solution I've found to this problem is to copy all the .dll files from "...\opencv\build\x86\mingw\bin" to the project file (build directory).
Having done that, the project will run fine. This still doesn't (directly) explain why it wont run without those files (at least, several sources including the tutorial imply it should), and so isn't really optimal. I will continue to look for a solution for this so I don't have to clutter every opencv project I make with the .dlls.
However, for anyone simply wanting to get stuck into coding who is having this problem, I recommend that solution.
So I am working on my Diploma Thesis, and so far everything went fine.
So this week I installed Win8.1 on my PC and installed QT, implemented some things and wanted to send the release version of my program to my company.
I compiled the hole thing, copied it to my release folder and i got an error.
"This application failed to start because it could not find or load the Qt platform plugin "windows"."
I googled and found out that I have add a folder named "platforms". Said and done. Same error. I also tried to copy the hole plugins folder to my release folder. Same error.
I really need help because my boss isn't happy about giving in work too late.
I hope someone can help me.
Do you also have "qminimal.dll" placed in your platforms directory?
Edit:
Sorry, "qminimal.dll" was not displayed in my previous post.
I found the Problem!
Previously i used the dll's from my old QT installation. I just copied the ones from the new Installtion into a folder and the exe. I don't even need the qwindow.dll now.
BUT! I works now... :)
Is there a way, that I create my own DLL, just for my Application?
But still thanks for your help!
I have successfully built OpenCV and I have come to the point where code::blocks recognizes the OpenCV syntax and successfully builds the program. However when I run I get this error
"The procedure entry point_gxx_personality_v0 could not be located in the dynamic link library libstdc++-6.dll."
I am using Code::Blocks v 12.11 and minGW (the most recent, I can't remember the version number) along with OpenCV-2.4.8 Has anyone ever seen this problem? Help if you can, anything right now might work since I am so close.
https://stackoverflow.com/questions/3895879/installing-opencv-on-windowsw32-to-be-used-with-code-blocks?rq=1
Using this link to the other question I was able to locate a hint for my problem. I had everything correct and the hint to change the build to a GUI Application solved the issue. The programs build and then run as they should.
Ok so Im really confused here, I got the same erroe as Martin.kv who started this thread How to configure CDB in Qt Creator?
which said "The preferred debugger engine for debugging binaries of type 'x86-windows-msvc2010-pe-32bit' is not available....Details: There is no CDB binary available for binaries in format 'x86-windows-msvc2010-pe-32bit"
I assume I have to download some stuff to fix this, so I went here http://msdn.microsoft.com/en-us/windows/hardware/gg463009.aspx and I have Windows 7 on a 32-bit system so I went under this title "Install the Windows 7 Version of Debugging Tools for Windows" and went here http://www.microsoft.com/en-us/download/details.aspx?displaylang=en&id=8279 to download the Debugging tools for windows.
From all the stuff I've read, on the thread I referenced and a few others, what I downloaded seemed to be the right thing.
I admit I screwed up a little because I forgot to check where it was putting the Debugger Tools because while it started downloading I was still searching for what to do after the download. But I'm pretty sure it is in "C:\Program Files\Microsoft Windows Performance Toolkit" but I dont have anything called Windows Kits, which everyone else is saying theirs is in, and I still dont seem to have a cdb.exe..
did I download the wrong thing? What do I need to do/download instead? and also where can I get the Symbol Server that the Qt site and many other people suggest??
Sorry I'm new to Qt and some what to programming in general and my program for my internship is due at the end of the day and last night it stopped working so I'm kind of freaking out a little but I figure the debugger could help because it doesnt really make sense why it stopped working.
There should be a place in the Qt Creator settings where you can point it to the cdb.exe that comes with the Debugging tools for Windows.
See here: http://doc.qt.nokia.com/qtcreator-2.5/creator-debugger-engines.html
I got cdb working with QtCreator only after the following steps:
1) Download & install Debugging Tools for Windows
2) QtCreator->Tools->Options->Build & Run->Tool Chains
3) Copy autodetected MS compiler to the "manual" section
4) Set the path to cdb.exe
5) Use the "manual" MS compiler.
Perhaps there's some way to avoid steps 3-5 (playing around with environment variables maybe) but the described scheme works fine so I don't mind.