[sdk/kdesrc-build/docbook_historied_per_file] doc/kdesrc-buildrc: Reduce importance of qtdir option, default to ''.

Michael Pyne null at kde.org
Fri May 10 10:16:37 BST 2024


Git commit ad706da959f43fef33b909a306537bb28e36c44f by Michael Pyne.
Committed on 06/08/2017 at 03:33.
Pushed by ashark into branch 'docbook_historied_per_file'.

Reduce importance of qtdir option, default to ''.

The qtdir setting took on much less importance with Qt 5.  We've never
officially supported building Qt 5 with kdesrc-build, and qmake and
cmake both use qmake or similar Qt-provided config information to find
Qt, rather than using the unsupported QTDIR environment variable.

As a result, default the value to an empty string (interpreted as use of
system Qt) and stop adding it automatically to the environment variables
defined during the build.  If set, it will continue to be used for now.

This also helps the environment setup driver detect when it should look
for the system Qt5 qmake.

Original commit: 02c616cb
https://invent.kde.org/sdk/kdesrc-build/-/commit/02c616cbb08915fe2804c75259ddf449ab8c1792

M  +2    -5    doc/kdesrc-buildrc/conf-options-table.docbook

https://invent.kde.org/sdk/kdesrc-build/-/commit/ad706da959f43fef33b909a306537bb28e36c44f

diff --git a/doc/kdesrc-buildrc/conf-options-table.docbook b/doc/kdesrc-buildrc/conf-options-table.docbook
index a843d050..79eed484 100644
--- a/doc/kdesrc-buildrc/conf-options-table.docbook
+++ b/doc/kdesrc-buildrc/conf-options-table.docbook
@@ -904,11 +904,8 @@ installs the module.
 <entry>qtdir</entry>
 <entry>Module setting overrides global</entry>
 <entry>Set this option to set the environment variable <envar>QTDIR</envar> while building.
-You cannot override this setting in a module option. If you do not specify
-this option, it defaults to
-<filename class="directory"><symbol>${source-dir}</symbol>/build/qt</filename>,
-which uses the qt module included in the &kde; source repository.
-You may use a tilde (~) to represent your home directory.
+If you do not specify this option, &kdesrc-build; will assume that &Qt; is
+provided by the operating system.
 </entry>
 </row>
 



More information about the kde-doc-english mailing list