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 Update on Monday, May 27th 2025

Linking problem while building Qt static lib with Visual Studio 2010

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 791 Views
  • 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 13 Aug 2014, 15:14 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

    1/1

    13 Aug 2014, 15:14

    • Login

    • Login or register to search.
    1 out of 1
    • First post
      1/1
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved