diff options
author | William Deegan <bill@baddogconsulting.com> | 2023-02-24 05:28:32 +0000 |
---|---|---|
committer | William Deegan <bill@baddogconsulting.com> | 2023-02-24 05:28:32 +0000 |
commit | ea8c3ee4c644c0e30fdefea4cac1f8c7e18a9375 (patch) | |
tree | 7b0f7c117b999fd284e94528cd7269b20ac9940f | |
parent | 6df636f3a3a6058dd720f6ce301a0db368fea8e2 (diff) | |
download | scons-git-ea8c3ee4c644c0e30fdefea4cac1f8c7e18a9375.tar.gz |
add placeholder tool qt to instruct users to switch to qt3
-rw-r--r-- | SCons/Tool/qt.py | 35 | ||||
-rw-r--r-- | SCons/Tool/qt.xml | 34 |
2 files changed, 69 insertions, 0 deletions
diff --git a/SCons/Tool/qt.py b/SCons/Tool/qt.py new file mode 100644 index 000000000..8e34eb7cd --- /dev/null +++ b/SCons/Tool/qt.py @@ -0,0 +1,35 @@ +# MIT License +# +# Copyright The SCons Foundation +# +# Permission is hereby granted, free of charge, to any person obtaining +# a copy of this software and associated documentation files (the +# "Software"), to deal in the Software without restriction, including +# without limitation the rights to use, copy, modify, merge, publish, +# distribute, sublicense, and/or sell copies of the Software, and to +# permit persons to whom the Software is furnished to do so, subject to +# the following conditions: +# +# The above copyright notice and this permission notice shall be included +# in all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY +# KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE +# WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +# LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +""" +This is a fake tool to instruct any builds still referencing 'qt' instead +of the new 'qt3' or a newer QT builder how to fix their now broken build. +""" +import SCons.Warnings + +def generate(env): + pass + +def exists(env): + return False + diff --git a/SCons/Tool/qt.xml b/SCons/Tool/qt.xml new file mode 100644 index 000000000..3ba71b92c --- /dev/null +++ b/SCons/Tool/qt.xml @@ -0,0 +1,34 @@ +<?xml version="1.0"?> +<!-- +__COPYRIGHT__ + +This file is processed by the bin/SConsDoc.py module. +See its __doc__ string for a discussion of the format. +--> + +<!DOCTYPE sconsdoc [ +<!ENTITY % scons SYSTEM '../../doc/scons.mod'> +%scons; +<!ENTITY % builders-mod SYSTEM '../../doc/generated/builders.mod'> +%builders-mod; +<!ENTITY % functions-mod SYSTEM '../../doc/generated/functions.mod'> +%functions-mod; +<!ENTITY % tools-mod SYSTEM '../../doc/generated/tools.mod'> +%tools-mod; +<!ENTITY % variables-mod SYSTEM '../../doc/generated/variables.mod'> +%variables-mod; +]> + +<sconsdoc xmlns="http://www.scons.org/dbxsd/v1.0" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://www.scons.org/dbxsd/v1.0 http://www.scons.org/dbxsd/v1.0/scons.xsd"> + +<tool name="qt"> +<summary> +<para> +Placeholder tool to alert anyone still using qt tools to switch to qt3 or newer tool. +</para> +</summary> +</tool> + +</sconsdoc> |