Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Error for include file in QtTest

Error for include file in QtTest

Scheduled Pinned Locked Moved Solved General and Desktop
4 Posts 2 Posters 352 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.
  • S Offline
    S Offline
    shravan_121
    wrote on last edited by
    #1

    I have a qt file with integrated with qml which is to be tested with QtTest but after all include file error pops up for #include<QQuickWindow> file not found

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      Do you have QT += quick in your test .pro file?

      (Z(:^

      S 1 Reply Last reply
      2
      • sierdzioS sierdzio

        Do you have QT += quick in your test .pro file?

        S Offline
        S Offline
        shravan_121
        wrote on last edited by
        #3

        yes I have included it in my .pro file

        1 Reply Last reply
        0
        • sierdzioS Offline
          sierdzioS Offline
          sierdzio
          Moderators
          wrote on last edited by
          #4

          Can you share your test file? Perhaps you are using/ not using correct main-generating macro?

          (Z(:^

          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