我使用MinGW 5.3.0编译器从源代码中构建了QT5.5.1,用于32位和64位。如果我运行与这些创建的库一起部署的应用程序,它可以正常工作。但是如果我运行Dependency,它会显示wintab32.dll的黄色问号符号,这在我的Windows7PC上是不存在的。它显示的错误是
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时,我使用了以下args进行配置:
cd c:\Qt\5.5.1\32\
SET PATH=C:\Qt\5.5.1\32\qt-everywhere-opensource-src-5.5.1\qtbase\bin;C:\Qt\5.5.1\32\qt-everywhere-opensource-src-5.5.1\gnuwin32\bin;C:\MinGW\5.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发布于 2016-01-18 19:18:30
我从QT5.5,qwindowstabletsupport.cpp的源代码中找到了这段文字
bool QWindowsWinTab32DLL::init()
{
if (wTInfo)
return true;
QSystemLibrary library(QStringLiteral("wintab32"));因此,这可能与绘制平板电脑相关。Qt库可能会改变它的行为(用户输入等)如果可以将该库加载到内存中,但如果不能加载,则可能没有问题。
当使用依赖程序打开可执行文件或库(File/ open )时,将出现带有文本的错误对话框
在处理“到library\X.dll的路径”时检测到错误,有关详细信息,请参阅日志文件。
如果无法找到可执行文件或库所绝对需要的库。
https://stackoverflow.com/questions/34860354
复制相似问题