116 binPath = ( |
116 binPath = ( |
117 QLibraryInfo.path(QLibraryInfo.LibraryPath.LibraryExecutablesPath) |
117 QLibraryInfo.path(QLibraryInfo.LibraryPath.LibraryExecutablesPath) |
118 if libexec |
118 if libexec |
119 else QLibraryInfo.path(QLibraryInfo.LibraryPath.BinariesPath) |
119 else QLibraryInfo.path(QLibraryInfo.LibraryPath.BinariesPath) |
120 ) |
120 ) |
|
121 if not os.path.exists(binPath): |
|
122 binPath = "" |
121 |
123 |
122 # step 4: determine from used Python interpreter (designer is test object) |
124 # step 4: determine from used Python interpreter (designer is test object) |
123 if not binPath: |
125 if not binPath: |
124 program = "designer" |
126 program = "designer" |
125 if OSUtilities.isWindowsPlatform(): |
127 if OSUtilities.isWindowsPlatform(): |