Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. How to fix the "unresolved external symbol" error during OpenCV 4.5.5 building with Qt 6.3.0 support in Visual Studio 2019?
Forum Updated to NodeBB v4.3 + New Features

How to fix the "unresolved external symbol" error during OpenCV 4.5.5 building with Qt 6.3.0 support in Visual Studio 2019?

Scheduled Pinned Locked Moved Unsolved General and Desktop
opencvqt 6.3.0
1 Posts 1 Posters 427 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.
  • E Offline
    E Offline
    Elversu
    wrote on last edited by Elversu
    #1

    I want to build an OpenCV 4.5.5 library from the source with Qt 6.3.0 support with CMake and Visual Studio 2019. Here are the steps I did:

    • Downloaded both opencv-4.5.5 and opencv_contrib-4.5.5 archives from GitHub;
    • Used CMake to generate the solution file for the Visual Studio. I chose the WITH_QT flag and provided a path for OpenCV extra modules;
    • Finally, I started building OpenCV in Visual Studio 2019 but faced these errors:

    Errors.png

    How can I fix these errors and build OpenCV with Qt support? Thanks in advance.

    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 Extensions
    • Unsolved