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. [Solved] LNK1104: cannot open file 'QtGuid.lib' in Windows 8.1

[Solved] LNK1104: cannot open file 'QtGuid.lib' in Windows 8.1

Scheduled Pinned Locked Moved General and Desktop
windows 8.1linker errors
2 Posts 1 Posters 2.7k Views
  • 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.
  • S Offline
    S Offline
    sassi67
    wrote on last edited by sassi67
    #1

    Hi everybody,
    under Windows 8.1 I'm trying to use the toolchain of OpenSceneGraph 3.0.1 (unfortunately I cannot upgrade to a more recent release) based on Qt 4.8.4 msvc2008 win32.
    When I try to create a simple gui widget project I always get the linker error "LNK1104: cannot open file 'QtGuid.lib' ". That's reasonable because, by examining the folder containg the toolchain, the library is QtGui4d.lib not QtGuid.lib.
    Is there a workaround to force Qt to use the correct library (a LIBS directive in .pro or whatever)?

    Thanks in advance

    1 Reply Last reply
    0
    • S Offline
      S Offline
      sassi67
      wrote on last edited by
      #2

      The above problem has been "autoresolved" with a reboot of my PC.
      Another problem arised: "LINK : fatal error LNK1104: cannot open file 'qtmaind.lib'"
      This is due to the fact that release libraries and debug libraries are stored into 2 different folders.
      So I've taken the source files of Qt4.8.4 from OSG and recompiled them with the desidered options.
      Now everything works.

      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