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. [solved]How do I configure Qt 5.3 for Android opencv 2.4.9 ? (on mac os x)
Forum Update on Monday, May 27th 2025

[solved]How do I configure Qt 5.3 for Android opencv 2.4.9 ? (on mac os x)

Scheduled Pinned Locked Moved Mobile and Embedded
21 Posts 4 Posters 12.6k 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.
  • SGaistS Offline
    SGaistS Offline
    SGaist
    Lifetime Qt Champion
    wrote on last edited by
    #12

    Wild guess but I'd say that either namedWindow, imshow or both are not implemented for android

    Interested in AI ? www.idiap.ch
    Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

    1 Reply Last reply
    0
    • I Offline
      I Offline
      ismail_gz
      wrote on last edited by
      #13

      Could you recommend a sample code.

      1 Reply Last reply
      0
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #14

        Not really, since you are currently using OpenCV only code, you should rather ask on the OpenCV forum for their support on android

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply
        0
        • J Offline
          J Offline
          johnthesoftware
          wrote on last edited by
          #15

          Did you resolve this? I'm about to try the same thing on Fedora.

          1 Reply Last reply
          0
          • J Offline
            J Offline
            johnthesoftware
            wrote on last edited by
            #16

            Did you resolve this? I'm about to try the same thing on Fedora.

            1 Reply Last reply
            0
            • I Offline
              I Offline
              ismail_gz
              wrote on last edited by
              #17

              No, I couldn't yet. My main problem is sample code at the moment. I couldn't find sample code about this subject. But I found configurations from this "link":http://stackoverflow.com/questions/27562311/how-to-integrate-opencv-into-qt-creator-android-project
              I hope that helps.

              1 Reply Last reply
              0
              • I Offline
                I Offline
                ismail_gz
                wrote on last edited by
                #18

                No, I couldn't yet. My main problem is sample code at the moment. I couldn't find sample code about this subject. But I found configurations from this "link":http://stackoverflow.com/questions/27562311/how-to-integrate-opencv-into-qt-creator-android-project
                I hope that helps.

                1 Reply Last reply
                0
                • I Offline
                  I Offline
                  ismail_gz
                  wrote on last edited by
                  #19

                  Finally, I found it. Configurations are my previous reply. And you must copy libnative_camera_r4.2.0.so(must be compatible with the your android version(this is important)) to project_root/android/libs/armeabi-v7a/ .
                  Then you can watch "this":https://www.youtube.com/watch?v=0ONxIy8itRA video for source code.

                  1 Reply Last reply
                  0
                  • I Offline
                    I Offline
                    ismail_gz
                    wrote on last edited by
                    #20

                    Finally, I found it. Configurations are my previous reply. And you must copy libnative_camera_r4.2.0.so(must be compatible with the your android version(this is important)) to project_root/android/libs/armeabi-v7a/ .
                    Then you can watch "this":https://www.youtube.com/watch?v=0ONxIy8itRA video for source code.

                    1 Reply Last reply
                    0
                    • A Offline
                      A Offline
                      amahta
                      wrote on last edited by
                      #21

                      This is already solved but anyway here is how I do it all the time:
                      http://amin-ahmadi.com/2015/06/23/opencv-qt-android-adding-required-libraries-and-includes/

                      Thou shalt programme
                      http://www.amin-ahmadi.com

                      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