Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. How to bind Qml with .H and .CPP?
Forum Update on Monday, May 27th 2025

How to bind Qml with .H and .CPP?

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
qml bindingqml
2 Posts 2 Posters 876 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.
  • M Offline
    M Offline
    Mathan M
    wrote on 3 Aug 2016, 13:19 last edited by
    #1

    Dear All,

    I am creating an mobile app using qt5.7/ESRI ArcGIS Runtime SDK for qt 100.0.0.
    Objective of the project: Display the maps in the mobile devices

    Project Flow:
    Login.qml [Authentication successful] -> MapList.Qml[List the product] -> DisplayMap.Qml [Display the Map]

    As a requirement, I had created an Login.qml and authentication done in .qml itself.
    Now I have to list the map, I created 3 files [MapList.qml/MapList.h/MapList.cpp] But, I don't know how to link the MapList.h and MapList.cpp with MapList.qml, Since I have to write the Events/BusinessLogic in MapList.cpp.
    [similar to .net]

    Am I doing the right approach? If it so, How should MapList.qml must be wired with MapList.h/MapList.cpp ?

    R 1 Reply Last reply 3 Aug 2016, 13:31
    0
    • M Mathan M
      3 Aug 2016, 13:19

      Dear All,

      I am creating an mobile app using qt5.7/ESRI ArcGIS Runtime SDK for qt 100.0.0.
      Objective of the project: Display the maps in the mobile devices

      Project Flow:
      Login.qml [Authentication successful] -> MapList.Qml[List the product] -> DisplayMap.Qml [Display the Map]

      As a requirement, I had created an Login.qml and authentication done in .qml itself.
      Now I have to list the map, I created 3 files [MapList.qml/MapList.h/MapList.cpp] But, I don't know how to link the MapList.h and MapList.cpp with MapList.qml, Since I have to write the Events/BusinessLogic in MapList.cpp.
      [similar to .net]

      Am I doing the right approach? If it so, How should MapList.qml must be wired with MapList.h/MapList.cpp ?

      R Offline
      R Offline
      raven-worx
      Moderators
      wrote on 3 Aug 2016, 13:31 last edited by
      #2

      @Mathan-M
      see this

      --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
      If you have a question please use the forum so others can benefit from the solution in the future

      1 Reply Last reply
      1

      2/2

      3 Aug 2016, 13:31

      • 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