Add path to Qt6 build tools in qmake build_pattern

When using the qmake build pattern, add the path /usr/lib64/qt6/bin/
that contains qmake6 and other Qt6 build tools.
This commit is contained in:
Brett T. Warden
2024-10-14 15:56:05 -07:00
committed by William Douglas
parent 4d029647d7
commit b2d28bb55a
+3
View File
@@ -1825,6 +1825,9 @@ class Specfile(object):
self._write_strip('export QMAKE_CFLAGS_RELEASE=')
self._write_strip('export QMAKE_CXXFLAGS_RELEASE=')
# Add the qt6base tools to the path
self._write_strip('export PATH=/usr/lib64/qt6/bin:$PATH')
if self.config.make_command:
qmake = self.config.make_command
else: