Changeset 9bdcc26


Ignore:
Timestamp:
06/03/13 07:44:14 (17 months ago)
Author:
Ken Moore <ken@…>
Branches:
master, 9.2-release, releng/10.0, releng/10.0.1, releng/10.0.2, releng/10.0.3
Children:
9209fef, 4f9718b
Parents:
eab52f52
git-author:
Ken Moore <ken@…> (06/03/13 07:42:49)
git-committer:
Ken Moore <ken@…> (06/03/13 07:44:14)
Message:

Make sure that the EasyPBI build process unsets LD_LIBRARY_PATH before starting the process (should let builds work when EasyPBI was installed as a PBI)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src-qt4/EasyPBI/mainGUI.cpp

    rb8276a2 r9bdcc26  
    14151415  p = new QProcess(this); 
    14161416  p->setProcessChannelMode(QProcess::MergedChannels); 
    1417   p->setProcessEnvironment( QProcessEnvironment::systemEnvironment() ); 
     1417  QProcessEnvironment env = QProcessEnvironment::systemEnvironment(); 
     1418  env.remove("LD_LIBRARY_PATH"); 
     1419  p->setProcessEnvironment( env ); 
     1420  p->setWorkingDirectory(QDir::homePath()); 
    14181421  connect(p,SIGNAL(readyReadStandardOutput()),this,SLOT(slotUpdatePBIBuild()) ); 
    14191422  connect(p,SIGNAL(finished(int,QProcess::ExitStatus)),this,SLOT(slotPBIbuildFinished(int,QProcess::ExitStatus)) ); 
Note: See TracChangeset for help on using the changeset viewer.