-
Notifications
You must be signed in to change notification settings - Fork 101
Install Dependencies
- ✅ 2.0 | ✅ 1.9 | ...
-
QZ Tray 2.0
-
⚠️ JDK8 + JavaFX is required for high-resolution (>72 dpi) HTML printing. -
⚠️ By default, JavaFX is NOT included in OpenJDK- 💡 Older Ubuntu versions can get Oracle JDK8 + JavaFX here: http://www.webupd8.org/2012/09/install-oracle-java-8-in-ubuntu-via-ppa.html
-
QZ Tray 1.9
-
JDK7 is sufficient for building QZ Tray/QZ Print 1.9
- Install
⚠️ JDK 7 or higher:
http://www.oracle.com/technetwork/java/javase/downloads/
- Download and extract Apache Ant:
https://ant.apache.org/bindownload.cgi
- Setup environment variables
JAVA_HOME
,PATH
, etc:
- Assume Ant is installed in
c:\ant\
. The following commands set up the environment:
set ANT_HOME=c:\ant
set JAVA_HOME=c:\jdk1.7.0_51
set PATH=%PATH%;%ANT_HOME%\bin
http://ant.apache.org/manual/install.html#setup
- Install NSIS 3.0+:
http://nsis.sourceforge.net/Download
- Install git:
https://git-scm.com/download/win
-
Install command line tools for OS X (installation methods vary)
-
Install
⚠️ JDK 7 or higher via: http://www.oracle.com/technetwork/java/javase/downloads/ -
Install homebrew via:
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
- Install ant dependencies via:
# Install ant
brew install ant
- Install git:
https://git-scm.com/download/mac
- Install all dependencies (
⚠️ jdk7, ant, nsis, makeself) via:
sudo apt-get install git openjdk-7-jdk ant nsis makeself
- Install all dependencies (
⚠️ jdk, ant, nsis, makeself) via:
sudo yum install git java-1.?.0-openjdk-devel ant nsis makeself
- Clone the repository:
- QZ Tray 1.9
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. To clone an experimental branch, you would need to specify that branch name i.e.-b 1.9-pdfbox
- QZ Tray 2.0
git clone -b 2.0 https://github.com/qzind/qz-print
Note: This will clone the source code for the
2.0
branch of the software. To clone an experimental branch, you would need to specify that branch name i.e.-b 2.0-foobar
- See separate compiling tutorial.