Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. QT VS Tools and a header file
Forum Updated to NodeBB v4.3 + New Features

QT VS Tools and a header file

Scheduled Pinned Locked Moved Solved Qt Creator and other tools
2 Posts 1 Posters 98 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.
  • PerdrixP Offline
    PerdrixP Offline
    Perdrix
    wrote last edited by
    #1

    I added the QCustomPlot files (qcustomplot.h and .cpp) to my VS2022 project.

    VS tools doesn't appear to be running moc against qcustomplot.h and when I right-click the file the moc section of the properties isn't shown:

    27d53bae-4bc6-4de9-bdc0-89bab7165d7d-image.png

    For comparison the properties for another header are shown like:

    4d8a3fdc-beee-4167-95ec-9763036c688b-image.png

    Have I missed something obvious that I needed to do to get VS tools to recognise that it needs to run moc against this file?

    Thanks
    David

    1 Reply Last reply
    0
    • PerdrixP Offline
      PerdrixP Offline
      Perdrix
      wrote last edited by
      #2

      Bah! I did miss the obvious - just need to use the drop-down to change the item type!!!

      1 Reply Last reply
      0
      • PerdrixP Perdrix has marked this topic as solved

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved