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

Linking doesn't work after upgrade to SDK 1.1.2



  • I was working with the Qt SDK 1.0 and in my project I got these :

    @
    win32{
    win32-g++{
    LIBS += -L$${TOOLBOX_ROOT}/lib -l$${LIB_NAME}
    }
    else{
    #MSVC
    LIBS += $${TOOLBOX_ROOT}/lib/$${LIB_NAME}.lib
    }
    }
    else{
    LIBS += -L$${TOOLBOX_ROOT}/lib -l$${LIB_NAME}
    }
    @

    After upgrading to SDK 1.1.2 the executable fails to launch on Windows due to a DLL linkage error.
    When I move the DLL to the executable directory, everything works fine. This problem did not occurred
    before!
    ps: I use Qt creator and Mingw32-make for compilation.


Log in to reply