Can not run compiler 'g ++' Maybe you forgot to setup the environment, methods and solve a lot of people do not like what is the reason we can look?

    Can not run compiler 'g ++' Maybe you forgot to setup the environment but the new project, there is no written code error, in fact, very clear description of the problem, is to solve the solution can not be tried: the path g ++ is D: \ Qt \ Qt5.10.0 \ Tools \ mingw530_32 \ bin added to the path environment variable, enter the console command g ++ -v can see the path g ++ is this. But Qt Creator is still being given the compiler tried to replace mingw530_32 \ i686-w64-mingw32-g ++ bin directory, or an error. Restart the computer and no fruit, before loading the Qt5.11 is this error, and later changed Qt5.10 another laptop loaded Qt5.10, installing it can be used normally. All win10 64-bit systems. I read a lot of those friends said, such as debug click the icon of what does not work, my own feeling is that the system or other problems, and I only saw a net friend's, he is the ultimate solution is hard to say gpt mode, and then he modified into mbr mode Okay, so I would like to ask if the system disk is gpt mode really affect the installation qt thing? I do not want to replace the temporary hard disk mbr to test, so would like to ask the hard mode is gpt, and you install the qt Well there is a problem? thank.

The new project only .pro, online tried some solutions will not work, users see only a sense of the above solution is feasible. And it is suspected to be related to the hard drive mode.

 

As shown below:

Published 23 original articles · won praise 4 · Views 9970

Guess you like

Origin blog.csdn.net/hxp1994/article/details/96211400