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. Installing Qt 64bit and Qt Static 64 bit on Windows 7
Forum Updated to NodeBB v4.3 + New Features

Installing Qt 64bit and Qt Static 64 bit on Windows 7

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
2 Posts 2 Posters 1.7k 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.
  • E Offline
    E Offline
    Enthusiastic Student
    wrote on last edited by
    #1

    I had a lot of issues figuring out where to get the Qt versions, what to install and what to compile. I found a method that works for me and I thought I'd share.

    I'm running Windows 7 Professional 64-bit. This method takes up a lot of space, but requires little thought and modification.

    The steps (I always launched msys2 as administrator):

    • Download MSYS2 64-bit (link to msys2 64-bit on msys.org)
    • Install it somewhere. I chose C: \Developer\msys64
    • Run mingw64.exe and try the command
    update-core
    
    • This should be an invalid command, but if not will update your msys2 installation.
    • Next update your msys2 installation by running
    pacman -Sy
    
    • and
    pacman --neede -S bash pacman pacman-mirrors msys2-runtime
    
    • Click the x to exit, once the last command has run. Do not type exit.
    • Run:
    pacman -Su
    
    • and again click the x to exit.
    • Now get the perquisites by running
    pacman -S base-devel git mercurial cvs wget p7zip
    
    • and
    pacman -S perl ruby python2 mingw-w64-i686-toolchain mingw-w64-x86_64-toolchain
    
    • The last command has some redundancy, so you could probably drop the perl, ruby, and python2 parts since they seem to be installed with the base-devel. Exit by clicking x.
    • Now install Qt, Qt Static and Qt creator by running
    pacman -S mingw-w64-i686-qt5 mingw-w64-x86_64-qt5
    pacman -S mingw-w64-i686-qt5-static mingw-w64-x86_64-qt5-static
    pacman -S mingw-w64-i686-qt-creator mingw-w64-x86_64-qt-creator
    

    You are now done!

    When there was an option I selected to install everything or overwrite everything.
    It should be noted that I tried multiple methods before and while I attempted to completely wipe each iteration, that did not work, from my computer there may have been some legacy components that magically made this work for me :-$

    I hope this helps someone!

    M 1 Reply Last reply
    1
    • E Enthusiastic Student

      I had a lot of issues figuring out where to get the Qt versions, what to install and what to compile. I found a method that works for me and I thought I'd share.

      I'm running Windows 7 Professional 64-bit. This method takes up a lot of space, but requires little thought and modification.

      The steps (I always launched msys2 as administrator):

      • Download MSYS2 64-bit (link to msys2 64-bit on msys.org)
      • Install it somewhere. I chose C: \Developer\msys64
      • Run mingw64.exe and try the command
      update-core
      
      • This should be an invalid command, but if not will update your msys2 installation.
      • Next update your msys2 installation by running
      pacman -Sy
      
      • and
      pacman --neede -S bash pacman pacman-mirrors msys2-runtime
      
      • Click the x to exit, once the last command has run. Do not type exit.
      • Run:
      pacman -Su
      
      • and again click the x to exit.
      • Now get the perquisites by running
      pacman -S base-devel git mercurial cvs wget p7zip
      
      • and
      pacman -S perl ruby python2 mingw-w64-i686-toolchain mingw-w64-x86_64-toolchain
      
      • The last command has some redundancy, so you could probably drop the perl, ruby, and python2 parts since they seem to be installed with the base-devel. Exit by clicking x.
      • Now install Qt, Qt Static and Qt creator by running
      pacman -S mingw-w64-i686-qt5 mingw-w64-x86_64-qt5
      pacman -S mingw-w64-i686-qt5-static mingw-w64-x86_64-qt5-static
      pacman -S mingw-w64-i686-qt-creator mingw-w64-x86_64-qt-creator
      

      You are now done!

      When there was an option I selected to install everything or overwrite everything.
      It should be noted that I tried multiple methods before and while I attempted to completely wipe each iteration, that did not work, from my computer there may have been some legacy components that magically made this work for me :-$

      I hope this helps someone!

      M Offline
      M Offline
      mchome
      wrote on last edited by
      #2

      @Enthusiastic-Student
      How do you choose which version to create? For instance 5.12.6?
      How do choose the directory where to install MinGW-64 environment for Qt?

      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