aash_89, Welcome to the wonderful world of Qt.
Beeing a newbie I can see all the enthusiasm about running and deploying your first Qt app.
So, forget about configuring Qt statically for now, some say you should not deploy apps like that unless you have a Qt commercial license. If you have tried to run your app from the windows explorer and it doesnt work you should add qt dll's directory to your system path. This would be something like:
c:\qt\2010.04\qt\bin;c:\Qt\2010.04\bin
(change it acording to your Qt version/ dll's directory)
To run your app.exe in another computer you will need at least, from that first dir, qtcore4.dll, qtgui4.dll, mingwm10.dll and libgcc_s_dw2-1.dll. You could put all this file in the same directory in other computer and that should work. You can also use a third party software to do a more fancy thing like a setup.exe file that would do a next-next-finnish deployment, much more prettier. I personnaly use Install Creator (google it) they have a free version, very easy to use, but there's plenty others programs. That's it.
Then you will show it to your friends and they will say: “Hey, aash_89 did a very cool app it looks very professional“. (that was what my math teacher, who didnt know nothing about programming, said, when I made a Floyd algorithm program lololol
)
By the way Wysota and Lykurg are nice guys who have helped hundreds and thousands not 3 (lol). The thing is that at some point some people just would come to the forum asking code snippets, without any effort to learn, expecting the forum to do there work. Also think they are triyng to tell you that the best way to learn Qt, and programming, is being sell thaugh. This means readind a lot of books and tutorials.But I also think that this could be some what difficult at newbie stage and sometimes, frustating. So please let me know if something is unclear to you.
By the way, I advise to deploy the dll files to yourapp.exe current directory and not to windows\system directory. This could save you a lot of errors with diffrent dll versions, (the famous dllhell)
Bookmarks