PDA

View Full Version : Qt Libraries



Seth
17th April 2007, 03:17
Newbie needs more help.

None of my examples work, C:\Qt\4.2.3\examples\tutorial.

No executable shows up in the DEBUG folders only in the RELEASE folder but when I double click the executable in the RELEASE folder I get the error
The procedure entry point _ZN7QStringfrom Ascii_helperEPKci could not be located in the dynamic link library QtCore4.dll

How do set the path for the Qt Libraries? And where do I set that path?

Thanks in advance

marcel
17th April 2007, 04:53
In Computer properties/Advanced tab/Environment variables/User variables

Here use the new button to create a new env var named QTDIR, which will point to your qt installation, for instance C:\Qt\Qt\4.2.2.

Next, using the same new buton, create a PATH var, which looks something like this:

PATH = %QTDIR%\bin;%PATH%

EDIT - once you click ok in the dialog, these vars will be available only to newly started apps

And that's it