Code::Blocks Forums
Developer forums (C::B DEVELOPMENT STRICTLY!) => Contributions to C::B => Topic started by: kisco on July 04, 2007, 04:49:47 pm
-
Dear All,
I just installed code::blocks snv on Windows Vista platform. I tried to test it after installation and this error occurred after run command. The error reads as follows "This application has failed to start because QtCore4.dll was not found. Any idea on how to solve this error.
Thanks
-
"This application has failed to start because QtCore4.dll was not found."
Well - it tells you exactly what's the problem. Where does an executable search for libraries? In it's own path and in system-wide known path's (e.g. from the PATH environment variable). So either you copy QtCore4.dll into your applications' path or in a system-wide accessible one, such as C:\Windows\system32 (under the assumption you have installed Windows to C:\Windows).
With regards, Morten.
-
Thank you very much. It worked.
regards
-
Greetings,
Remember that you've to include all the DLLs files from the QT's bin directory to your Code::Blocks' linker using:
Settings/Compiler and Debugger.../Linker Settings/Add
And for running your programs it's a good idea like MortenMacFly says to copy all those Dlls files to that directory, not only the QtCore4.dll (with Windows, of course :) )
-
It should be (http://www.articlewritingclicks.com/errors/dll4.php) an interfering with Matlab that comes with QtCore.dll of older version So, just try to move Qt folder from the user %PATH% to the launch of the system %PATH% where Matlab folder was. Solved