The error you're encountering, "No Target Architecture," occurs because the compiler isn't detecting a target architecture for the build. Here’s what you can try to fix it:
Verify the correct MSVC compiler is selected: Ensure you have selected a 32-bit or 64-bit architecture for MSVC in Qt Creator by choosing the proper kit in the build settings (x86 for 32-bit or x64 for 64-bit).
Install necessary SDKs: Make sure you have the correct Windows SDK installed. The error points to missing or incompatible SDK files. You may need to install the Windows 8.1 or Windows 10 SDK from the Visual Studio installer.
Update your environment variables: Ensure your development environment (Qt Creator) is properly configured with the correct environment variables for the MSVC toolchain.
Use the correct MSVC version: Since you mentioned MSVC2013, ensure you are using Qt compiled with the same MSVC version. If you're using a newer Qt version (like 5.7), try upgrading your compiler to MSVC2015 or later, as older compilers might not work well with newer Qt libraries.
By verifying these configurations, you should be able to resolve the issue and successfully compile your project.
Bookmarks