Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. how to build opencv4.x on Qt 5.12
Qt 6.12 LTS is out! See what's new in the release blog

how to build opencv4.x on Qt 5.12

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
1 Posts 1 Posters 591 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    lso70
    wrote on last edited by
    #1

    I want to build opencv4.1 on Qt 5.12,but I meet a problem when"Linking CXX shared library ....\bin\libopencv_world410.dll", the error is "F:/QtInstall/Tools/mingw730_64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: i386 architecture of input file `CMakeFiles\opencv_world.dir/objects.a(vs_version.rc.obj)' is incompatible with i386:x86-64 output".
    I really don't know how to solve this problem,it makes me crazy.
    Do someone has any ideas? my Cmake version is 3.12 win64-x64.

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt
    • Unsolved