----- Original Message -----
From: "Gary Gapinski" <gapinski(a)nasa.gov>
To: scap-workbench(a)lists.fedorahosted.org
Sent: Sunday, January 11, 2015 4:22:03 PM
Subject: Compilation error on Ubuntu 14.04 x86_64
I grabbed the latest from Github and ran across the following error after the
cmake. Unsure why, as the "missing" file is a sibling of the one including
it.
gapinski@eins:~/Projects/scap-workbench/build$ git status
On branch master
Your branch is up-to-date with 'origin/master'.
nothing to commit, working directory clean
gapinski@eins:~/Projects/scap-workbench/build$ make
[ 1%] Built target docs
[ 2%] Building CXX object CMakeFiles/scap-workbench.dir/src/APIHelpers.cpp.o
In file included from /usr/include/qt4/QtCore/QString:1:0,
from
/home/gapinski/Projects/scap-workbench/include/APIHelpers.h:27,
from
/home/gapinski/Projects/scap-workbench/src/APIHelpers.cpp:22:
/usr/include/qt4/QtCore/qstring.h:45:26: fatal error: QtCore/qchar.h: No such
file or directory
#include <QtCore/qchar.h>
^
compilation terminated.
make[2]: *** [CMakeFiles/scap-workbench.dir/src/APIHelpers.cpp.o] Error 1
make[1]: *** [CMakeFiles/scap-workbench.dir/all] Error 2
make: *** [all] Error 2
gapinski@eins:~/Projects/scap-workbench/build$
This is my first exposure to Qt, so I'm unsure how to debug.
Thanks a lot for this bug report. I have fixed the issue, see
https://fedorahosted.org/scap-workbench/ticket/275
Just doing a `git pull` and rerunning cmake should fix it.
Keep in mind that the master branch is under heavy development. There are cool
new features but also cool and interesting issues with the code :-) I recommend
using v1-0 branch if you want something for production use.
--
Martin Preisler