Nominate our 2022 Qt Champions!

Linking problem while building Qt static lib with Visual Studio 2010

  • 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 : , 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 !

Log in to reply