wintab32.dll 丢失,导致崩溃?

wintab32.dll is missing, causes crash?

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

LoadLibraryW("C:\Windows\system32\wintab32.dll") called from "QT5CORE.DLL" at address 0x0000000000646E4E.

LoadLibraryW("C:\Windows\system32\wintab32.dll") returned NULL. Error: The specified module could not be found (126).

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

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

cd c:\Qt.5.1\

SET PATH=C:\Qt.5.1\qt-everywhere-opensource-src-5.5.1\qtbase\bin;C:\Qt.5.1\qt-everywhere-opensource-src-5.5.1\gnuwin32\bin;C:\MinGW.3.0\mingw32\bin;%PATH%

SET QMAKESPEC=win32-g++

qt-everywhere-opensource-src-5.5.1\configure -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 库可能会改变它的行为(用户输入等),但如果它不能加载,它可能没问题。

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

Errors were detected when processing "\path to library\X.dll" See the log file for details.

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