octave-maintainers
[Top][All Lists]
Advanced

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

Re: qtoctave -neither qt4 nor qt5


From: Chechu Garguez
Subject: Re: qtoctave -neither qt4 nor qt5
Date: Wed, 20 May 2015 05:57:41 +0000


Le 20 mai 2015 05:44, "sibu" <address@hidden> a écrit :
>
> Greetings,
>
>
>
> Im attempting to compile octave  with the qtOctave interface.  My computer has
> these:
>
> --gcc-4.9.2,
> --linux-4.0
> --cpu  -qadcore amd64
> --OS=blfs
> --qt-5.4.1  (as /opt/qt5) and qt-4.7.3  ( as /opt/qt4)
>
> I tried octave-3.8.2, octave-4.0.0-rc4, and octave from the mercurial
> repositiry 17thMay2015 with the following results:-
> --if PKG_CONFIG_PATH is set to /opt/qt5/lib,  qt is not detected AND  even if
> QT_LIBS and QT_CFLAGS envars are set.
>
> --If PKG_CONFIG_PATH is set to /opt/qt4/lib   qt is detected   but the build
> ends like so:-
> #########################################
> In file included from src/settings-dialog.cc:31:0:
> src/ui-settings-dialog.h:13:29: fatal error: QtWidgets/QAction: No such file
> or directory
>  #include <QtWidgets/QAction>
>                              ^
> compilation terminated.
> Makefile:3805: recipe for target 'src/src_libgui_src_la-settings-dialog.lo'
> failed
> #########################################
> My initial checks with qt documentation suggests that there is
>  no /opt/qt4/include/QtWidgets  in any qt4 installation
> It appears to be a recent development for qt5
>
> I also read this post
> http://savannah.gnu.org/bugs/?40252
> http://hg.savannah.gnu.org/hgweb/octave/rev/d58ba8b9f709
>
> where it appears theat qt5 support has been temporarily rooled back for
> qtOctave.  If this is so it would appear that   debris of the roolback remain
> ( i.e. qt5 headers are still required though  the configure script has been
> doctored not to   detect a qt5 instalation ... or something like so).
>
> I would be grateful for advice and hopefully a fix to get qtOctave  ( using
> qt4 or qt5 ) compiled.
>
> Thanks in advance.
>
> Yours sincerely
>
> SibuXolo
>
>
Good morning  Sibu,
It seems that you are building a LFS (linux from scratch), as a quick try to fix it; maybe some of the libs of qt* are not available on the other builds; I will suggest you to get the integrated mxe-octave , configure it ( --enable-octave=stable ,alpha or default) and like this you can run #make qt and looking into the logs you could see the flags/arguments used on the build process. When its done you could link to the */lib/ generated and if your lfs has no problems that should work.
Hope that helps.

Yours sincerely,  Chechu


reply via email to

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