I am compiling QtiPlot on my openSUSE 11.3 x64 box with kernel 2.6.36 and KDE 4.5.4. I have resolved all of the dependencies except qAssistantClient, which was apparently removed from Qt 4.7. I thought that I had found the fix when I found libQtAssistantClient4 in OBS. I installed that package via 1-step and re-initated the build process after entering “make clean” My compile error remains the same, although the process did progress further. The error message is:
=====
ApplicationWindow.cpp:(.text+0x2eec1): undefined reference to QAssistantClient::QAssistantClient(QString const&, QObject*, char const*)' ApplicationWindow.cpp:(.text+0x2eee7): undefined reference to
QAssistantClient::setArguments(QStringList const&)’
…/tmp/qtiplot/ApplicationWindow.o: In function ApplicationWindow::showHelp()': ApplicationWindow.cpp:(.text+0x99336): undefined reference to
QAssistantClient::setArguments(QStringList const&)’
…/tmp/qtiplot/ApplicationWindow.o: In function ApplicationWindow::init(bool)': ApplicationWindow.cpp:(.text+0xb42ae): undefined reference to
QAssistantClient::QAssistantClient(QString const&, QObject*, char const*)’
collect2: ld returned 1 exit status
When I look into ApplicationWindow.cpp, I find three references to QAssistantClient:
- #include <QAssistantClient>
- assistant = new QAssistantClient( QString(), this );
- QAssistantClient *assist = new QAssistantClient( QString(), 0);
I am not a Qt expert, but it looks like the code assumes that there is a QAssistantClient.h header file somewhere in /usr/src. The QAssistantClient package in OBS does not provide such a file.
How do I find the .h file and whatever other file is necessary in order to successfully emulate QAssistantClient?