Skip to content

Commit

Permalink
Add path to Qt6 build tools in qmake build_pattern
Browse files Browse the repository at this point in the history
When using the qmake build pattern, add the path /usr/lib64/qt6/bin/
that contains qmake6 and other Qt6 build tools.
  • Loading branch information
bwarden authored and bryteise committed Oct 14, 2024
1 parent 4d02964 commit b2d28bb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions autospec/specfiles.py
Original file line number Diff line number Diff line change
Expand Up @@ -1825,6 +1825,9 @@ def write_qmake_pattern(self):
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:
Expand Down

0 comments on commit b2d28bb

Please sign in to comment.