[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: QtHandles: Qt-based toolkit with uicontrol/uipanel support
From: |
Michael Goffioul |
Subject: |
Re: QtHandles: Qt-based toolkit with uicontrol/uipanel support |
Date: |
Mon, 10 Oct 2011 15:37:11 +0100 |
On Mon, Oct 10, 2011 at 1:21 PM, Ben Abbott <address@hidden> wrote:
> I had to run "make" twice. The first time, I got an error complaining that
> the directory QtHandles/octave-qt.app/Contents/MacOS/octave-q does not exist.
> I didn't create this directory structure, and it still is not there, but when
> I ran make the second time, I got no error. So the part of tools/Makefile
> below doesn't work for me.
>
> address@hidden(CHK_DIR_EXISTS) octave-qt.app/Contents/MacOS/ ||
> $(MKDIR) octave-qt.app/Contents/MacOS/
Note sure why this doesn't work. This is generated by qmake, so I
can't do much about it...
> $ qmake
> $ make
> cd tool/ && make -f Makefile
> /Developer/usr/bin/llvm-g++-4.2 -c -pipe
> -I/opt/local/include/octave-3.5.0+/octave/..
> -I/opt/local/include/octave-3.5.0+/octave -I/opt/local/include/freetype2
> -pipe -O2 -m64 -O2 -arch x86_64 -Xarch_x86_64 -mmacosx-version-min=10.7 -Wall
> -W -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED
> -I/opt/local/share/qt4/mkspecs/macx-g++ -I. -I. -I/opt/local/include/QtGui
> -I/opt/local/include/QtCore -I/opt/local/include -o octave-qt.o octave-qt.cpp
> /Developer/usr/bin/llvm-g++-4.2 -headerpad_max_install_names -arch x86_64
> -Xarch_x86_64 -mmacosx-version-min=10.7 -o
> octave-qt.app/Contents/MacOS/octave-qt octave-qt.o
> -L/opt/local/lib/octave/3.5.0+ -loctinterp -loctave -lcruft -L/opt/local/lib
> -lQtGui -lQtCore
> cp -f octave-qt.app/Contents/MacOS/octave-qt
> ../octave-qt.app/Contents/MacOS/octave-qt
> cp: ../octave-qt.app/Contents/MacOS/octave-qt: No such file or directory
This is a simple post-build step that I used to copy all targets into
the top-level directory, so you can directly run everything from there
without playing with PATH and octave path. This is of course not
mandatory. What do you have in octave-qt.app/Contents/MacOS/ ?
> make[1]: *** [octave-qt.app/Contents/MacOS/octave-qt] Error 1
> make: *** [sub-tool-make_default] Error 2
> Bens-MacBook-Pro:QtHandles bpabbott$ make
> cd tool/ && make -f Makefile
> make[1]: Nothing to be done for `first'.
> cd src/ && make -f Makefile
> /Developer/usr/bin/llvm-g++-4.2 -c -pipe
> -I/opt/local/include/octave-3.5.0+/octave/..
> -I/opt/local/include/octave-3.5.0+/octave -I/opt/local/include/freetype2
> -pipe -O2 -m64 -O2 -arch x86_64 -Xarch_x86_64 -mmacosx-version-min=10.7 -Wall
> -W -fPIC -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED
> -I/opt/local/share/qt4/mkspecs/macx-g++ -I. -I. -I/opt/local/include/QtOpenGL
> -I/opt/local/include/QtGui -I/opt/local/include/QtCore -I/opt/local/include
> -I/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers
> -I/System/Library/Frameworks/AGL.framework/Headers -o __init_qt__.o
> __init_qt__.cpp
> In file included from __init_qt__.cpp:30:
> Backend.h:58: error: conflicting return type specified for ‘virtual bool
> QtHandles::Backend::initialize(const graphics_object&)’
> /opt/local/include/octave-3.5.0+/octave/../octave/graphics.h:2033: error:
> overriding ‘virtual void base_graphics_toolkit::initialize(const
> graphics_object&)’
It seems you don't use the latest dev sources. You need a change I
submitted last week:
http://hg.savannah.gnu.org/hgweb/octave/rev/834f904a3dcb
Michael.
- Re: QtHandles: Qt-based toolkit with uicontrol/uipanel support, (continued)
- Re: QtHandles: Qt-based toolkit with uicontrol/uipanel support, Michael Goffioul, 2011/10/12
- Re: QtHandles: Qt-based toolkit with uicontrol/uipanel support, J. Luis, 2011/10/12
- Re: QtHandles: Qt-based toolkit with uicontrol/uipanel support, Michael Goffioul, 2011/10/12
- Re: QtHandles: Qt-based toolkit with uicontrol/uipanel support, J. Luis, 2011/10/12
- Re: QtHandles: Qt-based toolkit with uicontrol/uipanel support, Kai Habel, 2011/10/13
- Re: QtHandles: Qt-based toolkit with uicontrol/uipanel support, Ben Abbott, 2011/10/09
- Re: QtHandles: Qt-based toolkit with uicontrol/uipanel support, Ben Abbott, 2011/10/09
- Re: QtHandles: Qt-based toolkit with uicontrol/uipanel support, Martin Helm, 2011/10/09
- Re: QtHandles: Qt-based toolkit with uicontrol/uipanel support, Michael Goffioul, 2011/10/10
- Re: QtHandles: Qt-based toolkit with uicontrol/uipanel support, Ben Abbott, 2011/10/10
- Re: QtHandles: Qt-based toolkit with uicontrol/uipanel support,
Michael Goffioul <=
- Re: QtHandles: Qt-based toolkit with uicontrol/uipanel support, Ben Abbott, 2011/10/10
- Re: QtHandles: Qt-based toolkit with uicontrol/uipanel support, Michael Goffioul, 2011/10/10
- Re: QtHandles: Qt-based toolkit with uicontrol/uipanel support, Martin Helm, 2011/10/10
- Re: QtHandles: Qt-based toolkit with uicontrol/uipanel support, bpabbott, 2011/10/10
- Re: QtHandles: Qt-based toolkit with uicontrol/uipanel support, Michael Goffioul, 2011/10/10
- Re: QtHandles: Qt-based toolkit with uicontrol/uipanel support, Jordi Gutiérrez Hermoso, 2011/10/10
- Re: QtHandles: Qt-based toolkit with uicontrol/uipanel support, Michael Goffioul, 2011/10/10
- Re: QtHandles: Qt-based toolkit with uicontrol/uipanel support, Jordi Gutiérrez Hermoso, 2011/10/10
- Re: QtHandles: Qt-based toolkit with uicontrol/uipanel support, Michael Goffioul, 2011/10/10
- Re: QtHandles: Qt-based toolkit with uicontrol/uipanel support, Jordi Gutiérrez Hermoso, 2011/10/10