Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. What is DECLARATIVE_EXAMPLE_MAIN(demos/calqlatr/calqlatr) about?
QtWS25 Last Chance

What is DECLARATIVE_EXAMPLE_MAIN(demos/calqlatr/calqlatr) about?

Scheduled Pinned Locked Moved Solved QML and Qt Quick
2 Posts 2 Posters 339 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.
  • S Offline
    S Offline
    Stan Huang
    wrote on 12 Mar 2019, 10:01 last edited by
    #1

    When I studied Qt sample programs, I usually found

    #include "../shared/shared.h"
    DECLARATIVE_EXAMPLE_MAIN(demos/calqlatr/calqlatr)

    What is DECLARATIVE_EXAMPLE_MAIN()? I can't even find it at google or files of Qt installation.

    1 Reply Last reply
    0
    • S Offline
      S Offline
      Shrinidhi Upadhyaya
      wrote on 12 Mar 2019, 10:08 last edited by
      #2

      Hi @Stan-Huang , its just a macro which is defined in shared.h, if you open shared.h you can find it.

      Shrinidhi Upadhyaya.
      Upvote the answer(s) that helped you to solve the issue.

      1 Reply Last reply
      4

      2/2

      12 Mar 2019, 10:08

      • Login

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