Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. LNK1104 error When Compiling
Qt 6.11 is out! See what's new in the release blog

LNK1104 error When Compiling

Scheduled Pinned Locked Moved Installation and Deployment
3 Posts 2 Posters 3.8k 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.
  • B Offline
    B Offline
    bjaustin
    wrote on last edited by
    #1

    When trying to compile a Qt application, I get the following error
    @error: LNK1104: cannot open file 'gdi32.lib'@

    How can I fix this?

    1 Reply Last reply
    0
    • L Offline
      L Offline
      leon.anavi
      wrote on last edited by
      #2

      Which version of Qt and on what OS are you building the app? Does the gdi32.lib file exist? Could you please post the pro file? Btw "here is a similar topic":http://qt-project.org/forums/viewthread/23763.

      http://anavi.org/

      1 Reply Last reply
      0
      • B Offline
        B Offline
        bjaustin
        wrote on last edited by
        #3

        Qt 5.0.0
        Windows 7 64bit
        I am using the example program Address Book that came with my version of QtCreator.

        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