Wintab32.dll 丢失,导致崩溃

wintab32.dll is missing, causes crash?

本文关键字:崩溃 dll 丢失 Wintab32      更新时间:2023-10-16

我使用 MinGW 5.3.0 编译器从源代码构建了 Qt 5.5.1,适用于 32 位和 64 位。如果我运行使用这些创建的库部署的应用程序,它可以正常工作。但是,如果我运行Dependency Walker,它会显示wintab32.dll的黄色问号符号,该符号在我的Windows 7 PC上不存在。它显示的错误是

LoadLibraryW("C:Windowssystem32wintab32.dll") called from "QT5CORE.DLL" at address 0x0000000000646E4E.
LoadLibraryW("C:Windowssystem32wintab32.dll") returned NULL. Error: The specified module could not be found (126).

我应该担心部署我的应用程序,还是因为我在非平板电脑上运行而收到此错误?如果我的版本损坏了,请告诉我。

我在构建Qt时使用以下参数进行配置:

cd c:Qt5.5.132
SET PATH=C:Qt5.5.132qt-everywhere-opensource-src-5.5.1qtbasebin;C:Qt5.5.132qt-everywhere-opensource-src-5.5.1gnuwin32bin;C:MinGW5.3.0mingw32bin;%PATH%
SET QMAKESPEC=win32-g++
qt-everywhere-opensource-src-5.5.1configure -debug-and-release -opensource -no-opengl -no-openssl -skip qt3d -skip qtactiveqt -skip qtandroidextras -skip qtcanvas3d -skip qtconnectivity -skip qtdeclarative -skip qtdoc -skip qtenginio -skip qtgraphicaleffects -skip qtimageformats -skip qtlocation -skip qtmacextras -skip qtmultimedia -skip qtquick1 -skip qtquickcontrols -skip qtscript -skip qtsensors -skip qtserialport -skip qtsvg -skip qttools -skip qttranslations -skip qtwayland -skip qtwebchannel -skip qtwebengine -skip qtwebkit -skip qtwebkit-examples -skip qtwebsockets -skip qtwinextras -skip qtx11extras -skip qtxmlpatterns -confirm-license -nomake tests -nomake examples
mingw32-make

我从Qt 5.5的源代码中找到了这段文字,qwindowstabletsupport.cpp

bool QWindowsWinTab32DLL::init()
{
    if (wTInfo)
        return true;
    QSystemLibrary library(QStringLiteral("wintab32"));

因此,它可能与绘图板有关。如果Qt库可以加载到内存中,则Qt库可能会改变其行为(用户输入等),但如果无法加载,则可能没问题。

当依赖程序用于打开可执行文件或库(文件/打开)时,将出现带有文本的错误对话框

处理"\库路径\X.dll"时检测到错误 日志文件了解详细信息。

如果找不到可执行文件或库绝对需要的库。