octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #62106] GUI fails to build for Qt < 5.11


From: Rik
Subject: [Octave-bug-tracker] [bug #62106] GUI fails to build for Qt < 5.11
Date: Wed, 23 Feb 2022 16:02:18 -0500 (EST)

URL:
  <https://savannah.gnu.org/bugs/?62106>

                 Summary: GUI  fails to build for Qt < 5.11
                 Project: GNU Octave
            Submitted by: rik5
            Submitted on: Wed 23 Feb 2022 01:02:16 PM PST
                Category: Configuration and Build System
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Regression
                  Status: Confirmed
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
                 Release: dev
         Discussion Lock: Any
        Operating System: GNU/Linux

    _______________________________________________________

Details:

Trying to build the development branch today (February 23, 2022) I get the
following errors


libgui/src/resource-manager.cc: In member function ‘void
octave::resource_manager::config_icon_theme()’:
libgui/src/resource-manager.cc:190:35: error: ‘fallbackSearchPaths’ is not
a member of ‘QIcon’
     QStringList fallbacks (QIcon::fallbackSearchPaths ());
                                   ^~~~~~~~~~~~~~~~~~~
libgui/src/resource-manager.cc:209:12: error: ‘setFallbackSearchPaths’ is
not a member of ‘QIcon’
     QIcon::setFallbackSearchPaths (fallbacks);
            ^~~~~~~~~~~~~~~~~~~~~~


According to Qt documentation these two functions were introduced in Qt 5.11. 
I am using Kubuntu 18.04 which is a long-term release and comes with Qt 5.9.5.
 I expect there are a lot of other users with older Qt versions.

Seems like it would be worth adding a configuration test in configure.ac or
acinclude.m4 and providing a workaround for older libraries.




    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?62106>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]