pkgsrc/x11/qt5-qtbase/MESSAGE
wiz 8ea0ff68cd Mention how to use qt5 with cmake.
From Niclas Rosenvik.
Bump PKGREVISION.
2014-08-19 10:37:53 +00:00

18 lines
662 B
Text

===========================================================================
$NetBSD: MESSAGE,v 1.2 2014/08/19 10:37:53 wiz Exp $
To allow this package to coexist with other versions of Qt
it has been installed in ${PREFIX}/qt5/{bin,include,lib,doc} etc.
You should be able to select this version of Qt when compiling
programs which use it by ensuring that
1) QTDIR is set to ${PREFIX}/qt5
2) Use the "configure" argument "--with-qt-dir=${PREFIX}/qt5"
3) Use the "cmake" argument "-DCMAKE_PREFIX_PATH:PATH=${PREFIX}/qt5"
4) you may also have to put ${PREFIX}/qt5/bin in your PATH
===========================================================================