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?

How to bind Qml with .H and .CPP?

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
qml bindingqml
2 Posts 2 Posters 872 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 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 ?

    raven-worxR 1 Reply Last reply
    0
    • M Mathan M

      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 ?

      raven-worxR Offline
      raven-worxR Offline
      raven-worx
      Moderators
      wrote on 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

      • Login

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