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. Can desktop kit in qt for android be used for opencv desktop development

Can desktop kit in qt for android be used for opencv desktop development

Scheduled Pinned Locked Moved Solved General and Desktop
qt for androidqt for windowsopencv
6 Posts 3 Posters 2.0k 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
    lama
    wrote on 4 May 2016, 05:41 last edited by A Former User 5 Sept 2016, 11:28
    #1

    Hello,
    Iam a newbie to qt. Can the desktop kit(mingw492_32) bundled with qt for android(5.6) be used for opencv 3.0 development in windows 7 desktop.

    Thanks
    Amal

    1 Reply Last reply
    0
    • J Offline
      J Offline
      jsulm
      Lifetime Qt Champion
      wrote on 4 May 2016, 06:13 last edited by
      #2

      It is not really clear what you want to do.
      Do you want to develop with OpenCV AND Qt? Or only OpenCV?
      If you want to use Qt then you need Qt for MinGW.
      You should be able to use OpenCV with MinGW.

      Note: you cannot use MinGW with Qt for Android as it requires a different compiler (from NDK).

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

      1 Reply Last reply
      0
      • L Offline
        L Offline
        lama
        wrote on 4 May 2016, 06:44 last edited by
        #3

        Hello,

        Thanks for the reply.
        I want to develop with opencv and qt for windows. I already have downloaded qt for android (5.6) in windows, which comes with mingw compiler for windows desktop. So my question is whether i can use the same to develop opencv with qt for windows desktop.
        I want to avoid downloading qt for windows using mingw(more than 1 gb size) if other one works fine.

        Thanks
        Amal

        1 Reply Last reply
        0
        • J Offline
          J Offline
          jsulm
          Lifetime Qt Champion
          wrote on 4 May 2016, 07:24 last edited by jsulm 5 Apr 2016, 07:41
          #4

          Why did you install Qt for Android if you want to develop for Windows?
          You need to install Qt for MinGW.
          If you do not plan to develop for Android you can remove Qt for Android to safe space.

          MinGW cannot be used with Qt for Android. For Android you need the compiler from Android NDK (you have to install it separately). MinGW is a Windows port of gcc and generates Windows binaries.

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

          1 Reply Last reply
          0
          • S Offline
            S Offline
            SGaist
            Lifetime Qt Champion
            wrote on 4 May 2016, 21:12 last edited by
            #5

            Hi,

            @jsulm IIRC, the installers for Android and iOS come with a Qt for Desktop in addition to the builds for Android/iOS so you can start developing right away even if you don't have a device at hand.

            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
            • L Offline
              L Offline
              lama
              wrote on 9 May 2016, 11:19 last edited by
              #6

              @SGaist said:

              Android

              Hello all,

              Sorry for the late reply
              As SGaist said i was able to build and run qt with opencv successfully on windows desktop using mingw for desktop bundled with qt for android

              Thanks
              Amal

              1 Reply Last reply
              0

              4/6

              4 May 2016, 07:24

              • Login

              • Login or register to search.
              4 out of 6
              • First post
                4/6
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups
              • Search
              • Get Qt Extensions
              • Unsolved