본문 바로가기

카테고리 없음

Mac Os Manual Install Qt 4



  1. Mac Os Install Disc Download
  2. Install Mac Os Sierra
  3. Qt Mac Os

Mac Os Manual Install Qt 4

Jan 22, 2016  I was using Qt 4.8.6 on Mac OS X Yosemite before. I have just upgraded to El Capitan but then I cannot open Qt project with Qt 4.8.6 kit. I tried to remove and reinstall Qt 4.8.6. I don't know why.

These advanced steps are primarily for system administrators and others who are familiar with the command line. You don't need a bootable installer to install macOS, but it can be useful when you want to install macOS on multiple computers without downloading the installer each time.

Download macOS

  1. Download a macOS installer, such as macOS Mojave or macOS High Sierra.
    To download macOS Mojave or High Sierra for this purpose, download from a Mac that is using macOS Sierra 10.12.5 or later, or El Capitan 10.11.6. Enterprise administrators, please download from Apple, not a locally hosted software-update server.
  2. When the macOS installer opens, quit it without continuing installation.
  3. Find the installer in your Applications folder as a single ”Install” file, such as Install macOS Mojave.

Use the 'createinstallmedia' command in Terminal

  1. After downloading the installer, connect the USB flash drive or other volume you're using for the bootable installer. Make sure that it has at least 12GB of available storage and is formatted as Mac OS Extended.
  2. Open Terminal, which is in the Utilities folder of your Applications folder.
  3. Type or paste one of the following commands in Terminal. These assume that the installer is still in your Applications folder, and MyVolume is the name of the USB flash drive or other volume you're using. If it has a different name, replace MyVolume accordingly.
    Mojave:*

    High Sierra:*
    Sierra:
    El Capitan:
  4. Press Return after typing the command.
  5. When prompted, type your administrator password and press Return again. Terminal doesn't show any characters as you type your password.
  6. When prompted, type Y to confirm that you want to erase the volume, then press Return. Terminal shows the progress as the bootable installer is created.
  7. When Terminal says that it's done, the volume will have the same name as the installer you downloaded, such as Install macOS Mojave. You can now quit Terminal and eject the volume.

* If your Mac is using macOS Sierra or earlier, include the --applicationpath argument. The Sierra and El Capitan commands show the proper format of this argument.

Use the bootable installer

After creating the bootable installer, follow these steps to use it.

  1. Connect the bootable installer to a compatible Mac.
  2. Use Startup Manager or Startup Disk preferences to select the bootable installer as the startup disk, then start up from it. Your Mac will start up to macOS Recovery.
    Learn about selecting a startup disk, including what to do if your Mac doesn't start up from it.
  3. Choose your language, if prompted.
  4. A bootable installer doesn't download macOS from the Internet, but it does require the Internet to get information specific to your Mac model, such as firmware updates. If you need to connect to a Wi-Fi network, use the Wi-Fi menu in the menu bar.
  5. Select Install macOS (or Install OS X) from the Utilities window, then click Continue and follow the onscreen instructions.

Learn more

For more information about the createinstallmedia command and the arguments that you can use with it, make sure that the macOS installer is in your Applications folder, then enter this path in Terminal:

Mojave:

High Sierra:

Sierra:

El Capitan:

Mac Os Install Disc Download

Fast track version

If you want to install Go
If you want to install the binding
In GOPATH mode
In Module mode (more info here, such as how to work around the GFW)
If you just want to compile an application
In GOPATH mode

(replace github.com/therecipe/examples/.. with the project you want to compile)

In Module mode (more info here, such as how to work around the GFW)

Install Mac Os Sierra

Official version (with iOS/Android support)

  • Install Xcode: xcode-select --install or https://itunes.apple.com/us/app/xcode/id497799835

  • Install Qt; you can also define a custom location with QT_DIR

    • optional: if you choose any other version than 5.13.0, then please export your version with QT_VERSION

    • online installer: https://download.qt.io/official_releases/online_installers/qt-unified-mac-x64-online.dmg

    • offline installer: https://download.qt.io/official_releases/qt/5.13/5.13.0/qt-opensource-mac-x64-5.13.0.dmg

    • optional: install the experimental webkit module: https://github.com/annulen/webkit/releases/download/qtwebkit-5.212.0-alpha2/qtwebkit-5.212.0_alpha2-qt59-darwin-x64.tar.xz, extract it's content inside $HOMEQt5.13.0clang_64 (or similar) and export QT_WEBKIT=true

  • Install Go: https://golang.org/doc/install?download=go1.12.6.darwin-amd64.pkg

  • Clone the repo: go get -u -v -tags=no_env github.com/therecipe/qt/cmd/..

  • Mcculloch mac 2827 manual. Run the setup: $(go env GOPATH)/bin/qtsetup

HomeBrew version (without iOS/Android support)

Mac Os Manual Install Qt 4

Qt Mac Os

  • Install Xcode: xcode-select --install or https://itunes.apple.com/us/app/xcode/id497799835

  • Install HomeBrew and export QT_HOMEBREW=true

  • Install Qt: brew install qt

  • Install Go: https://golang.org/doc/install?download=go1.12.6.darwin-amd64.pkg

  • Clone the repo: go get -u -v -tags=no_env github.com/therecipe/qt/cmd/..

  • Run the setup: $(go env GOPATH)/bin/qtsetup

MacPorts version (without iOS/Android support)

  • Install Xcode: xcode-select --install or https://itunes.apple.com/us/app/xcode/id497799835

  • Install MacPorts and export QT_MACPORTS=true

  • Install Qt

    • optional: install the experimental webkit module: sudo port -b install qt5-qtwebkit and export QT_WEBKIT=true
  • Install Go: https://golang.org/doc/install?download=go1.12.6.darwin-amd64.pkg

  • Clone the repo: go get -u -v -tags=no_env github.com/therecipe/qt/cmd/..

  • Run the setup: $(go env GOPATH)/bin/qtsetup

Nix version (without iOS/Android support)

  • Install Xcode: xcode-select --install or https://itunes.apple.com/us/app/xcode/id497799835

  • Install Nix

  • Install Qt

    • optional: install the experimental webkit module: nix-env -i qtwebkit
  • Install Go: https://golang.org/doc/install?download=go1.12.6.darwin-amd64.pkg

  • Clone the repo: go get -u -v -tags=no_env github.com/therecipe/qt/cmd/..

  • Run the setup: $(go env GOPATH)/bin/qtsetup

Now that you are done with the installation you can start reading the usage instructions and build the examples.