Index: en_US.ISO8859-1/books/porters-handbook/special/chapter.xml
===================================================================
--- en_US.ISO8859-1/books/porters-handbook/special/chapter.xml
+++ en_US.ISO8859-1/books/porters-handbook/special/chapter.xml
@@ -2548,14 +2548,13 @@
The Ports Collection provides support for Qt 4 and Qt 5
frameworks with
- USE_QTx,
+ USES+=qt:x,
where x is
4 or 5.
- Set USE_QTx
- to the list of required Qt components (libraries,
- tools, plugins). The Qt 4 and Qt 5 frameworks are quite
- similar. The main difference is the set of supported
- components.
+ Set USE_QT to the list of required
+ Qt components (libraries, tools, plugins). The Qt 4
+ and Qt 5 frameworks are quite similar. The main
+ difference is the set of supported components.
The Qt framework exports a number of variables which can
be used by ports, some of them listed below:
@@ -2835,7 +2834,8 @@
only needed at buildtime, thus they are specified with the
_build suffix:
- USE_QT4= gui moc_build qmake_build rcc_build uic_build
+ USES= qt:4
+USE_QT= gui moc_build qmake_build rcc_build uic_build
@@ -2847,10 +2847,9 @@
qmake project file
(*.pro), define
USES= qmake along with
- USE_QTx. Note
- that USES= qmake already implies a build
- dependency on qmake, therefore the qmake component can be
- omitted from
+ USE_QT. USES= qmake
+ already implies a build dependency on qmake, therefore the
+ qmake component can be omitted from
USE_QTx.
Similar to CMake,
@@ -2906,12 +2905,12 @@
This snippet demonstrates the use of
qmake for a Qt 4 port:
- USES= qmake:outsource
-USE_QT4= moc_build
+ USES= qmake:outsource qt:4
+USE_QT= moc_buildFor a Qt 5 port:
- USES= qmake:outsource
-USE_QT5= buildtools_build
+ USES= qmake:outsource qt:5
+USE_QT= buildtools_buildQt applications are often written to be cross-platform
@@ -3135,13 +3134,13 @@
Required KDE components and other dependencies can be
determined through configure log.
USE_KDE does not imply
- USE_QT4. If a port requires some
+ USE_QT. If a port requires some
Qt 4 components, specify them in
- USE_QT4.
+ USE_QT.
- USES= cmake:outsource kde:4
+ USES= cmake:outsource kde:4 qt:4
USE_KDE= kdelibs kdeprefix automoc4
-USE_QT4= moc_build qmake_build rcc_build uic_build
+USE_QT= moc_build qmake_build rcc_build uic_build
@@ -3198,9 +3197,9 @@
LXQt libraries. Required LXQt components and
other dependencies can be determined from the
configure log.
- USES= cmake:outsource lxqt tar:xz
-USE_QT5= buildtools_build qmake_build core dbus widgets
-USE_LXQT= buildtools libfmqt
+ USES= cmake:outsource lxqt qt:5 tar:xz
+USE_QT= core dbus widgets buildtools_build qmake_build
+USE_LXQT= buildtools libfmqt
Index: en_US.ISO8859-1/books/porters-handbook/uses/chapter.xml
===================================================================
--- en_US.ISO8859-1/books/porters-handbook/uses/chapter.xml
+++ en_US.ISO8859-1/books/porters-handbook/uses/chapter.xml
@@ -1381,7 +1381,8 @@
kde
- Possible arguments: 4
+ Possible arguments: 4,
+ 5Add dependency on KDE components.
See for more information.
@@ -2662,6 +2663,16 @@
Uses QMake for configuring. For
more information see .
+
+
+
+ qt
+
+ Possible arguments: 4,
+ 5
+
+ Add dependency on Qt components.
+ See for more information.