4.5. Examples of Build Script Usage

4.5.1. Haskell Half Only

build -nc or
build --no-cpp or
build -h or
build haskell or
build --only-haskell

builds only the Haskell half of qtHaskell.

4.5.2. Rebuild Examples and Demos Only

build -ED or
build -s -nx --examples-clean --demos-clean or
build demos -E --demos-clean

cleans and build the examples and demos code.

4.5.3. Build qtHaskell Without sudo

The following sequence of commands will build the entire qtHaskell system from scratch without sudo for any installation commands

build -nhy

Configures and builds Qtc wrapper libraries.

Then, as super user

build -y

Installs the Qtc wrapper libraries.

build -nczs

Configures and builds the Haskell qt package.

Then, as super user

build -z

Installs the Haskell qt package.

build -s -nwp

Builds main examples and demos code and configures and builds extra-pkgs package code.

Then, as super user

build -w

Installs the extra-pkgs packages.

build -p

Builds the extra-pkgs examples and demos.