Uploaded image for project: 'Qt for Python'
  1. Qt for Python
  2. PYSIDE-184

Pyside-uic can't handle action icon theme

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • 1.2.0
    • PySide
    • None
    • OS: ArchLinux 3.10.3 x86_64
      pyside-uic --version: PySide User Interface Compiler version 0.2.14, running on PySide 1.2.0.

    Description

      Using Qt Designer, I've created a QToolBar with {{QAction}}s. Then I set an Icon theme to the action, i.e. "document-new". If I run pyside-uic on the .ui file, it fails. The official uic for qt4 creates this c++ output for the relevant section:

      actionNew = new QAction(MainWindow);
      actionNew->setObjectName(QString::fromUtf8("actionNew"));
      QIcon icon(QIcon::fromTheme(QString::fromUtf8("document-new")));
      actionNew->setIcon(icon);
      

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            joharei Johan Reitan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes