What is DECLARATIVE_EXAMPLE_MAIN(demos/calqlatr/calqlatr) about?
Solved
QML and Qt Quick
-
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.
-
Hi @Stan-Huang , its just a macro which is defined in shared.h, if you open shared.h you can find it.