【发布时间】:2016-04-23 22:56:53
【问题描述】:
我使用 MinGW 5.3.0 编译器从源代码构建了 Qt 5.5.1,用于 32 位和 64 位。 如果我运行使用这些创建的库部署的应用程序,它可以正常工作。 但是,如果我运行 Dependency Walker,它会显示 wintab32.dll 的黄色问号符号,这在我的 Windows 7 PC 上不存在。它显示的错误是
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.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
【问题讨论】:
标签: c++ qt dependencies mingw