9

当我试图编译即使是最简单的应用程序时......只有一个小部件我得到以下错误,我想它们都是相同的错误,我不知道我做错了什么还是什么否则,我真的很感谢你的帮助

错误日志:

    [...]/x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:\Qt\Qt5.0.1\5.0.1\mingw47_32\lib/libQt5UiTools.a when searching for -lQt5UiTools
    [...]/x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:\Qt\Qt5.0.1\5.0.1\mingw47_32\lib\libQt5UiTools.a when searching for -lQt5UiTools
    [...]/x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:\Qt\Qt5.0.1\5.0.1\mingw47_32\lib/libQt5UiTools.a when searching for -lQt5UiTools
    [...]/x86_64-w64-mingw32/bin/ld.exe: cannot find -lQt5UiTools
    [...]/x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:\Qt\Qt5.0.1\5.0.1\mingw47_32\lib/libQt5Widgets.a when searching for -lQt5Widgets
    [...]/x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:\Qt\Qt5.0.1\5.0.1\mingw47_32\lib/Qt5Widgets.dll when searching for -lQt5Widgets
    [...]/x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:\Qt\Qt5.0.1\5.0.1\mingw47_32\lib\libQt5Widgets.a when searching for -lQt5Widgets
    [...]/x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:\Qt\Qt5.0.1\5.0.1\mingw47_32\lib/libQt5Widgets.a when searching for -lQt5Widgets
    [...]/x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:\Qt\Qt5.0.1\5.0.1\mingw47_32\lib/Qt5Widgets.dll when searching for -lQt5Widgets
    [...]/x86_64-w64-mingw32/bin/ld.exe: cannot find -lQt5Widgets
    [...]/x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:\Qt\Qt5.0.1\5.0.1\mingw47_32\lib/libQt5Network.a when searching for -lQt5Network
    [...]/x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:\Qt\Qt5.0.1\5.0.1\mingw47_32\lib/Qt5Network.dll when searching for -lQt5Network
    [...]/x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:\Qt\Qt5.0.1\5.0.1\mingw47_32\lib\libQt5Network.a when searching for -lQt5Network
    [...]/x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:\Qt\Qt5.0.1\5.0.1\mingw47_32\lib/libQt5Network.a when searching for -lQt5Network
    [...]/x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:\Qt\Qt5.0.1\5.0.1\mingw47_32\lib/Qt5Network.dll when searching for -lQt5Network
    [...]/x86_64-w64-mingw32/bin/ld.exe: cannot find -lQt5Network
    [...]/x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:\Qt\Qt5.0.1\5.0.1\mingw47_32\lib/libQt5Gui.a when searching for -lQt5Gui
    [...]/x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:\Qt\Qt5.0.1\5.0.1\mingw47_32\lib/Qt5Gui.dll when searching for -lQt5Gui
    [...]/x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:\Qt\Qt5.0.1\5.0.1\mingw47_32\lib\libQt5Gui.a when searching for -lQt5Gui
    [...]/x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:\Qt\Qt5.0.1\5.0.1\mingw47_32\lib/libQt5Gui.a when searching for -lQt5Gui
    [...]/x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:\Qt\Qt5.0.1\5.0.1\mingw47_32\lib/Qt5Gui.dll when searching for -lQt5Gui
    [...]/x86_64-w64-mingw32/bin/ld.exe: cannot find -lQt5Gui
    [...]/x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:\Qt\Qt5.0.1\5.0.1\mingw47_32\lib/libQt5Core.a when searching for -lQt5Core
    [...]/x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:\Qt\Qt5.0.1\5.0.1\mingw47_32\lib/Qt5Core.dll when searching for -lQt5Core
    [...]/x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:\Qt\Qt5.0.1\5.0.1\mingw47_32\lib\libQt5Core.a when searching for -lQt5Core
    [...]/x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:\Qt\Qt5.0.1\5.0.1\mingw47_32\lib/libQt5Core.a when searching for -lQt5Core
    [...]/x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:\Qt\Qt5.0.1\5.0.1\mingw47_32\lib/Qt5Core.dll when searching for -lQt5Core
    [...]/x86_64-w64-mingw32/bin/ld.exe: cannot find -lQt5Core
    [...]/x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:\Qt\Qt5.0.1\5.0.1\mingw47_32\lib/liblibEGL.a when searching for -llibEGL
    [...]/x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:\Qt\Qt5.0.1\5.0.1\mingw47_32\lib/libEGL.dll when searching for -llibEGL
    [...]/x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:\Qt\Qt5.0.1\5.0.1\mingw47_32\lib\liblibEGL.a when searching for -llibEGL
    [...]/x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:\Qt\Qt5.0.1\5.0.1\mingw47_32\lib/liblibEGL.a when searching for -llibEGL
    [...]/x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:\Qt\Qt5.0.1\5.0.1\mingw47_32\lib/libEGL.dll when searching for -llibEGL
    [...]/x86_64-w64-mingw32/bin/ld.exe: cannot find -llibEGL
    [...]/x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:\Qt\Qt5.0.1\5.0.1\mingw47_32\lib/liblibGLESv2.a when searching for -llibGLESv2
    [...]/x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:\Qt\Qt5.0.1\5.0.1\mingw47_32\lib/libGLESv2.dll when searching for -llibGLESv2
    [...]/x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:\Qt\Qt5.0.1\5.0.1\mingw47_32\lib\liblibGLESv2.a when searching for -llibGLESv2
    [...]/x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:\Qt\Qt5.0.1\5.0.1\mingw47_32\lib/liblibGLESv2.a when searching for -llibGLESv2
    [...]/x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:\Qt\Qt5.0.1\5.0.1\mingw47_32\lib/libGLESv2.dll when searching for -llibGLESv2
    [...]/x86_64-w64-mingw32/bin/ld.exe: cannot find -llibGLESv2
    collect2.exe: error: ld returned 1 exit status

    Makefile.Release:80: recipe for target 'release\KomixViewer.exe' failed
    mingw32-make[1]: *** [release\KomixViewer.exe] Error 1
    mingw32-make[1]: Leaving directory 'C:/Users/asd/Documents/komix'
    makefile:34: recipe for target 'release' failed
    mingw32-make: *** [release] Error 2
    15:03:26: The process "C:\Qt\Qt5.0.1\Tools\MinGW\bin\mingw32-make.exe" exited with code 2.
    Error while building/deploying project Komix_viewer (kit: Desktop Qt 5.0.1 MinGW 32bit)
    When executing step 'Make'

我想不通的是为什么这些文件不兼容?

我找不到任何关于解决这个问题的方法...希望您能帮助我...顺便说一下我正在使用Windows 8进行编译。

4

1 回答 1

10

这表明您正在构建 64 位二进制文​​件,而这些库适用于 32 位目标(反之亦然)。

于 2013-02-20T22:17:45.580 回答