So I made a simple qt app and it runed fine when it compiled it, but when I dbclicked executable file it said it can't run because it can't find libgcc_s_dw2-1.dll
Then I searced it online and found that it should be somehow linked, but since I didn't know how to link it I just copypasted it from my qt bin folder but now it says it can't run because he can't find libstdc++-6.dll which I couldn't find in C:\Qt folder.
So my question is how to link those 2 things so I when I finish my tic tac toe I could show it to few guys?
When your application is finished, you should stick the EXE file in a folder by itself, and then all the required DLLs, like libgcc_s_dw2-1.dll, also. You can use the Dependency Walker program to see the names of all the DLLs you need to copy into the folder. http://www.dependencywalker.com/
You do not need to copy any Windows DLLs out of system32.
Once done, zip up the folder and send the zip to your friends.
Sorry to respond late. Don't stick your application's DLLs in system32. Stick them in the same folder that the user puts your application. You get this automatically if you just zip everything up the way I explained.