Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Can't compile plugin for QtCreator(msvc, lib and dll issue)

Can't compile plugin for QtCreator(msvc, lib and dll issue)

Scheduled Pinned Locked Moved Solved Qt Creator and other tools
3 Posts 2 Posters 1.0k 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.
  • H Offline
    H Offline
    Hostel
    wrote on last edited by
    #1

    Hi,
    I'm trying to create Qt Creator plugin. I use wizard for it, but when I try compile plugin then I have message:
    error LNK1181: cannot open input file 'Cored.lib'

    I use msvc 2015, I have Qt Creator and Qt compiled by this compiler. It's looks like default plugin project tries to make static link to Cored, but it should link dynamic. How can I force that? MinGW use dynamic linking, but for msvc it doesn't work.

    Best regards,
    Lukasz

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

      Hi,

      No it doesn't, .lib files on Windows are either import libraries or static libraries. In your case, are you sure you have the debug version of that library available ?

      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
      • H Offline
        H Offline
        Hostel
        wrote on last edited by
        #3

        @SGaist thanx for reply. I have debug version, but I installed it. To solve this issue I had to copy *.lib files to install location. After that plugin compiles.

        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