Im getting this error when I run my program on a different:

this application has requested the runtime to terminate it in an unusual way.

my code runs in the usual way on my computer.

Any advice?

I read I might need qwindows.dll in a platforms folder but I cant find it.