LNK2011: precompiled object not linked in; image may not run



  • Hi. I’m new to Qt and I now port the project from Qt 4.8.4 to Qt 5.1.0 (Windows 7, msvc2012 x64). I have the following issue. The project has the plagin system. One plugin requires the object file generated by other plugin (I added plugin1.depends = plugin2 into the .pro file). In the Qt 4.8.4, to solve this problem (unresloved external symbols), I just add OBJECTS + =... into the .pro file. Now it doesn't work. There is a error at linking:
    LNK2011: Precompiled object not linked in; image may not run


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.