Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. 3rd Party Software
  4. #include <QuickQanava>: file not found 😄
QtWS25 Last Chance

#include <QuickQanava>: file not found 😄

Scheduled Pinned Locked Moved Solved 3rd Party Software
2 Posts 1 Posters 385 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.
  • enjoysmathE Offline
    enjoysmathE Offline
    enjoysmath
    wrote on last edited by
    #1

    Hello,

    I've followed the qmake setup instructions here:

    http://cneben.github.io/QuickQanava/graph.html

    I've built QuickQanava successfully and it is a git submodule of my (almost) empty QtQuick application.

    Doing

    #include <QuickQanava>
    
    

    in main.cpp, and the header file is not found. I've tried adding an INCLUDEPATH line to my project's .pro file, and that just makes this line fail:

    include($$PWD/QuickQanava/src/quickqanava.pri)

    So, how can I get around this by forcing it to add that includ path (the .../src/ folder)?

    The samples run, so maybe I could just copy / paste one sample and work from within the QuickQanava folder but that is obviously not advisable.

    https://github.com/enjoysmath
    https://math.stackexchange.com/users/26327/exercisingmathematician

    1 Reply Last reply
    0
    • enjoysmathE Offline
      enjoysmathE Offline
      enjoysmath
      wrote on last edited by
      #2

      Fix this by copy / pasting a sample project into QuickQanava root after forking QuickQanava on GitHub. Rename the .pro, .pro.user and the folder. In the .pro file, put in the new path to the apparent .pri file.

      It builds and runs now.

      https://github.com/enjoysmath
      https://math.stackexchange.com/users/26327/exercisingmathematician

      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