|
 |
running Qt program in Windows Vista |
narcis_agh
Coder

Registration Date: 15.01.2008
Posts: 16
Location: Iran
Level: 11 [?]
Experience: 1,949
Next Level: 2,074
 |
|
| running Qt program in Windows Vista |
 |
Hi,
I have installed QT 4.3 software on Windows Vista. Now I have two problems.
1. When I type qmake in command Promt, it says :
"qmake is not recognized as an internal or external command, operable program or batch file"
2. And in Qt 4.3.4 Command Prompt when I type qmake -project it makes hello.pro file, then I type qmake hello.pro and it makes debug and release folders and Makefile, Makefile.Debug and Makefile.Release files. Then I type make and it makes hello.exe and hello.o files in release folder. When I run hello.exe file it says:
This apllication has failed to start because mingwm10.dll was not found. Re-installing the application may fix this problem.
Can anyone help me please ?
|
|
30.04.2008 13:12 |
|
|
stinos
CTO

Registration Date: 15.01.2006
Posts: 199
Level: 28 [?]
Experience: 169,545
Next Level: 195,661
 |
|
both are path related:
1. define QTDIR as environment variable and append %QTDIR%\bin to PATH
2. append the directory where that dll is to your path
btw using the search function or google would have worked as well
__________________ madinsjamania
|
|
30.04.2008 14:35 |
|
|
narcis_agh
Coder

Registration Date: 15.01.2008
Posts: 16
Location: Iran
Level: 11 [?]
Experience: 1,949
Next Level: 2,074
Thread Starter
 |
|
In Environment Variable tab there are two parts. Users Variables and System Variables. In System variables I added a new variable with QTDIR variable and c:\Qt\4.3.4\bin value but still I have problems with compiling my Qt files. Any more help ? Can you tell me about configure command ?
configure -platform win32-msvc
What must I type instead of platform and whats win32-msvc ?
|
|
03.05.2008 16:11 |
|
|
narcis_agh
Coder

Registration Date: 15.01.2008
Posts: 16
Location: Iran
Level: 11 [?]
Experience: 1,949
Next Level: 2,074
Thread Starter
 |
|
I copied mingwm10.dll, QtCore4.dll and QtGui.dll files to the release folder in project folder. Now it works. But I want compile my project without doing these copy/paste actions. You said me to set environment variable. But I am not familiar with this expression and I dunno how to do it in Windows Vista. And I have another question. Whats this Qt 4.3.4(Build Debug Libraries) file ? And another question. When I compile my file the .exe file just appear in release folder. Doesn't the file get compiled in debug mode ?
thanks
|
|
04.05.2008 10:07 |
|
|
|
|
|
 |
views today: 9.900 | views yesterday: 17.520 | total views: 10.243.269
Klebekork Shop - Linux Shop - Kontaktanzeigen - Linux Forum -
SMS Gewinnspiel -
Hotels -
Stadtpläne -
Branchenbuch & Stadtplan
|