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. why node-editor source can not detect header files QGraphicsPixmapItem?
Forum Updated to NodeBB v4.3 + New Features

why node-editor source can not detect header files QGraphicsPixmapItem?

Scheduled Pinned Locked Moved General and Desktop
headerfileerrorqgraphicsqgraphicspixmap
2 Posts 2 Posters 1.4k Views 2 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.
  • stackprogramerS Offline
    stackprogramerS Offline
    stackprogramer
    wrote on last edited by stackprogramer
    #1

    i downloaded project node-editor from link below:
    http://nukengine.com/qt-node-editor/

    when i built it it had errors !!

    F:\Users\ROOT\Desktop\work\nodeeditor\dwNodeEditor1.bak5.0_before_refact1\src\Impl\NodeItem.h:5: 
    error: QGraphicsPixmapItem: No such file or directory
     #include<QGraphicsPixmapItem>
                                
    

    why it can not detect header file????????

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      It's a Qt 4 project so you have to at least add QT += widgets in the .pro file and you may need to either remove all the modules from the includes or change the one from QtGui to QtWidget where appropriate.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      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