Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. General talk
  3. Qt 6
  4. Qt6.6.1 error question (C2882 : QCP)
Forum Updated to NodeBB v4.3 + New Features

Qt6.6.1 error question (C2882 : QCP)

Scheduled Pinned Locked Moved Unsolved Qt 6
6 Posts 2 Posters 885 Views 1 Watching
  • 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.
  • Teemo of LOLT Offline
    Teemo of LOLT Offline
    Teemo of LOL
    wrote on last edited by
    #1

    When executing the qcustomplot.cpp file, I encounter an error 'moc_qcustomplot.cpp error C2882: 'QCP': illegal use of namespace identifier in expression.' How can I fix this? I'm using version 6.6.1. I will also provide the line of code where the error occurs in moc_qcustomplot.cpp.

    QtPrivate::TypeAndForceComplete<QCP::SelecetionType, std::true_type>,
    // Q_OBJECT / Q_GADGET
    QtPrivate::TypeAndForceComplete<QCP, std::true_type>

    The error occurs at QtPrivate::TypeAndForceComplete<QCP, std::true_type>

    thx

    sierdzioS 1 Reply Last reply
    0
    • Teemo of LOLT Teemo of LOL

      When executing the qcustomplot.cpp file, I encounter an error 'moc_qcustomplot.cpp error C2882: 'QCP': illegal use of namespace identifier in expression.' How can I fix this? I'm using version 6.6.1. I will also provide the line of code where the error occurs in moc_qcustomplot.cpp.

      QtPrivate::TypeAndForceComplete<QCP::SelecetionType, std::true_type>,
      // Q_OBJECT / Q_GADGET
      QtPrivate::TypeAndForceComplete<QCP, std::true_type>

      The error occurs at QtPrivate::TypeAndForceComplete<QCP, std::true_type>

      sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      @Teemo-of-LOL try upgrading to Qt 6.6.2.

      (Z(:^

      Teemo of LOLT 2 Replies Last reply
      0
      • sierdzioS sierdzio

        @Teemo-of-LOL try upgrading to Qt 6.6.2.

        Teemo of LOLT Offline
        Teemo of LOLT Offline
        Teemo of LOL
        wrote on last edited by
        #3

        @sierdzio Will it work well in 6.6.2?

        thx

        1 Reply Last reply
        0
        • sierdzioS sierdzio

          @Teemo-of-LOL try upgrading to Qt 6.6.2.

          Teemo of LOLT Offline
          Teemo of LOLT Offline
          Teemo of LOL
          wrote on last edited by
          #4

          @sierdzio Will upgrading to 6.6.2 fix the error mentioned above??? Is this a version issue?

          thx

          sierdzioS 1 Reply Last reply
          0
          • Teemo of LOLT Teemo of LOL

            @sierdzio Will upgrading to 6.6.2 fix the error mentioned above??? Is this a version issue?

            sierdzioS Offline
            sierdzioS Offline
            sierdzio
            Moderators
            wrote on last edited by
            #5

            @Teemo-of-LOL I don't know but it might. Alternatively, check if your compiler can be updated.

            (Z(:^

            Teemo of LOLT 1 Reply Last reply
            0
            • sierdzioS sierdzio

              @Teemo-of-LOL I don't know but it might. Alternatively, check if your compiler can be updated.

              Teemo of LOLT Offline
              Teemo of LOLT Offline
              Teemo of LOL
              wrote on last edited by
              #6

              @sierdzio okay. Thank you. I will try. and tell you about result :)

              thx

              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