Hi and welcome to devnet, Don't put Qt in your PATH environment variable, it will not help and might even make things worse when building on Windows. You don't need to set all these variable and specially you should not append PATH to all of them. Also, why are you calling configure in C:\Windows\System32 ?