Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

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


Log in to reply