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. Best approach in sequense of tasks for QML app?
Qt 6.11 is out! See what's new in the release blog

Best approach in sequense of tasks for QML app?

Scheduled Pinned Locked Moved QML and Qt Quick
3 Posts 2 Posters 2.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.
  • C Offline
    C Offline
    cmer4
    wrote on last edited by
    #1

    I wanted to ask for an advice on how to make it so that certain processes in the application where executed step by step.

    For example:

    • while SplashScreen is displayed I want geolocation code to check for users location (takes several seconds)
    • as soon as the coordinates available - to forward them to reversegeocode service for obtaining the location city
    • continue to load the application content based on city location.

    Right now problem is - the code seems to be firing off alltogether at once...
    would be good to hear best practicies re the above, maybe ready examples?

    TY in advance

    1 Reply Last reply
    0
    • lorn.potterL Offline
      lorn.potterL Offline
      lorn.potter
      wrote on last edited by
      #2

      Have you tried looking into using states?

      Freelance Software Engineer, Platform Maintainer QtWebAssembly, Maintainer QtSensors
      Author, Hands-On Mobile and Embedded Development with Qt 5 http://bit.ly/HandsOnMobileEmbedded

      1 Reply Last reply
      0
      • C Offline
        C Offline
        cmer4
        wrote on last edited by
        #3

        Hmm. frankly speaking was not considering the states. I used them for "screens" but a good point...

        I will try a few approaches with states actually - thanks for the tip

        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