[PC-BSD Commits] r2791 - pbibuild/pbi-source/PBCsource

svn at pcbsd.org svn at pcbsd.org
Thu Sep 18 11:56:23 PDT 2008


Author: kris
Date: 2008-09-18 11:56:23 -0700 (Thu, 18 Sep 2008)
New Revision: 2791

Modified:
   pbibuild/pbi-source/PBCsource/PBC.pro
   pbibuild/pbi-source/PBCsource/pbcwizard.cpp
Log:

Fixed some bugs and a crash on PBI creator for PC-BSD 7



Modified: pbibuild/pbi-source/PBCsource/PBC.pro
===================================================================
--- pbibuild/pbi-source/PBCsource/PBC.pro	2008-09-18 15:46:39 UTC (rev 2790)
+++ pbibuild/pbi-source/PBCsource/PBC.pro	2008-09-18 18:56:23 UTC (rev 2791)
@@ -5,7 +5,7 @@
 TEMPLATE = app
 TARGET = PBC
 DEPENDPATH += .
-INCLUDEPATH += .
+INCLUDEPATH += /usr/local/kde4/include
 RESOURCES += PBC.qrc
 LIBS	+= -lkdecore -lkio -lkdeui -Ikdelibs
 
@@ -20,3 +20,5 @@
 
 QT += qt3support
 
+
+QMAKE_LIBDIR = /usr/local/kde4/lib /usr/local/lib/qt4 /usr/local/lib

Modified: pbibuild/pbi-source/PBCsource/pbcwizard.cpp
===================================================================
--- pbibuild/pbi-source/PBCsource/pbcwizard.cpp	2008-09-18 15:46:39 UTC (rev 2790)
+++ pbibuild/pbi-source/PBCsource/pbcwizard.cpp	2008-09-18 18:56:23 UTC (rev 2791)
@@ -629,9 +629,9 @@
         runCommand("chmod 755 " + DirLineEdit->text() + "/PBI.FirstRun.sh");	
 	
     }
-    QObject *parent;
-    QProcess *EditScript = new QProcess(parent);
-    QString program = "kedit";
+
+    EditScript = new QProcess(this);
+    QString program = "kwrite";
     QStringList arguments;
     arguments << DirLineEdit->text() + "/PBI.FirstRun.sh";
     EditScript->start(program, arguments);
@@ -656,7 +656,7 @@
     
     
     EditScript = new QProcess(this);
-    QString program = "kedit";
+    QString program = "kwrite";
     QStringList arguments;
     arguments << DirLineEdit->text() + "/PBI.SetupScript.sh";
     EditScript->start(program, arguments);
@@ -681,7 +681,7 @@
     
     
     EditScript = new QProcess(this);
-    QString program = "kedit";
+    QString program = "kwrite";
     QStringList arguments;
     arguments << DirLineEdit->text() + "/PBI.RemoveScript.sh";
     EditScript->start(program, arguments);



More information about the Commits mailing list