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

setWindowFilePath prints warning on Mac OS X

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P4: Low
    • Some future release
    • 4.6.0
    • None
    • OS X 10.6 (snow leopard), Qt 4.6 carbon, Intel MacBook, qt and my app compiled with gcc4.0 (not 4.2)
    • macOS

    Description

      I use QWidget::setWindowFilePath and QWidget::setWindowIcon to setup the title bar of my application. I've noticed in recent versions of Qt when running my app within Qt creator I get the following warning printed out:

      QWidget::setWindowFilePath: Error setting proxyicon for path (/Users/wstokes/Desktop/pUC19.dna):-5600

      This is a little bizarre since my title bar looks great and I can cmd+click on the title bar icon to get a menu to browse the path to the current document (see attached screenshots). So this warning is just adding clutter to the application output since it gets printed every time i refresh the title bar with a new file path, e.g. every time I open a document in my app.

      Attachments

        1. Kamino_002.png
          Kamino_002.png
          11 kB
        2. Kamino_001.png
          Kamino_001.png
          4 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            sorvig Morten Sørvig
            wstokes Will Stokes
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes