Linker errors when building QT ActiveX DLL in Visual C++



  • Hello,

    I am trying to create an ActiveX DLL with QT in Visual C++ and I get the following errors when building:

    @
    Error 1 error LNK2001: unresolved external symbol DllCanUnloadNow
    Error 2 error LNK2001: unresolved external symbol DllGetClassObject
    Error 3 error LNK2001: unresolved external symbol DllRegisterServer
    Error 4 error LNK2001: unresolved external symbol DllUnregisterServer
    Error 5 error LNK2001: unresolved external symbol DumpIDL
    Error 6 error LNK1120: 5 unresolved externals
    @

    Am I missing any library includes?

    Thank you for your time.



  • Hello,

    I don't know if this helps to mention but I am using the QT Visual Studio Addin (2013) to make the project.

    I thought it would take care of the defaults. Am I missing something?


Log in to reply
 

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