- Update py-sip to 4.9.3 The KDE FreeBSD team would like to say thanks to all the helpers and submitters. Tested by: pointyhat-exp-run (myself)
22 lines
530 B
Python
22 lines
530 B
Python
--- examples/designer/plugins/plugins.py.orig Thu Aug 9 23:42:04 2007
|
|
+++ examples/designer/plugins/plugins.py Thu Aug 9 23:47:13 2007
|
|
@@ -11,6 +11,10 @@
|
|
|
|
from PyQt4 import QtCore, QtGui
|
|
|
|
+# FreeBSD check
|
|
+freebsd = False
|
|
+if sys.platform[:-1] == 'freebsd': freebsd = True
|
|
+
|
|
|
|
app = QtGui.QApplication(sys.argv)
|
|
|
|
@@ -43,6 +47,8 @@
|
|
|
|
if sys.platform == 'darwin':
|
|
designer_bin += '/Designer.app/Contents/MacOS/Designer'
|
|
+elif freebsd:
|
|
+ designer_bin.append("/designer-qt4")
|
|
else:
|
|
designer_bin += '/designer'
|
|
|