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 Update on Monday, May 27th 2025

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
  • 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
    stackprogramer
    wrote on 9 Feb 2016, 18:16 last edited by stackprogramer 2 Sept 2016, 20:59
    #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
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 9 Feb 2016, 22:28 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

      2/2

      9 Feb 2016, 22:28

      • Login

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