bugGNU Octave - Bugs: bug #55191, default fails to build with Qt...

 
 

bug #55191: default fails to build with Qt 4.8: error: 'FullyEncoded' is not a member of 'QUrl'

Submitter:  Mike Miller <mtmiller>
Submitted:  Mon 10 Dec 2018 04:31:46 AM UTC
   
 
Category:  Configuration and Build System Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Build Failure
Status:  Fixed Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * dev Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 11 Dec 2018 05:07:58 PM UTC, comment #3: 

Fixed for me now, thank you.

Mike Miller <mtmiller>
Group Member
Mon 10 Dec 2018 05:34:25 PM UTC, comment #2: 

Changeset http://hg.savannah.gnu.org/hgweb/octave/rev/c2137ac45dd9 should fix the problem. The option in toString () was not really required in the last version of the related patch.

Torsten Lilge <ttl>
Group Member
Mon 10 Dec 2018 04:33:47 PM UTC, comment #1: 

Maybe we should make Octave 5.0 the last version that supports Qt4.

Rik <rik5>
Group administrator
Mon 10 Dec 2018 04:31:46 AM UTC, original submission:  

Building the default branch with Qt 4.8 fails since changeset 494452db0477 with the error:


  CXX      libgui/src/libgui_src_libgui_src_la-documentation.lo
../octave-default/libgui/src/documentation.cc: In member function 'void octave::documentation::update_history(int, QAction**)':
../octave-default/libgui/src/documentation.cc:727:77: error: 'FullyEncoded' is not a member of 'QUrl'
         QString url = m_doc_browser->historyUrl (prev_next*(i+1)).toString (QUrl::FullyEncoded);
                                                                             ^


Using '.toEncoded ()' looks like it should be more portable between Qt 4 and 5.

Mike Miller <mtmiller>
Group Member

 

(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 ttl (Posted a comment)
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by mtmiller
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-12-11 mtmiller StatusReady For Test Fixed
        Open/ClosedOpen Closed
    2018-12-10 ttl StatusNone Ready For Test
    2018-12-10 mtmiller Carbon-CopyRemoved 80942 -
    2018-12-10 mtmiller Carbon-Copy- Added ttl

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code