Skip to content
This repository has been archived by the owner on Dec 10, 2018. It is now read-only.

Install Dependencies

Tres Finocchiaro edited this page Jun 8, 2015 · 22 revisions

##Objective This tutorial is for installing the dependencies necessary for compiling QZ Tray on Windows, Mac or Ubuntu and accessing the source code repository using git.

##Install Dependencies

####Windows

  1. Install JDK 7 or higher:

http://www.oracle.com/technetwork/java/javase/downloads/

  1. Download and extract Apache Ant:

https://ant.apache.org/bindownload.cgi

  1. Setup environment variables JAVA_HOME, PATH, etc:

http://ant.apache.org/manual/install.html#setup

  1. Install NSIS 3.0+:

http://nsis.sourceforge.net/Download

  1. Install git:

https://git-scm.com/download/win

####Mac

  1. Install JDK 7 or higher via: http://www.oracle.com/technetwork/java/javase/downloads/

  2. Install homebrew via:

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
  1. Install git, ant dependencies via:
brew install git ant

####Ubuntu

  1. Install all dependencies (jdk, ant, nsis, makeself) via:
sudo apt-get install git openjdk-7-jdk ant nsis makeself

##Clone Source Code

  1. Clone the repository:
git clone -b 1.9 https://github.com/qzind/qz-print

Note: This will clone the source code for the 1.9 branch of the software.