bugGNU Octave - Bugs: bug #50567, Qt 4.6.2 compiler error on...

 
 

bug #50567: Qt 4.6.2 compiler error on MiddleButton

Submitted by:  A.R. Burgers <arb>
Submitted on:  Fri 17 Mar 2017 07:38:51 AM UTC  
 
Category: InterpreterSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Build Failure
Status: FixedAssigned to: None
Originator Name: Open/Closed: Closed
Release: devOperating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Fri 17 Mar 2017 09:55:23 PM UTC, comment #3:

yes, this changeset fixes the 4.6.2 issue

A.R. Burgers <arb>
Fri 17 Mar 2017 06:05:28 PM UTC, comment #2:

Changeset
http://hg.savannah.gnu.org/hgweb/octave/rev/ecbd341564fa
should fix the bug. Qt::MiddleButton was introduced in 4.7 but Qt::MidButton already exists in 4.6.

Torsten <ttl>
Project Member
Fri 17 Mar 2017 04:45:00 PM UTC, comment #1:

Here's the list of event options:

http://doc.qt.io/qt-4.8/qml-mouseevent.html#button-prop

At the top of that page is the note:

"Since: Qt 4.7"

I would say that the following hunks of code should be conditioned on Qt >= 4.7 then:

It would mean those mouse features don't exist for Qt < 4.7, or perhaps there is a more primitive way of getting the same info.

Dan Sebald <sebald>
Fri 17 Mar 2017 07:38:51 AM UTC, original submission:

Current dev versions (c1362a71fb0e+) give this error:

I am using gcc 4.9.3, Qt 4.6.2

A.R. Burgers <arb>

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by ttl (Posted a comment)
  • -unavailable- added by sebald (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 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 18 Mar 2017 08:36:34 AM UTCttlStatusReady For Test=>Fixed
      Open/ClosedOpen=>Closed
    Fri 17 Mar 2017 06:05:28 PM UTCttlStatusNone=>Ready For Test

    Back to the top


    Powered by Savane 3.1-cleanup1