Skip to content
Matthew Bowker edited this page Feb 17, 2017 · 9 revisions

Official packaging

  1. Install xcode, git and Qt 5.4. Qt 5.8 is required for building on MacOS Sierra, according to T156989.
    • Note: Building on MacOS Sierra also requires a change to release.sh. On line 10, the switch "--web-engine" must be added to ./configure. Otherwise the build will error looking for a QtWebKit.
  2. Clone repository into ~/Documents/huggle3-qt-lx
  3. Open huggle3-qt-lx/MacOS in terminal
  4. Start ./release.sh with parameter that points to Qt installation, for example:
./release.sh ~/Qt5.4.1/5.4/clang_64/

Produced .dmg file will be in folder "package" it should be production version that we use for official releases

Simple version (brew one) recommended for newbies

  1. Install xcode (it's huge, I know, but needed)
  2. Install brew (http://brew.sh/)
  3. Run: brew install --verbose gcc and brew install cmake
  4. Download latest huggle source code, or you can brew install git and run git clone http://github.com/huggle/huggle3-qt-lx
  5. Download and install Qt 4 from qt-project.org, it must be Qt4 not Qt5, that one is broken
  6. Configure huggle by entering cd huggle3-qt-lx/huggle and running ./configure --qt4
  7. cd huggle_release
  8. make

Clone this wiki locally