92 |
92 |
93 # step 2: try the qt6_applications package |
93 # step 2: try the qt6_applications package |
94 if not binPath: |
94 if not binPath: |
95 with contextlib.suppress(ImportError): |
95 with contextlib.suppress(ImportError): |
96 # if qt6-applications is not installed just go to the next step |
96 # if qt6-applications is not installed just go to the next step |
97 import qt6_applications # __IGNORE_WARNING_I10__ |
97 import qt6_applications # __IGNORE_WARNING_I-10__ |
98 |
98 |
99 if libexec: |
99 if libexec: |
100 binPath = os.path.join( |
100 binPath = os.path.join( |
101 os.path.dirname(qt6_applications.__file__), "Qt", "libexec" |
101 os.path.dirname(qt6_applications.__file__), "Qt", "libexec" |
102 ) |
102 ) |