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 problem while building Qt static lib with Visual Studio 2010
Forum Updated to NodeBB v4.3 + New Features

Linking problem while building Qt static lib with Visual Studio 2010

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 807 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.
  • L Offline
    L Offline
    LionelYtria
    wrote on last edited by
    #1

    Hi,

    I have a problem while attempting to build Qt as static library which with I can link statically my application.
    I followed all steps described in here : http://qt-project.org/doc/qt-5/windows-building.html , but as I launch nmake, it stops after few minutes, complaining about linking errors as : error LNK2001: unresolved external symbol "public: static struct QArrayData const * const QArrayData::shared_null" (?shared_null@QArrayData@@2QBU1@B), for instance.
    Looks like the building process doesn't know where to find these files.

    Any idea is welcome.

    Thanks !

    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