Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: ANIRBAN GHOSH on April 21, 2007, 02:01:53 am

Title: QT 4 IN WINDOWS XP
Post by: ANIRBAN GHOSH on April 21, 2007, 02:01:53 am
I have downloaded QT 4.2.3 from their website. I have installed it at the recommended path i.e. as instructed by it to install - C:/mingw. Now the problem is when i try to run the project message is shown "QTcore4.dll" has not been found. I have also downloaded the "mingw" -  the recommended by them during installation. Also I am using the latest nightly build!
 
Title: Re: QT 4 IN WINDOWS XP
Post by: angelos on April 21, 2007, 12:06:59 pm
Hi Anirban,
This is not the C::B issue.
This error appears, cause you don't have included files QtCore4.dll, mingwm10.dll and QtGui4.dll in your project folder.
These files must be in the same folder as your exec.
(I guess that always you have to include these files to your execs, but you can compress them by UPX).
Title: Re: QT 4 IN WINDOWS XP
Post by: ANIRBAN GHOSH on April 21, 2007, 03:43:29 pm
An enormous Thanks to you!! But that isn't a strange way of doing??? Every time i create a project i will have to copy the dll's into the project folder!
Is there any solution to this?
Title: Re: QT 4 IN WINDOWS XP
Post by: raph on April 21, 2007, 04:24:52 pm
You could copy dlls to windows dir  :lol:
Title: Re: QT 4 IN WINDOWS XP
Post by: ANIRBAN GHOSH on April 21, 2007, 05:34:40 pm
ThanX! But can u tell me the exact path please? Or how can I tell the project about the location of DLL's, any option in the IDE?
Title: Re: QT 4 IN WINDOWS XP
Post by: zyszys on August 10, 2008, 03:07:19 pm
You should set the system Environment variable. Adding the "x:\Qt\x.x.x\bin" path to the path variable.   
Title: Re: QT 4 IN WINDOWS XP
Post by: Leron on August 10, 2008, 10:22:24 pm
I added path to QT/bin in global complier setting -> toolchain executables -> additional path  - this works too.