summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-11-04 13:56:46 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-11-04 13:56:46 +0900
commita38f87cf227cd4e49265f5d38e99601e101234cc (patch)
tree777425bc33027245d95e70f8c4c379c6d4df60f8
parentf1918cc46e3124a613c6f724562b2e903f436f43 (diff)
downloadpytqt-feat/use-tqmake-conf.tar.gz
pytqt-feat/use-tqmake-conf.zip
Use tqmake.conf instead of qmake.conffeat/use-tqmake-conf
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-rw-r--r--configure.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.py b/configure.py
index c943fa6..6549037 100644
--- a/configure.py
+++ b/configure.py
@@ -1039,9 +1039,9 @@ def get_build_macros(overrides):
"""
# Get the name of the tqmake configuration file to take the macros from.
if "QMAKESPEC" in list(os.environ.keys()):
- fname = os.path.join(tqt_dir, "mkspecs", os.environ["QMAKESPEC"], "qmake.conf")
+ fname = os.path.join(tqt_dir, "mkspecs", os.environ["QMAKESPEC"], "tqmake.conf")
else:
- fname = os.path.join(tqt_dir, "mkspecs", "default", "qmake.conf")
+ fname = os.path.join(tqt_dir, "mkspecs", "default", "tqmake.conf")
if not os.access(fname, os.F_OK):
sip_tqt_config.error("Unable to find the default configuration file %s. You can use the QMAKESPEC environment variable to specify the correct platform instead of \"default\"." % fname)