LNK1158: cannot run 'rc.exe'
-
I know this is old but the real reason for the missing rc.exe is a bug in Microsoft SDKs path installation.
Here is a "cleaner" fix : https://stackoverflow.com/questions/43847542/rc-exe-no-longer-found-in-vs-2015-command-prompt -
Hello everyone,
I have the same issue, but I can't find the Build Environment settings in Qt5, can you show me where to find it?
Thanks in advance -
Hello everyone,
I have the same issue, but I can't find the Build Environment settings in Qt5, can you show me where to find it?
Thanks in advance@kamalberahal You mean in QtCreator not Qt5 I guess?
On the left side click on "Projects", select the Kit you're using and go to Build. -
Yes sorry that's what I meant. Thanks a lot, I have found ir
-
Ya, for me it was already in my path. My problem was that I had VS2017 installed, but the qt is by default meant to build for the 2015 version. So just change the build options to the VS2017x64 version.
@stoplight said in LNK1158: cannot run 'rc.exe':
but the qt is by default meant to build for the 2015 version
Newer Qt versions are available for VS2017 as well.
-
Yes sorry that's what I meant. Thanks a lot, I have found ir
-
I cannot find Build Environment settings , can you send me photo please, where I can find it
Thank you -
@Ripegas Open your project in QtCreator. On the left side click on "Projects", then under Build & Run" select the Kit you're using and then "Build". Now, at the bottom you will see "Build Environment"...