title: how i can integrate octave(matlab clone) with qt creator
body: <p>this is my first question . sorry if you find anything stupid.</p>
  
  <p>how i can call octave functions from qt-creator.octave is a matlab clone. i have searched a lot for 1 week but i got more and more confused what should i do. what i have searched is that we can use Qprocess, Qmake and by adding octave libraries. but i cannot understand which method i should adopt .
  i have tried to work on this <a href="https://stackoverflow.com/questions/8516356/how-to-use-octave-libraries-with-c">How to use Octave libraries with C++</a> but i cannot understand how to do <code>export LD_LIBRARY_PATH=/full/path/to/usr/lib/octave-3.2.4</code> , do i have to type in terminal or in the .pro of Qt-creator.
   if some one have worked on it. please guide me what should i do.i have spent too much time on it but i not able to find the solution.  please help me.  . thanks!</p>
  
  <p>i have created the gui but now i want to link some octave functions with it. if i press the plot button , using octave built-in function a plot should be displayed</p>
  
  <p>here are codes for the gui i have created</p>
  
  <p><strong>main.cpp</strong></p>
  
  <pre><code>#include &lt;QtGui/QApplication&gt;
  #include "mainwindow.h"
  
  int main(int argc, char *argv[])
  {
  QApplication a(argc, argv);
  MainWindow w;
  w.show();
  
  return a.exec();
  }
  </code></pre>
  
  <p><strong>mainwindow.cpp</strong></p>
  
  <pre><code>#include "mainwindow.h"
  #include "ui_mainwindow.h"
  
  MainWindow::MainWindow(QWidget *parent) :
  QMainWindow(parent),
  ui(new Ui::MainWindow)
  {
  ui-&gt;setupUi(this);
  }
  
  MainWindow::~MainWindow()
  {
  delete ui;
  }
  
  void MainWindow::on_pushButton_3_clicked()
  {
  
  }
  </code></pre>
  
  <p><strong>gui.pro</strong></p>
  
  <pre><code>#-------------------------------------------------
  #
  # Project created by QtCreator 2014-07-16T17:44:01
  #
  #-------------------------------------------------
  
  QT       += core gui
  
  TARGET = gui
  TEMPLATE = app
  
  
  SOURCES += main.cpp\
      mainwindow.cpp
  
  HEADERS  += mainwindow.h
  
  FORMS    += mainwindow.ui
  </code></pre>
  
  <p>i dont have enough reputation to upload the picture of gui</p>