Learn what Felgo offers to help your business succeed. Start your free evaluation today! Felgo for Your Business

Forums

OverviewFelgo 2 Support (Qt 5) › Bug when Importing QtLocation

Tagged: ,

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #22210

    Ali
    #22214

    Alex
    Felgo Team

    Hi,

    the QtLocation module also has a type named Icon, thus you get a namespace conflict here. I assume you put the QtLocation import at the end, thus the Icon from QtLocation is used now, which does not have the properties displayed as error. You have 2 options:

    • Put the Felgo import as last import, to give priority to Felgo conponents in case of a namespace conflict
    • Use an import like “import QtLocation 5.5 as QtLoc” and then use any components from the module with QtLoc.MapCircle

    Cheers,
    Alex

    #22215

    Ali

    Thanks! Problem solved

    “””

    • Put the Felgo import as last import, to give priority to Felgo components in case of a namespace conflict
    • Use an import like “import QtLocation 5.5 as QtLoc” and then use any components from the module with QtLoc.MapCircle

    “””

Viewing 3 posts - 1 through 3 (of 3 total)

RSS feed for this thread

You must be logged in to reply to this topic.

Qt_Technology_Partner_RGB_475 Qt_Service_Partner_RGB_475_padded