help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Developing a simple UI in Octave


From: Michael Goffioul
Subject: Re: Developing a simple UI in Octave
Date: Fri, 13 Sep 2013 09:57:30 -0400

On Fri, Sep 13, 2013 at 9:49 AM, Journeaux, Ian <address@hidden> wrote:

 

From: Michael Goffioul [mailto:address@hidden]
Sent: Friday, September 13, 2013 8:42 AM
To: Journeaux, Ian
Cc: oCTAVE
Subject: Re: Developing a simple UI in Octave

 

On Fri, Sep 13, 2013 at 9:31 AM, Journeaux, Ian <address@hidden> wrote:

Michael

I am running Octave under windows. I found your GitHub repository for qthandles. Is there an equivalent set of instructions for installation under the windows versions of Octave? I have used the mingw and visualstudio versions of Octave in the past. If I remember correctly you are maintaining the visualstudio version of Octave.

 

Yes.

 

The current version of QtHandles in github doesn't compile with octave-3.6.x, it only compiles with current development branch. An older version of QtHandles is included in octave-3.6.2 for Visual Studio. More recently, I posted binaries for 3.7.2+, but I can't remember whether I included QtHandles in it; though I would say I didn't.

 

One possibility would be to use the 3.7.2+ binaries, then compile QtHandles from sources using current github version, but that's not trivial (you need to install visual studio and Qt, first). It's possible, though, as I helper someone else to do it a few weeks/months ago.

 

Alternatively, you could compile octave from default branch with MinGW, using MXE. Then you should be able to compile QtHandles with MinGW as well.

 

Michael.

 

I use Visual Studio regularly so perhaps that would be the approach to use. I guess I would install QT 5.1.1.   I also found your 3.7.2+ binaries.  Quickly reading a couple of threads on 3.7.2 indicated there might be an issue with the IO package?


IIRC the problem was actually with the windows package. I've produced an update for that one, available at:

https://dl.dropboxusercontent.com/u/45539519/octave-3.7.2%2B-windows-1.2.1-vs2010-setup.exe
 

Are there a set of steps I can follow to compile up QTHandles?


Note that I've only tested QtHandles with Qt4. I will probably not compile out of the box with Qt5 (headers are different). Otherwise, the process is to use qmake and nmake. However this must be done from a terminal (or command prompt) where visual studio is properly configured and available, and octave is your PATH. What I usually do is to use a MSYS terminal, where visual studio is available: to achieve this, I hacked msys.bat to call vcvarsall.bat before starting bash. Then I compile QtHandles with:

PATH=/where/octave/is/installed/bin:$PATH qmake -recursive
nmake

I hope the above doesn't sound like Greek to you, otherwise you'll have a hard time trying to compile QtHandles :).

Michael.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]