Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C++ QT
I downloaded Qt and installed it.
 
I have written a simple hello world program with user interferance and I built it to qt projects directory.
When I click to open the .exe file there appears an error message.
 
Why?
Posted 27-Oct-10 23:39pm
zeqiri362
Edited 27-Oct-10 23:46pm
Dalek Dave432.9K
v2
Comments
Richard MacCutchan at 28-Oct-10 5:54am
   
Tell us what the error message is. We cannot read your screen from here.
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

Would help greatly if you could show us the code and the error message.
 
It is impossible to answer you properly without these little clues!
  Permalink  
Comments
zeqiri at 28-Oct-10 4:48am
   
the application is builded its anything ok
its just a simple hello world program but why it doesnt run as app in my pc?
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

I suppose that the error message complains about dll that could not been located. Isn't it?
If so, just add the bin folder of your Qt distribution (something like c:\Qt\4.7.0\bin) to the system path.
  Permalink  
Comments
zeqiri at 28-Oct-10 11:28am
   
yeah..
this was the solution..now the program run ok
Nishant Sivakumar at 28-Oct-10 11:32am
   
Then please mark Sauro's reply as the answer.
Sauro Viti at 28-Oct-10 12:09pm
   
Thank you Nishant :-)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



Advertise | Privacy | Mobile
Web03 | 2.8.1411023.1 | Last Updated 28 Oct 2010
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100