Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct

    Unsolved Qt build error

    General and Desktop
    4
    8
    793
    Loading More Posts
    • 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.
    • C
      Cartik Sharma last edited by

      I am getting a build error

      parse error at:

      for

      public slots::

      in the header.

      Please let me know what would fix the problem.

      jsulm 2 Replies Last reply Reply Quote 0
      • jsulm
        jsulm Lifetime Qt Champion @Cartik Sharma last edited by

        @Cartik-Sharma I don't see any pictures. Please just copy paste the error message and the code, no need to post pictures (which is often not working here).

        https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply Reply Quote 1
        • C
          Cartik Sharma last edited by

          There are no pictures, the error that I get is posted above.

          1 Reply Last reply Reply Quote 0
          • mrjj
            mrjj Lifetime Qt Champion last edited by

            @Cartik-Sharma said in Qt build error:

            public slots::

            Does it really have 2 :: ? should only be one.

            C 1 Reply Last reply Reply Quote 0
            • C
              Cartik Sharma @mrjj last edited by

              @mrjj It's just one!

              mrjj 1 Reply Last reply Reply Quote 0
              • mrjj
                mrjj Lifetime Qt Champion @Cartik Sharma last edited by

                @Cartik-Sharma

                Ok can you show the actual code ?
                I see nothing in what u posted.
                is the actual error
                "parse error at:" ?

                It can be something above that line

                1 Reply Last reply Reply Quote 2
                • Pradeep Kumar
                  Pradeep Kumar last edited by

                  Hi,

                  @Cartik-Sharma can u provide the entire trace of error along with snapshot.

                  Thanks,

                  Pradeep Kumar
                  Qt,QML Developer

                  1 Reply Last reply Reply Quote 0
                  • jsulm
                    jsulm Lifetime Qt Champion @Cartik Sharma last edited by

                    @Cartik-Sharma said in Qt build error:

                    I am getting a build error
                    parse error at:
                    for
                    public slots::
                    in the header.
                    Please let me know what would fix the problem.

                    This is what I see. So, what is the error? "Build error" does not explain anything. Can you post the actual error?

                    https://forum.qt.io/topic/113070/qt-code-of-conduct

                    1 Reply Last reply Reply Quote 0
                    • First post
                      Last post