Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct


    Qt World Summit: Early-Bird Tickets

    OpenCV/QtCreator(Qt 5.4) 32bit versus 64

    General and Desktop
    opencv qtcreato
    2
    8
    2041
    Loading More Posts
    • 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.
    • Technologist
      Technologist last edited by Technologist

      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 Reply Quote 0
      • SGaist
        SGaist Lifetime Qt Champion last edited by

        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 Reply Quote 0
        • Technologist
          Technologist last edited by Technologist

          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 Reply Quote 0
          • SGaist
            SGaist Lifetime Qt Champion last edited by

            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 Reply Quote 0
            • Technologist
              Technologist last edited by Technologist

              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 Reply Quote 0
              • SGaist
                SGaist Lifetime Qt Champion last edited by SGaist

                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 Reply Quote 0
                • Technologist
                  Technologist last edited by Technologist

                  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 Reply Quote 0
                  • SGaist
                    SGaist Lifetime Qt Champion last edited by

                    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 Reply Quote 0
                    • First post
                      Last post