mirror of
https://github.com/clearlinux/autospec.git
synced 2026-11-26 07:33:24 +00:00
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:
committed by
William Douglas
parent
4d029647d7
commit
b2d28bb55a
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user