I know this has been asked before but I can't seem to find an answer.
I just have a little hello world console program basically I wrote in c++ with qt creator. When I try to run the executable I get "The program can't start because libgcc_s_dw2-1.dll is missing from your computer. Try reinstalling to fix this problem."
I don't understand why this dll is even necessary for a little program like this. I tried adding these flags as suggested elsewhere:
QMAKE_CXXFLAGS += -static -static-libgcc -static-libstdc++
and it still happens. Other people have suggested adding the directory whee the dll is located to my path but I'd like to actually give this program to someone else without them needing the dll.