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. OpenCV/QtCreator(Qt 5.4) 32bit versus 64
QtWS25 Last Chance

OpenCV/QtCreator(Qt 5.4) 32bit versus 64

Scheduled Pinned Locked Moved General and Desktop
opencv qtcreato
8 Posts 2 Posters 2.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.
  • T Offline
    T Offline
    Technologist
    wrote on 26 Apr 2015, 18:30 last edited by Technologist
    #1

    Thank you to everyone who has helped me so far -- now I am ready to build opencv/Qt

    2 basic options here:

    1. install Qt x64* followed by MinGW x64 opencv build
    2. install Qt 5.4 - no muss no fuss - MinGW opencv 32 (everything is ready to go 5.4)

    Qt Creator 64 bit is now out*:
    http://tver-soft.org/qt64

    As well as MingW 64
    http://sourceforge.net/projects/mingw-w64/files/Toolchains targetting Win32/Personal Builds/mingw-builds/installer/mingw-w64-install.exe/download

    Any guidance on which route to take would be great. My application is an opencv video/photo object tracking one with Qt gui, etc.

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 26 Apr 2015, 19:42 last edited by
      #2

      Hi,

      It really depends whether you need to target or not 64bit. You should also take into account the amount of memory your application will need. If it's more than 2Gb then 32bit is out.

      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
      • T Offline
        T Offline
        Technologist
        wrote on 26 Apr 2015, 20:50 last edited by Technologist
        #3

        Hello, if I don't know about the memory should I err on the side of x64? Are there any other performance factors involved? At the same time the 32 bit 5.4v is road tested -- don't want to overthink that.

        1 Reply Last reply
        0
        • S Offline
          S Offline
          SGaist
          Lifetime Qt Champion
          wrote on 26 Apr 2015, 21:06 last edited by
          #4

          You can always start with 32bit and if in fact, your memory usage grows that big (and not from leaks ;-)) then switch to 64.

          As for the performance, again, it depends on what you will use. Also, don't forget the possibility of using the GPU depending on the operation you want to do.

          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
          • T Offline
            T Offline
            Technologist
            wrote on 26 Apr 2015, 22:32 last edited by Technologist
            #5

            If I write x32 code will it run ok on x64?

            I dislike having you speculate but why do you think these guys are pursing 64bit opencv builds:

            https://zahidhasan.wordpress.com/2014/08/19/qt-5-3-1-64-bit-mingw-windows/

            "what's the motivation"?

            1 Reply Last reply
            0
            • S Offline
              S Offline
              SGaist
              Lifetime Qt Champion
              wrote on 26 Apr 2015, 22:49 last edited by SGaist
              #6

              When you say write x32 code do you mean assembler ? If you mean build for 32bit then yes, on Windows, 32bit application can run on 64bit Windows Version. On linux you'll have to install the 32bit stuff and on OS X it's 64bit anyway since Lion. The last version supporting 32bit architectures was Snow Leopard.

              I can't say for them, but most of the time it boils down to: we have 64 bit processors and OS so lets build for 64bit. IIRC MinGW 64 came a bit later

              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
              • T Offline
                T Offline
                Technologist
                wrote on 26 Apr 2015, 23:04 last edited by Technologist
                #7

                Hi. No not assembly--does the parallax sx count? : )
                I feel my choices are more informed for launching this, thank you for the teach.

                Best Regards,
                T.

                1 Reply Last reply
                0
                • S Offline
                  S Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote on 27 Apr 2015, 20:43 last edited by
                  #8

                  Well, the instruction set is a bit simpler but still, it's ASM ;)

                  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

                  8/8

                  27 Apr 2015, 20:43

                  • Login

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