From ea8c3ee4c644c0e30fdefea4cac1f8c7e18a9375 Mon Sep 17 00:00:00 2001 From: William Deegan Date: Fri, 24 Feb 2023 05:28:32 +0000 Subject: add placeholder tool qt to instruct users to switch to qt3 --- SCons/Tool/qt.py | 35 +++++++++++++++++++++++++++++++++++ SCons/Tool/qt.xml | 34 ++++++++++++++++++++++++++++++++++ 2 files changed, 69 insertions(+) create mode 100644 SCons/Tool/qt.py create mode 100644 SCons/Tool/qt.xml diff --git a/SCons/Tool/qt.py b/SCons/Tool/qt.py new file mode 100644 index 0000000..8e34eb7 --- /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 0000000..3ba71b9 --- /dev/null +++ b/SCons/Tool/qt.xml @@ -0,0 +1,34 @@ + + + + +%scons; + +%builders-mod; + +%functions-mod; + +%tools-mod; + +%variables-mod; +]> + + + + + + +Placeholder tool to alert anyone still using qt tools to switch to qt3 or newer tool. + + + + + -- cgit v0.12