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

Submitted by:  A.R. Burgers <arb>
Submitted on:  Tue 01 Jul 2014 12:57:47 PM UTC  
 
Category: Configuration and Build SystemSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Build Failure
Status: FixedAssigned to: None
Originator Name: Open/Closed: Closed
Release: devOperating System: Any

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

(Jump to the original submission 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 <ttl>
Project 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>
Project Administrator
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>
Project 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 <ttl>
Project 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>
Project Administrator
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>
Project 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 File(s):
   
   
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
  • -unavailable- added by rik5 (Updated the item)
  • -unavailable- added by jwe (Updated the item)
  • -unavailable- added by ttl (Posted a comment)
  • -unavailable- added by mtmiller (Posted a comment)
  • -unavailable- added by andy1978 (Posted a comment)
  • -unavailable- added by arb (Submitted the item)
  •  

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

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 03 Aug 2014 05:53:07 AM UTCrik5StatusConfirmed=>Fixed
      Open/ClosedOpen=>Closed
    Tue 01 Jul 2014 08:04:43 PM UTCjweAttached File-=>Added diffs.txt, #31655
    Tue 01 Jul 2014 02:55:47 PM UTCmtmillerStatusNone=>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.1-cleanup1