Qt 5.6 & mingw_49_32
Jedd last edited by
I recently updated to Qt 5.6 (compiled static) and mingw49_32. As a result,
when I compile, my program now refuses to run, complaining:
are missing. I can include these DLLs with the program and all works,
however, previously with Qt 5.4.2/mingw491_32 my programs were fully
static, no external DLLs required.
I'd rather not ship these DLLs. How can I tell mingw to compile them into the program statiically?
Diamond Platypus last edited by
Hi! Can you try adding "-static-libgcc -static-libstdc++" to your compiler flags?
Jedd last edited by Jedd
Apologies to Diamond Platypus, I must not have had this post flagged as watch.
Anyway, I did add:
QMAKE_CXXFLAGS += -static-libgcc -static-libstdc++
To my .pro file
I still have missing dlls: