Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. error: ‘class qbs::Project’ has no member named ‘addFiles'.
Forum Update on Monday, May 27th 2025

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

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 2 Posters 292 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    Ritz98
    wrote on last edited by
    #1

    Hello,
    When running the command 'make' I get the following errors:

    qbsproject.cpp:281:43: error: ‘class qbs::Project’ has no member named ‘addFiles’
    qbs::ErrorInfo err = m_qbsProject.addFiles(productData, groupData, QStr

    error: ‘class qbs::Project’ has no member named ‘removeFiles’
    = m_qbsProject.removeFiles(productData, groupData, QStringList(

    Does anyone know how to solve this issue? Thank you

    JonBJ 1 Reply Last reply
    0
    • R Ritz98

      Hello,
      When running the command 'make' I get the following errors:

      qbsproject.cpp:281:43: error: ‘class qbs::Project’ has no member named ‘addFiles’
      qbs::ErrorInfo err = m_qbsProject.addFiles(productData, groupData, QStr

      error: ‘class qbs::Project’ has no member named ‘removeFiles’
      = m_qbsProject.removeFiles(productData, groupData, QStringList(

      Does anyone know how to solve this issue? Thank you

      JonBJ Offline
      JonBJ Offline
      JonB
      wrote on last edited by JonB
      #2

      @Ritz98
      Clear everything out, as per https://lists.qt-project.org/pipermail/qt-creator/2014-September/004030.html from 2014

      I reused an old build folder. I thought I delete all files, but I simply forgot the invisible ones.

      And old .qmake.cache remained and qmake -r did not properly update this file.

      ??

      Oh, and same again more recently: https://bugreports.qt.io/browse/QTCREATORBUG-20360?gerritIssueStatus=All, same reason.

      1 Reply Last reply
      0
      • R Offline
        R Offline
        Ritz98
        wrote on last edited by
        #3

        I've seen that page but I don't understand it. I installed qbs but the same error is ocurring.

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved