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. error: invalid use of incomplete type 'struct QDeclaritiveContext'
QtWS25 Last Chance

error: invalid use of incomplete type 'struct QDeclaritiveContext'

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

    the error is comming at following line:

    view.rootContext->setContextProperty(....)

    can any one help me???

    1 Reply Last reply
    0
    • V Offline
      V Offline
      vineetQt
      wrote on last edited by
      #2

      And you have included #include <QDeclarativeContext>?

      1 Reply Last reply
      1
      • R Offline
        R Offline
        rockstar
        wrote on last edited by
        #3

        ohh...thank you vineet....I forgot to include it...the error has been resolved....

        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