Planned maintenance: From Sunday 8th December 10:00 CET there will be changes to try and solve the caching issues that have been experienced. If anyone has a problem connecting after this period then please PM @AndyS or any of the moderators.


  • qt5.12,qt5.8调用同一个vc的DLL一个失败,一个成功为什么??

    代码如下,之前用5.8是可以的,现在用5.12 怎么就不行呢???

    typedef void(*lpFun)(void);

    QLibrary dll("myvcc.dll");
    if (dll.load()) {
        qDebug() << "load ok!";
    } else {
        qDebug() << "load failed!";
    lpFun setBDDevParaDlg = (lpFun)dll.resolve("setDevParaDlg");

  • 我也发现了这个问题,我的*.a库是使用mingw32-make编译的,为了兼容qt5.12.1,我还专门使用qt5.12.1的mingw32-make去重新编译了一遍*.a库,还是不行,使用5.11.3或以下版本都可以使用。

Log in to reply