File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 88
88
#
89
89
# Put script into an appropriate dir
90
90
#
91
-
92
91
pythondir = ${pkgdatadir}/python
92
+ if HAVE_QTMAC
93
+ pythondir=$(MACBINDIR)/share/qgis/python
94
+ endif
93
95
94
96
python_DATA = *.py
95
97
Original file line number Diff line number Diff line change @@ -118,7 +118,7 @@ void QgsMapserverExport::on_buttonOk_clicked()
118
118
#endif
119
119
dataPath = dataPath.trimmed ();
120
120
QString scriptDir = dataPath + QDir::separator () + " python" ;
121
- qDebug (scriptDir);
121
+ qDebug (" Python scripts directory: " + scriptDir. toLocal8Bit () );
122
122
// QString curdir = "/home/gsherman/development/qgis_qt_port/tools/mapserver_export";
123
123
QString sysCmd = QString (" sys.path.append('%1')" ).arg (scriptDir);
124
124
PyRun_SimpleString (sysCmd.ascii ());
You can’t perform that action at this time.
0 commit comments