Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Meta Object Compiler (MOC)
Forum Updated to NodeBB v4.3 + New Features

Meta Object Compiler (MOC)

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
mocmeta object com
7 Posts 3 Posters 3.1k 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.
  • U Offline
    U Offline
    Uberlinc
    wrote on last edited by
    #1

    Hi,

    I am teaching myself Qt and using a number of resources, including a SAMS Teach yourself QT in 24 Hours which was published in 2000.

    It talks of the MOC but as it written in 1999, assuming a Linux/Unix system.
    I can't seem to find the location of it, to be used in a Command Line environment under Windows 10.

    Has it's application and functionality changed in 18 years?
    If so, how is it used in its current form.

    Thanks,

    Uberlinc.

    1 Reply Last reply
    0
    • Chris KawaC Offline
      Chris KawaC Offline
      Chris Kawa
      Lifetime Qt Champion
      wrote on last edited by Chris Kawa
      #2

      Apart from maybe some historical value there's little point in learning Qt from almost 2 decades old materials. Some basic concepts like QOjects or moc is still there but pretty much everything else, from the api itself to tools parameters have changed since. I would strongly suggest getting something more recent.

      Here's the documentation for current moc: Using the Meta-Object Compiler. The executable is located in the bin directory of your Qt installation (next to all the dlls).

      U 1 Reply Last reply
      3
      • Chris KawaC Chris Kawa

        Apart from maybe some historical value there's little point in learning Qt from almost 2 decades old materials. Some basic concepts like QOjects or moc is still there but pretty much everything else, from the api itself to tools parameters have changed since. I would strongly suggest getting something more recent.

        Here's the documentation for current moc: Using the Meta-Object Compiler. The executable is located in the bin directory of your Qt installation (next to all the dlls).

        U Offline
        U Offline
        Uberlinc
        wrote on last edited by
        #3

        @Chris-Kawa

        Thank you for this.
        I like the SAMS Publishing books because they are easy to follow.
        I am not a fan of online tutorials with no clear format or course structure and has random links jumping everywhere - I'd prefer clear, coherent text that goes from A to Z.

        Sadly, the only "Teach Yourself" book that I could find is this one and it is 20 years old.

        Is there a publication that does this and is up to date?

        Thanks,

        Uberlinc

        1 Reply Last reply
        0
        • Chris KawaC Offline
          Chris KawaC Offline
          Chris Kawa
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Take a look at this thing. Although it's an online resource it is structured like a book, with A to Z flow. You can download it in an offline pdf or ebook.

          1 Reply Last reply
          0
          • U Offline
            U Offline
            Uberlinc
            wrote on last edited by
            #5

            I have seen this before, but (from what I can see) I note that it appears to be in QML and not C++.
            I am wishing to use QT with C++.

            Am I mistaken here or is there a similar publication that caters for C++?

            It may seem like a newb question, so I do apologise.
            Can you please explain?

            Thanks.

            jsulmJ 1 Reply Last reply
            0
            • U Uberlinc

              I have seen this before, but (from what I can see) I note that it appears to be in QML and not C++.
              I am wishing to use QT with C++.

              Am I mistaken here or is there a similar publication that caters for C++?

              It may seem like a newb question, so I do apologise.
              Can you please explain?

              Thanks.

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

              @Uberlinc How about this: https://wiki.qt.io/Books

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

              U 1 Reply Last reply
              0
              • jsulmJ jsulm

                @Uberlinc How about this: https://wiki.qt.io/Books

                U Offline
                U Offline
                Uberlinc
                wrote on last edited by
                #7

                @jsulm Some good options there.
                I shall look into them.
                Many thanks for your help!

                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