#include <QuickQanava>: file not found 😄
-
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 anINCLUDEPATH
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.
-
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.