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. Qt build error

Qt build error

Scheduled Pinned Locked Moved Unsolved General and Desktop
8 Posts 4 Posters 1.1k 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.
  • C Offline
    C Offline
    Cartik Sharma
    wrote on last edited by
    #1

    I am getting a build error

    parse error at:

    for

    public slots::

    in the header.

    Please let me know what would fix the problem.

    jsulmJ 2 Replies Last reply
    0
    • C Cartik Sharma

      I am getting a build error

      parse error at:

      for

      public slots::

      in the header.

      Please let me know what would fix the problem.

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @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
      1
      • C Offline
        C Offline
        Cartik Sharma
        wrote on last edited by
        #3

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

        1 Reply Last reply
        0
        • mrjjM Offline
          mrjjM Offline
          mrjj
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @Cartik-Sharma said in Qt build error:

          public slots::

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

          C 1 Reply Last reply
          0
          • mrjjM mrjj

            @Cartik-Sharma said in Qt build error:

            public slots::

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

            C Offline
            C Offline
            Cartik Sharma
            wrote on last edited by
            #5

            @mrjj It's just one!

            mrjjM 1 Reply Last reply
            0
            • C Cartik Sharma

              @mrjj It's just one!

              mrjjM Offline
              mrjjM Offline
              mrjj
              Lifetime Qt Champion
              wrote on last edited by
              #6

              @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
              2
              • Pradeep KumarP Offline
                Pradeep KumarP Offline
                Pradeep Kumar
                wrote on last edited by
                #7

                Hi,

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

                Thanks,

                Pradeep Kumar
                Qt,QML Developer

                1 Reply Last reply
                0
                • C Cartik Sharma

                  I am getting a build error

                  parse error at:

                  for

                  public slots::

                  in the header.

                  Please let me know what would fix the problem.

                  jsulmJ Offline
                  jsulmJ Offline
                  jsulm
                  Lifetime Qt Champion
                  wrote on last edited by
                  #8

                  @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
                  0

                  • Login

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