Uploaded image for project: 'Qbs ("Cubes")'
  1. Qbs ("Cubes")
  2. QBS-687

Compile error in artifactset.cpp

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P4: Low
    • 1.3.2
    • 1.3.0
    • General
    • None
    • Qt 5.3.1 on CentOS 6.5 with gcc version 4.4.7 20120313 (Red Hat 4.4.7-4) (GCC).
    • cdae88ac26bdac8ad22040a32b95de9dae2806e6

    Description

      I just got the newly released tar.gz version of QtCreator.

      When compiling it, I get the following error:

      buildgraph/artifactset.cpp:52: error: ‘template<class T> class QSet’ used without template parameters
      

      This corresponds to this function in code:

      ArtifactSet &ArtifactSet::unite(const ArtifactSet &other)
      {
          QSet::unite(other);
          return *this;
      }
      

      When using the following changed code, this file compiles fine:

      ArtifactSet &ArtifactSet::unite(const ArtifactSet &other)
      {
          QSet<Artifact *>::unite(other);
          return *this;
      }
      

      Attachments

        For Gerrit Dashboard: QBS-687
        # Subject Branch Project Status CR V

        Activity

          People

            jbornema Joerg Bornemann
            sebastian42 Sebastian Ihle
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes