normandc wrote:Have you installed the qt-webkit-devel package?
oldbrad wrote:/home/brad/work/freecad/src/3rdParty/Pivy/soqt_wrap.cpp:3136:47: fatal error: Inventor/Qt/devices/SoQtSpaceball.h: No such file or directory
There is, indeed, no such file in my installation? I can't figure out which package is missing. I have no spaceball so can I just disable the feature?
oldbrad wrote:It looks as though spaceball support has been removed from coin!
normandc wrote:Spaceball support is brought through spacenav libraries, not coin.
normandc wrote:To be honest what you've done so far is way over my head.
oldbrad wrote:Inspection of config.log reveals that we are looking for the moc binary in /usr/share/qt4 not /usr/lib/gt , I tried --with-qt4-bin=/usr/lib/qt4/bin but that does not work!
Next I do:
# ln -s /usr/lib/qt4 /usr/share/qt4
Now the configure line /usr/share/qt4/bin/moc myqt.h -o moc_myqt.cpp succeeds, but I have in config.log:
In file included from moc_myqt.cpp:9:0:
myqt.h:1:19: fatal error: QObject: No such file or directory
and in moc_myqt.cpp
#error "The header file 'myqt.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 63
#error "This file was generated using the moc from 4.8.2. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
Clearly I have a Qt version conflict! Do I need to install Qt3 as well as Qt4? I really don't want to do that!!
How do I fix myqt.h which contains #include <QObject>, which is present in /usr/include/QtCore/QObject and contains the single line #include "qobject.h". I have two copies of qobject.h and diff says they are the same. I tried changing myqt.h but it is being re-generated by some obscure mechanism?
!! I hate C with its tangle of #includes !!
This seems to work: ./configure --with-qt4-include=/usr/include
Users browsing this forum: No registered users and 1 guest