Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

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



  • 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????????


  • Lifetime Qt Champion

    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.