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. Linking errors
Qt 6.11 is out! See what's new in the release blog

Linking errors

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 Posters 969 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.
  • D Offline
    D Offline
    dash1
    wrote on last edited by
    #1

    Hello. I'm trying to compile my first Qt project, but I have problems with unresolved extrnals when I link it. This is the error log: http://pastebin.com/KpjvFKfu

    I'm using Qt compiled with VS2012 x86 (compiled with -MT parameter). My program is also compiled with the same compiler and linked statically. I link with these Qt-related libraries: Qt5Core.lib Qt5Gui.lib Qt5Widgets.lib qtmain.lib

    Do I need some more libraries to include or are there some other dependencies which I missed? How can I fix these errors?

    Thank you.

    1 Reply Last reply
    0
    • raven-worxR Offline
      raven-worxR Offline
      raven-worx
      Moderators
      wrote on last edited by
      #2

      did you compile Qt itself also statically?

      --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
      If you have a question please use the forum so others can benefit from the solution in the future

      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