You've already forked macports-ports
mirror of
https://github.com/encounter/macports-ports.git
synced 2026-03-30 11:29:27 -07:00
23 lines
851 B
Diff
23 lines
851 B
Diff
--- examples/demos/qtdemo/menumanager.py.orig
|
|
+++ examples/demos/qtdemo/menumanager.py
|
|
@@ -328,7 +328,7 @@
|
|
app = QtCore.QLibraryInfo.location(QtCore.QLibraryInfo.BinariesPath) + QtCore.QDir.separator()
|
|
|
|
if sys.platform == 'darwin':
|
|
- app += 'Assistant.app/Contents/MacOS/Assistant'
|
|
+ app = '@QT_APPS_DIR@/Assistant.app/Contents/MacOS/Assistant'
|
|
else:
|
|
app += 'assistant'
|
|
|
|
--- examples/designer/plugins/plugins.py.orig
|
|
+++ examples/designer/plugins/plugins.py
|
|
@@ -76,7 +76,7 @@
|
|
designer_bin = QtCore.QLibraryInfo.location(QtCore.QLibraryInfo.BinariesPath)
|
|
|
|
if sys.platform == 'darwin':
|
|
- designer_bin += '/Designer.app/Contents/MacOS/Designer'
|
|
+ designer_bin = '@QT_APPS_DIR@/Designer.app/Contents/MacOS/Designer'
|
|
else:
|
|
designer_bin += '/designer'
|
|
|