Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. How to properly build QT 64 bit version
Forum Updated to NodeBB v4.3 + New Features

How to properly build QT 64 bit version

Scheduled Pinned Locked Moved Solved Installation and Deployment
8 Posts 3 Posters 1.5k Views 1 Watching
  • 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.
  • Z Offline
    Z Offline
    Zelda4
    wrote on 17 Apr 2020, 04:51 last edited by
    #1

    Am wondering how can we build QT 64 bit from source because officially QT not provide QT 64 bit Installer not sure why ???

    i tried to build GT from source on mingw-64 bit compiler and it build but its missing main thing QTcreater.exe ?

    so here what i did correct my guys if am missing something or did any thing wrong.

    cd C:\QT64\source
    git clone git://code.qt.io/qt/qt5.git   # cloning the repo
    cd qt5
    git checkout 5.14.2   # checking out the specific release or branch
    perl init-repository 
    
    # now configure and install
    
    configure -debug -nomake examples -nomake tests -skip qtwebengine -opensource -opengl desktop
    
    # after configuration it say it will install it C:\QT\5.14.2  folder
    
    mingw32-make install
    

    so it installed Qtdesigner into C:\QT\5.14.2 but there is no C:\QT\Tools\QTcreator folder which is main thing where Qtcreator.exe should be

    1 Reply Last reply
    0
    • Z Zelda4
      17 Apr 2020, 06:09

      @SGaist said in How to properly build QT 64 bit version:

      Qt provides several 64 bit pre-built binary packages

      can you share download link to them , as i have to work with opencv its build for 64 bit , was not failing 32 bit build so have to upgrade my QT to 64 bit to work with opencv 64 bit build

      thanks

      J Offline
      J Offline
      jsulm
      Lifetime Qt Champion
      wrote on 17 Apr 2020, 07:05 last edited by
      #4

      @Zelda4 Just use the online installer and then select a 64bit Qt there during installation.
      https://www.qt.io/download-thank-you?os=windows&hsLang=en

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

      Z 1 Reply Last reply 17 Apr 2020, 08:58
      1
      • S Offline
        S Offline
        SGaist
        Lifetime Qt Champion
        wrote on 17 Apr 2020, 05:57 last edited by
        #2

        Hi,

        The installer might be 32bit but that's only the installer. Qt provides several 64 bit pre-built binary packages. These are unrelated.

        As for Qt Creator, it's an independent project. If you want to build it by hand, clone the corresponding repository.

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

        Z 1 Reply Last reply 17 Apr 2020, 06:09
        1
        • S SGaist
          17 Apr 2020, 05:57

          Hi,

          The installer might be 32bit but that's only the installer. Qt provides several 64 bit pre-built binary packages. These are unrelated.

          As for Qt Creator, it's an independent project. If you want to build it by hand, clone the corresponding repository.

          Z Offline
          Z Offline
          Zelda4
          wrote on 17 Apr 2020, 06:09 last edited by
          #3

          @SGaist said in How to properly build QT 64 bit version:

          Qt provides several 64 bit pre-built binary packages

          can you share download link to them , as i have to work with opencv its build for 64 bit , was not failing 32 bit build so have to upgrade my QT to 64 bit to work with opencv 64 bit build

          thanks

          J Z 2 Replies Last reply 17 Apr 2020, 07:05
          0
          • Z Zelda4
            17 Apr 2020, 06:09

            @SGaist said in How to properly build QT 64 bit version:

            Qt provides several 64 bit pre-built binary packages

            can you share download link to them , as i have to work with opencv its build for 64 bit , was not failing 32 bit build so have to upgrade my QT to 64 bit to work with opencv 64 bit build

            thanks

            J Offline
            J Offline
            jsulm
            Lifetime Qt Champion
            wrote on 17 Apr 2020, 07:05 last edited by
            #4

            @Zelda4 Just use the online installer and then select a 64bit Qt there during installation.
            https://www.qt.io/download-thank-you?os=windows&hsLang=en

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

            Z 1 Reply Last reply 17 Apr 2020, 08:58
            1
            • Z Zelda4
              17 Apr 2020, 06:09

              @SGaist said in How to properly build QT 64 bit version:

              Qt provides several 64 bit pre-built binary packages

              can you share download link to them , as i have to work with opencv its build for 64 bit , was not failing 32 bit build so have to upgrade my QT to 64 bit to work with opencv 64 bit build

              thanks

              Z Offline
              Z Offline
              Zelda4
              wrote on 17 Apr 2020, 07:07 last edited by
              #5

              @Zelda4 ok thanks

              1 Reply Last reply
              0
              • J jsulm
                17 Apr 2020, 07:05

                @Zelda4 Just use the online installer and then select a 64bit Qt there during installation.
                https://www.qt.io/download-thank-you?os=windows&hsLang=en

                Z Offline
                Z Offline
                Zelda4
                wrote on 17 Apr 2020, 08:58 last edited by
                #6

                @jsulm i used online compiler and selected 64 bit MSV 2017 and minGw 64 bit compiler , but still it installed QTcreator 32 bit ?? am wondering its ok or will be problematic in future because if i have to place QT dlls with my app it will be of 32 bit instead of 64 bit

                screenshot :

                a1c9e63f-7ec6-4dbe-a215-ff1d0d6f62c6-image.png

                compilers are 64 bit and about messagebox showing 32bit

                J 1 Reply Last reply 17 Apr 2020, 10:36
                1
                • S Offline
                  S Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote on 17 Apr 2020, 09:00 last edited by
                  #7

                  The architecture of the IDE and the one from your application are not related.

                  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
                  1
                  • Z Zelda4
                    17 Apr 2020, 08:58

                    @jsulm i used online compiler and selected 64 bit MSV 2017 and minGw 64 bit compiler , but still it installed QTcreator 32 bit ?? am wondering its ok or will be problematic in future because if i have to place QT dlls with my app it will be of 32 bit instead of 64 bit

                    screenshot :

                    a1c9e63f-7ec6-4dbe-a215-ff1d0d6f62c6-image.png

                    compilers are 64 bit and about messagebox showing 32bit

                    J Offline
                    J Offline
                    jsulm
                    Lifetime Qt Champion
                    wrote on 17 Apr 2020, 10:36 last edited by
                    #8

                    @Zelda4 As already explained: the architecture of the installer or the QtCreator IDE are completely unrelated! Why do you care?
                    Use Qt 64bit you installed to build your application and you will get a 64bit app...

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

                    1 Reply Last reply
                    0

                    1/8

                    17 Apr 2020, 04:51

                    • Login

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