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
QtWS25 Last Chance

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.
  • lamaL Offline
    lamaL Offline
    lama
    wrote on last edited by A Former User
    #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
    • jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on 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
      • lamaL Offline
        lamaL Offline
        lama
        wrote on 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
        • jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote on last edited by jsulm
          #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
          • SGaistS Offline
            SGaistS Offline
            SGaist
            Lifetime Qt Champion
            wrote on 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
            • lamaL Offline
              lamaL Offline
              lama
              wrote on 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

              • Login

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