I've successfully built Qtilities, however integrating it into an
existing project is giving me some trouble, in particular the
includes.
I've dropped qtilities in as an in-source dependency (using the
TEMPLATE=subdirs and my_subdir.depends = qtilities). To add the
appropriate LIBS and INCLUDEPATH, I copied Qtilities.pri into my
project dir, and edited the QTILITIES_BASE variable to point to the
Qtilities dir.
This works fine for building Qtilities in my project dir, but when it
comes time to #include Qtilities headers in my project, the file
Common/Qtilities.h never appears in the include path.
To demonstrate this issue, I've created a small test case project.
Grab it and run it with:
git clone git://github.com/Ramblurr/Qtilities-Sample.git
cd Qtilities-Sample
git submodule init && git submodule update # ( or drop the qtilities
source directory in thirdparty/ named 'qtilities')
qmake
make
The specific error is:
../thirdparty/qtilities/include/QtilitiesLogging/../../src/Logging/source/Logger.h:42:23:
fatal error: Qtilities.h: No such file or directory
Assuming we are supposed to be using the headers in
QTILITIES_BASE/includes, how should that header (Common/Qtilities.h)
get into the include path?
Cheers,
Casey
--
To post to this group, send email to qtil...@googlegroups.com
To unsubscribe from this group, send email to
qtilities+...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/qtilities?hl=en?hl=en