LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   qt error when compiling mtaskbar in mdk10.2 (https://www.linuxquestions.org/questions/linux-newbie-8/qt-error-when-compiling-mtaskbar-in-mdk10-2-a-317049/)

n_ransome 04-25-2005 03:25 PM

qt error when compiling mtaskbar in mdk10.2
 
When trying to compile mtaskbar i get the following error, and I don't know what to do about it.

configure:27307: checking for Qt
configure: 27372: /usr/lib/qt3//include/qstyle.h
configure: 27372: /usr/lib/qt3//qstyle.h
configure: 27372: /usr/lib/qt3/include/qstyle.h
configure: 27372: /usr/lib/qt3/qstyle.h
configure: 27372: /usr/lib/qt/include/qstyle.h
configure: 27372: /usr/lib/qt/qstyle.h
configure: 27372: /usr/share/qt3/include/qstyle.h
configure: 27372: /usr/share/qt3/qstyle.h
configure: 27372: /usr/local/qt/include/qstyle.h
configure: 27372: /usr/include/qt/qstyle.h
configure: 27372: /usr/include/qstyle.h
configure: 27372: /usr/X11R6/include/X11/qt/qstyle.h
configure: 27372: /usr/X11R6/include/qt/qstyle.h
configure: 27372: /usr/X11R6/include/qt2/qstyle.h
configure: 27372: /usr/include/qt3/qstyle.h
configure: 27372: /usr/X11R6/include/qstyle.h
tried NO
configure:27490: rm -rf SunWS_cache; g++ -o conftest -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -INO -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -L/usr/lib/qt3//lib -L/usr/X11R6/lib conftest.cc -lqt-mt -ldl -lXext -lX11 -lSM -lICE -lpthread 1>&5
conftest.cc:2:21: qglobal.h: No such file or directory
conftest.cc:3:26: qapplication.h: No such file or directory
conftest.cc:4:21: qcursor.h: No such file or directory
conftest.cc:5:27: qstylefactory.h: No such file or directory
conftest.cc:6:34: private/qucomextra_p.h: No such file or directory
conftest.cc:7:8: warning: "QT_VERSION" is not defined
conftest.cc:8:2: #error 1
conftest.cc: In function `int main()':
conftest.cc:12: error: `QStyleFactory' has not been declared
conftest.cc:12: error: `QString' has not been declared
conftest.cc:12: error: `null' undeclared (first use this function)
conftest.cc:12: error: (Each undeclared identifier is reported only once for each function it appears in.)
conftest.cc:12: error: `create' undeclared (first use this function)
conftest.cc:13: error: `QCursor' undeclared (first use this function)
conftest.cc:13: error: expected `;' before "c"
configure:27493: $? = 1
configure: failed program was:
#include "confdefs.h"
#include <qglobal.h>
#include <qapplication.h>
#include <qcursor.h>
#include <qstylefactory.h>
#include <private/qucomextra_p.h>
#if ! (QT_VERSION >= 300)
#error 1
#endif

int main() {
(void)QStyleFactory::create(QString::null);
QCursor c(Qt::WhatsThisCursor);
return 0;
}
configure:27533: error: Qt (>= Qt 3.0) (headers and libraries) not found. Please check your installation!
For more details about this problem, look at the end of config.log.

I have searched for the file qtstyle.h, but I can't find it anywhere on my computer, as it seems that it must be missing it.
I have tried to reinstall qt, but I can't as 258MB worth of programs depend on it.
Do I need some devel packages, which are unknown to me?

I'm running Mandrake 10.2/Mandriva 2005

Thank you - and please redirect me to an appropriate thread, if such exists (googling this problem has not helped me)

Mara 04-25-2005 04:42 PM

You're probably missing qt3-devel package. Install it (it's on your installation cds).


All times are GMT -5. The time now is 05:13 AM.