Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. LNK1158: cannot run 'rc.exe'
Forum Updated to NodeBB v4.3 + New Features

LNK1158: cannot run 'rc.exe'

Scheduled Pinned Locked Moved Solved General and Desktop
3 Posts 3 Posters 316 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • SPlattenS Offline
    SPlattenS Offline
    SPlatten
    wrote on last edited by SPlatten
    #1

    I am on a new contract working with another legacy build environment and old tools:

    Qt Creator 4.4.1
    Based on 5.9.2 (MSVC 2015, 32 bit)
    Built on Oct 4 2017 04:12:53
    From revision: 6afdb8bdf9
    

    I have no choice on the build versions and compiler used, it is the requirement. Unfortunately the laptop I have been given to perform the development had only Qt installed and the compiler wasn't installed correctly as the C++ libraries were not installed, neither was a debugger installed.

    I have downloaded and installed MSVC 2019 with 2015 SDK C++ checked, I also downloaded the Windows SDK tools, so the Compiler and Debugger are now set to:

           C: Microsoft Visual C++ Compiler 14.0 (x86)
         C++: Microsoft Visual C++ Compiler 14.0 (x86)
    Debugger: Auto-detected CDB at C:\Program Files (x86)\Windows Kits\10\Debuggers\x86\cdb.exe
    

    The only problem remaining when I build the project is that CMake is empty and not detected, which results in the LNK1158 error.

    Kind Regards,
    Sy

    1 Reply Last reply
    0
    • J.HilkJ Offline
      J.HilkJ Offline
      J.Hilk
      Moderators
      wrote on last edited by
      #2

      https://forum.qt.io/topic/78214/trouble-with-msvc2015


      Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


      Q: What's that?
      A: It's blue light.
      Q: What does it do?
      A: It turns blue.

      1 Reply Last reply
      3
      • VRoninV Offline
        VRoninV Offline
        VRonin
        wrote on last edited by
        #3

        If you don't have to actually run the deployment from your laptop you can just download the MinGW version of the Qt version you can use and develop/test on that. Unless the software is super low level there shouldn't be any incompatibility due to changing the compiler

        "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
        ~Napoleon Bonaparte

        On a crusade to banish setIndexWidget() from the holy land of Qt

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved