News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

QtCore4.dll not Found

Started by kisco, July 04, 2007, 04:49:47 PM

Previous topic - Next topic

kisco

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

MortenMacFly

Quote from: kisco on July 04, 2007, 04:49:47 PM
"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.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

kisco

Thank you very much. It worked.

regards

xlarsx

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 :) )




rhmitul

It should be 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