Qt Location send signal when a defined line is crossed

  • Hi

    I am trying to make a QML based Race track Lap timer via GPS.
    I want to let the user define a line from coordinate A to coordinate B ( the start / finish line ) ,and send a signal when the line is crossed . Unfortunately i can't find a way of doing this .
    I made a quick illustration . The red line would be the defined by the user bewteen coordinate A and B . the Blue Dot is the Cars location .

    Could someone point me in the right direction ?

  • Lifetime Qt Champion


    I haven't used it yet but QGeoAreaMonitorSource might be what you are looking for.

    Hope it helps

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.