Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. cross-compile application with Qt which also uses OpenCV C++ on raspberry pi

cross-compile application with Qt which also uses OpenCV C++ on raspberry pi

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
qt5.9opencv cppopencv qtcreatoraspberry pi 4cross compile
4 Posts 2 Posters 952 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.
  • I Offline
    I Offline
    ishi
    wrote on last edited by
    #1

    Hello,
    In my application, I have two parts. one (entirely OpenCV C++, image processing where the output of it are two text files). Where another part is Qt (which uses two text files from the output of the first part and displays GUI). I wrote two projects using visual studio 2017(with qt) under one solution (two different main functions)

    Any help on how to cross-compile the application with Qt which also uses OpenCV on raspberry pi?

    jsulmJ 1 Reply Last reply
    0
    • I ishi

      Hello,
      In my application, I have two parts. one (entirely OpenCV C++, image processing where the output of it are two text files). Where another part is Qt (which uses two text files from the output of the first part and displays GUI). I wrote two projects using visual studio 2017(with qt) under one solution (two different main functions)

      Any help on how to cross-compile the application with Qt which also uses OpenCV on raspberry pi?

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @ishi Check https://wiki.qt.io/Raspberry_Pi_Beginners_Guide
      It is way easier to cross compile from Linux instead of Windows.

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      I 1 Reply Last reply
      0
      • jsulmJ jsulm

        @ishi Check https://wiki.qt.io/Raspberry_Pi_Beginners_Guide
        It is way easier to cross compile from Linux instead of Windows.

        I Offline
        I Offline
        ishi
        wrote on last edited by
        #3

        @jsulm Thank you, I checked it, my main concern is about cross-compiling the application with Qt which also uses OpenCV on the raspberry pi as I wrote two projects using visual studio 2017(with qt) under one solution (two different main functions)-> one uses OpenCV where other uses Qt.

        jsulmJ 1 Reply Last reply
        0
        • I ishi

          @jsulm Thank you, I checked it, my main concern is about cross-compiling the application with Qt which also uses OpenCV on the raspberry pi as I wrote two projects using visual studio 2017(with qt) under one solution (two different main functions)-> one uses OpenCV where other uses Qt.

          jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @ishi Visual Studio is of no interest here as you cannot use it to cross compile to ARM Linux as far as I know. If your app is using OpenCV you will either need to install it on your RPi (including the -dev package) and sync the sysroot, or cross-compile it.

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          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