Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-22909

Qt *.ui files designer does not show resources of sibling subprojects.

    XMLWordPrintable

    Details

    • Platform/s:
      Linux/Other display system, Windows
    • Commits:
      736eef24ca9263339f4c576cba5d4b20fe188045 (qt-creator/qt-creator/4.10)

      Description

      Qt *.ui files designer does not show resources of sibling subprojects.

      The example of a project structure:

      For example when I open MainWindow.ui in User Interface designer, the "Select Resource" dialog does not have assess to the resources of sibling subproject Sub2.pro

      And all icons of buttons and actions which uses resources located in siblings projects are empty.

      But I can add icon in source code:

      #include "MainWindow.h"
      #include "ui_MainWindow.h"
      
      MainWindow::MainWindow(QWidget *parent)
          : QMainWindow(parent)
          , ui(new Ui::MainWindow)
      {
          ui->setupUi(this);
          ui->toolButton_2->setIcon(QIcon(":/icons/Add.svg"));
      }
      
      MainWindow::~MainWindow()
      {
          delete ui;
      }
      

      The bug appeared after update from 4.9.2 to 4.10.0

        Attachments

        1. MainPro.zip
          5 kB
        2. ExampleProjectStructure.png
          ExampleProjectStructure.png
          28 kB
        3. bug2.png
          bug2.png
          147 kB
        4. bug.jpg
          bug.jpg
          90 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            kandeler Christian Kandeler
            Reporter:
            tetsuzin72 Pavel Efimov
            Votes:
            5 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes