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. Problem while linking QtCore4.lib
Qt 6.11 is out! See what's new in the release blog

Problem while linking QtCore4.lib

Scheduled Pinned Locked Moved Installation and Deployment
4 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.
  • Q Offline
    Q Offline
    Qnoobish
    wrote on last edited by
    #1

    Hello,

    I am having somre troubles while on Release mode under MSVC 2005 and Windows 7 x64.

    My project builds and runs fine on Debug mode, but when I try to build it using Release at the end I get this message:

    2>LINK : fatal error LNK1181: cannot open input file '....\qt\lib\QtCore4.lib'

    Right now I buildt Qt using MSVC 2005 but I dont remember any special configuration for Debug or Release. Do I need to build Qt libraries with some kind of configuration for the release mode?

    Thanks in advance hopefully someone will share some hints :)

    In short, software is eating the world.

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Do you have these files ? And the corresponding dlls ? If not you might have built a debug only Qt

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • Q Offline
        Q Offline
        Qnoobish
        wrote on last edited by
        #3

        Hello,

        Ya, I double cheked this stuff and my path was wrong. I was supposed to be ussing QtCored4.lib and not QtCore4.lib

        Thanks for your answer though.

        I feel kind of dyslexic right now :(

        In short, software is eating the world.

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          If you are building a release version you should be using QtCore4.lib not QtCored4.dll.

          Or I misunderstood something in your post

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          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