help-octave
[Top][All Lists]
Advanced

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

Re: Unknown option 'qt5' GEN libgui/src/ui-settings-dialog.h


From: Tatsuro MATSUOKA
Subject: Re: Unknown option 'qt5' GEN libgui/src/ui-settings-dialog.h
Date: Tue, 23 Aug 2016 11:30:58 +0900 (JST)

----- Original Message -----

> From: Tatsuro MATSUOKA 
> To: Mike Miller 
> Cc: "help-octave
> Date: 2016/8/23, Tue 10:43
> Subject: Re: Unknown option 'qt5'  GEN      libgui/src/ui-settings-dialog.h
> 
> ----- Original Message -----
> 
>>  From: Mike Miller 
>>  To: Tatsuro MATSUOKA 
>>  Cc: help-octave
>>  Date: 2016/8/23, Tue 08:33
>>  Subject: Re: Unknown option 'qt5'  GEN      
> libgui/src/ui-settings-dialog.h
>> 
>>  On Tue, Aug 23, 2016 at 08:25:46 +0900, Tatsuro MATSUOKA wrote:
>>>   At make 
>>> 
>>>     GEN      libgui/src/ui-settings-dialog.h
>>>   Unknown option 'qt5'.
>>> 
>>> 
>>>   Does anyone know what
>>>     GEN      libgui/src/ui-settings-dialog.h
>>>   are done to generate libgui/src/ui-settings-dialog.h ?
>> 
>>  Run "make V=1" to see the full command output.
>> 
>>  It is probably complaining about the -qt5 option that is passed to the
>>  uic program.
>> 
>>  On my Debian system, uic is a symlink to a program called 
> "qtchooser".
>>  This program takes a -qt4 or -qt5 option and acts as a proxy to the real
>>  uic program which is installed outside of PATH.
>> 
>>  This is probably not working on whatever setup you have. If you have
>>  already set PATH appropriately, you could try setting UICFLAGS to empty.
> 
> 
> Thank you for your help.
> 
> I have execute "make V=1":
> 
> uic -qt5 -o libgui/src/ui-settings-dialog.h 
> ../octave/libgui/src/settings-dialog.ui
> Unknown option 'qt5'.
> make: *** [libgui/src/ui-settings-dialog.h] Error 1
> 
> I remove -qt5 from UICFLAGS in Makefile. This error disappeared.
> 
> If installing qt from source, real uic exists in the PATH.
> Therefore the build system should consider the case that real uic in the PATH.
> 
> Tatsuro


LRELEASEFLAGS, MOCFLAGS, RCCFLAGS, and UICFLAGS should be cleared in my case.

Tatsuro




reply via email to

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