bugGNU Octave - Bugs: bug #60416, Qt 5.4: GUI doesn't build any more...

 
 

bug #60416: Qt 5.4: GUI doesn't build any more with QOverload not declared

Submitted by:  A.R. Burgers <arb>
Submitted on:  Mon 19 Apr 2021 07:08:17 AM UTC  
 
Category:  GUI Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Build Failure
Status:  Fixed Assigned to:  None
Originator Name:  Open/Closed:  Closed
Release:  dev Operating System:  Any

Add a New Comment (Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Wed 28 Apr 2021 10:10:29 PM UTC, comment #5: 

We think this is fixed.  If a Qt 5.4 user has a problem in the future they can file a new report.

Rik <rik5>
Project Administrator
Tue 27 Apr 2021 08:51:19 PM UTC, comment #4: 

I switched to Qt-5.7, the last precompiled Qt for RHEL 6.x in the mean time. I switched back to Qt-5.4, but in the mean time it seems there are new Qaction issues for Qt-5.4 as in bug #60298, or I do something wrong with switching between parallel Qt installations, or something else, anyway I cannot immediately judge unfortunately whether te patch is effective.

A.R. Burgers <arb>
Tue 27 Apr 2021 03:16:09 PM UTC, comment #3: 

I pushed the following changeset.  Could someone confirm that it works on systems that have a Qt version < 5.7?

http://hg.savannah.gnu.org/hgweb/octave/rev/5b7e721844df

John W. Eaton <jwe>
Project Administrator
Mon 19 Apr 2021 01:11:07 PM UTC, comment #2: 

OK, I think I can provide a replacement if it is not available.

John W. Eaton <jwe>
Project Administrator
Mon 19 Apr 2021 08:58:12 AM UTC, comment #1: 

feature introduced in 5.7 apparently

https://doc.qt.io/qt-5/qtglobal.html

A.R. Burgers <arb>
Mon 19 Apr 2021 07:08:17 AM UTC, original submission:  

recent dev versions fail to build with Qt 5.4.
Probably due to http://hg.savannah.gnu.org/hgweb/octave/rev/3d34b70b5a49

  CXX      libgui/graphics/libgui_graphics_libgraphics_la-ButtonGroup.lo
../octave/libgui/graphics/ButtonGroup.cc: In constructor 'QtHandles::ButtonGroup::ButtonGroup(octave::base_qobject&, octave::interpreter&, const graphics_object&, QButtonGroup*, QFrame*)':
../octave/libgui/graphics/ButtonGroup.cc:187:14: error: 'QOverload' was not declared in this scope
  187 |              QOverload<QAbstractButton *>::of (&QButtonGroup::buttonClicked),
      |              ^~~~~~~~~
../octave/libgui/graphics/ButtonGroup.cc:187:40: error: expected primary-expression before '*' token
  187 |              QOverload<QAbstractButton *>::of (&QButtonGroup::buttonClicked),
      |                                        ^
../octave/libgui/graphics/ButtonGroup.cc:187:41: error: expected primary-expression before '>' token
  187 |              QOverload<QAbstractButton *>::of (&QButtonGroup::buttonClicked),
      |                                         ^
../octave/libgui/graphics/ButtonGroup.cc:187:44: error: '::of' has not been declared
  187 |              QOverload<QAbstractButton *>::of (&QButtonGroup::buttonClicked),
      |                                            ^~
make[2]: *** [libgui/graphics/libgui_graphics_libgraphics_la-ButtonGroup.lo] Error 1

A.R. Burgers <arb>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by jwe (Posted a comment)
  • -email is unavailable- added by arb (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

     

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2021-04-28 rik5 StatusReady For Test => Fixed
        Open/ClosedOpen => Closed
    2021-04-27 jwe StatusNone => Ready For Test

    Back to the top


    Powered by Savane 3.6