Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-30610

gtk_dialog_get_widget_for_response requires gtk+ 2.20; not checked at configure

    XMLWordPrintable

Details

    • 542e3be40d0323e239a2e6381e7fd60de9153a06

    Description

      The function 'gtk_dialog_get_widget_for_response' is used in the new GTK+2.0 native file dialog theme unconditionally, but it appears this function was introduced in GTK+ 2.20 – systems using older versions (e.g. RHEL / CentOS 6 which ship with version 2.18) will pass the configure check, but will fail to compile on qgtk2dialoghelpers.cpp due to the missing function declaration. It seems that either a GTK version check should be added, or the function should be modified to work against older versions of GTK+2.0.

      As a side note, bypassing these two calls allows the rest of Qt 5.1 alpha to compile and link successfully.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            srutledg Shawn Rutledge
            zrax Michael Hansen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes