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

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

[Octave-bug-tracker] [bug #55234] compile error in libgui/src/documentat


From: Pantxo Diribarne
Subject: [Octave-bug-tracker] [bug #55234] compile error in libgui/src/documentation.cc
Date: Mon, 17 Dec 2018 09:11:11 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0

Follow-up Comment #1, bug #55234 (project octave):

I observe the same build failure with Qt 5.7. The following change make the
build complete fine:


diff -r 05ec27d632da libgui/src/documentation.cc
--- a/libgui/src/documentation.cc       Sun Dec 16 23:46:53 2018 -0800
+++ b/libgui/src/documentation.cc       Mon Dec 17 15:01:13 2018 +0100
@@ -396,7 +396,7 @@
     QList<QHelpSearchQuery> queries
       = m_help_engine->searchEngine ()->queryWidget ()->query ();
     if (queries.count ())
-      m_query_string = queries.first ().wordList ().first ();
+      m_query_string = queries.first ().wordList.first ();
     else
       m_query_string = "";
 #endif

i.e. "wordList" is a public data member, not a method, see
http://doc.qt.io/qt-5/qhelpsearchquery.html#wordList-var.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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