Thanks to everyone the problem has solved and all is done. First I was thinking that downloading the msvc from qt maintanance tool is enogh but it was not. I have to download the microsoft visual studio and set it up for qt.
@SherifOmran said in how to compile qt static with open ssl:
PATH
If you really need to change that variable, then do it only in the terminal you use to build your stuff. It's never a good idea to add the path to such sensitive libraries system wide as you might break unrelated applications.
@Henrinacio so you don't have the correct version of Visual Studio installed. You installed Qt for Visual Studio 2012 and 2013. On Windows you can't just mix and match like that. The different version of Visual Studio are not compatible one with the other. So you have two solutions:
Install VS2013 to use Qt for MSVC2013
Build Qt yourself with VS2015
Just did mark it as solved.
This might be because you have signed up lately. Not sure what the restrictions are, but it is meant for spam prevention.
Otherwise at your top post respectively any other post you should see a gear wheel at the right. Click on this and on the left button showing up. In general it is self-explanatory and I am sure you will find it next time.