Implemented library compile target. In the qmakefile look at the define specifying the target to switch.