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

error: ‘class qbs::Project’ has no member named ‘addFiles’

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Cannot Reproduce
    • Affects Version/s: Qt Creator 4.6.0
    • Fix Version/s: None
    • Component/s: Building Qt Creator
    • Labels:
      None
    • Environment:
      Qt 5.9.2

      OS: Scientific Linux/RHEL 7.5 rolling (Nitrogen) [linux version 3.10.0-862.el7.x86_64]

       g++ (GCC) 7.2.1 20170829 (Red Hat 7.2.1-1)

      Description

      use official released qt-creator-opensource-src-4.6.0

      /home/backup/opensource/qt-creator-opensource-src-4.6.0/src/plugins/qbsprojectmanager/qbsproject.cpp: In member function ‘bool QbsProjectManager::Internal::QbsProject::addFilesToProduct(const QStringList&, qbs::ProductData, qbs::GroupData, QStringList*)’:
      /home/backup/opensource/qt-creator-opensource-src-4.6.0/src/plugins/qbsprojectmanager/qbsproject.cpp:261:43: error: ‘class qbs::Project’ has no member named ‘addFiles’
      qbs::ErrorInfo err = m_qbsProject.addFiles(productData, groupData, QStringList() << path);
      ^~~~~~~~
      /home/backup/opensource/qt-creator-opensource-src-4.6.0/src/plugins/qbsprojectmanager/qbsproject.cpp: In member function ‘bool QbsProjectManager::Internal::QbsProject::removeFilesFromProduct(const QStringList&, qbs::ProductData, qbs::GroupData, QStringList*)’:
      /home/backup/opensource/qt-creator-opensource-src-4.6.0/src/plugins/qbsprojectmanager/qbsproject.cpp:288:32: error: ‘class qbs::Project’ has no member named ‘removeFiles’
      = m_qbsProject.removeFiles(productData, groupData, QStringList() << path);
      ^~~~~~~~~~~

        Attachments

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

          Activity

            People

            Assignee:
            kandeler Christian Kandeler
            Reporter:
            wasphin xiaofeng
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes