简体   繁体   中英

cmake problems with qt creator hello world

How can I choose platform for cmake with QT creator?

This is my project settings:

在此处输入图片说明

My cmake settings (what i am supposed to put as platform/kit?):

在此处输入图片说明

This gives me gives me crazy output here:

在此处输入图片说明

在此处输入图片说明

Whats wrong here? I do have rc.exe in my path:

在此处输入图片说明

UPD: As asked, I've checked vcvars32.bat:

在此处输入图片说明

(what am I expected to see here also??):

在此处输入图片说明

I have managed to walkaround the problem in the end by removing MSVC2017, Windows SDK and reinstalling MSVC 2015 + Windows SDK for W10. But this is not enough, in this crazy dialog:

在此处输入图片说明

you have to select ...ninja+codeblocks and this allows to run cmake sucessfully. Why VS14 setting here causes problems -- this remains a mystery for me.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM