bugGNU Octave - Bugs: bug #42657, octave 3.8.2-rc2 won't compile...

 
 

bug #42657: octave 3.8.2-rc2 won't compile with Qt 4.6

Submitter:  A.R. Burgers <arb>
Submitted:  Tue 01 Jul 2014 12:57:47 PM 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:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Jump to the original submission

Fri 04 Jul 2014 04:52:34 AM UTC, comment #7: 

John's changeset works for me as well.

Torsten Lilge <ttl>
Group Member
Wed 02 Jul 2014 08:03:26 AM UTC, comment #6: 

The distribution (from /etc/redhat-release) is

Red Hat Enterprise Linux Server release 6.5 (Santiago)

A.R. Burgers <arb>
Wed 02 Jul 2014 03:06:05 AM UTC, comment #5: 

Works for me with a Qt 4.6.2 test build.

Mike Miller <mtmiller>
Group Member
Tue 01 Jul 2014 08:04:43 PM UTC, comment #4: 

Does the attached changeset look OK?  The configure test seems to work for me with Qt 4.8 installed.


(file #31655)

John W. Eaton <jwe>
Group administrator
Tue 01 Jul 2014 07:14:09 PM UTC, comment #3: 

Sorry, I missed to check when this parameter was added. I will add a check for this feature within the next days.

Torsten Lilge <ttl>
Group Member
Tue 01 Jul 2014 02:55:47 PM UTC, comment #2: 

Until recently, Qt 4.6 was the minimum required version for the stable version of the GUI. It would be really nice if that were not broken between 3.8.1 and 3.8.2 (and hopefully even beyond for a while).

FTR, here is the change that added QFont::ForceIntegerMetrics:

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

Mike Miller <mtmiller>
Group Member
Tue 01 Jul 2014 02:39:19 PM UTC, comment #1: 

QFont::ForceIntegerMetrics has been added to qt 4.7:
https://qt.gitorious.org/qt/qt-iphone-clone/commit/6d0002fe9bc91b9901e56050d247fbded09c9c76

(and is therefore not available in your qt 4.6.2)

What distribution are you using?

Andreas Weber <andy1978>
Group Member
Tue 01 Jul 2014 12:57:47 PM UTC, original submission:  

Octave compilation fails with this message:

qterminal/libqterminal/unix/TerminalView.cpp:216:32: error: 'ForceIntegerMetrics' is not a member of 'QFont'

full line:

libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include/QtNetwork -I./qterminal/libqterminal -I/home/dusk/aburgers/x86_64/include -pthread -MT qterminal/libqterminal/unix/qterminal_libqterminal_la-TerminalView.lo -MD -MP -MF qterminal/libqterminal/unix/.deps/qterminal_libqterminal_la-TerminalView.Tpo -c qterminal/libqterminal/unix/TerminalView.cpp  -fPIC -DPIC -o qterminal/libqterminal/unix/.libs/qterminal_libqterminal_la-TerminalView.o
qterminal/libqterminal/unix/TerminalView.cpp: In member function 'void TerminalView::setVTFont(const QFont&)':
qterminal/libqterminal/unix/TerminalView.cpp:216:32: error: 'ForceIntegerMetrics' is not a member of 'QFont'

The qt version is 4.6.2 (from qtconfig-qt4)

A.R. Burgers <arb>

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #31655:  diffs.txt added by jwe (3KiB - text/plain)

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    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 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-08-03 rik5 StatusConfirmed Fixed
        Open/ClosedOpen Closed
    2014-07-01 jwe Attached File- Added diffs.txt, #31655
    2014-07-01 mtmiller StatusNone Confirmed
        Operating SystemGNU/Linux Any
        Summaryoctave 3.8.2-rc2 won\'t compile octave 3.8.2-rc2 won't compile with Qt 4.6

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code