LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-25-2005, 04:25 PM   #1
n_ransome
LQ Newbie
 
Registered: Feb 2005
Location: Copenhagen, Denmark
Distribution: Mandriva 2006
Posts: 5

Rep: Reputation: 0
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)
 
Old 04-25-2005, 05:42 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,568

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


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems compiling kopete under MDK10 Boudewijn Linux - Software 3 09-02-2004 07:02 PM
compiling goom on mdk10 PsychosisNode Linux - Software 1 08-31-2004 04:40 AM
What the difference between MDK10 Official and MDK10??? unixfreak Mandriva 1 08-18-2004 03:35 PM
compiling gkrellm for mdk10? webazoid Linux - Software 2 07-25-2004 08:50 PM
MDK10 official error with OpenGL lvxiang Mandriva 2 04-25-2004 04:55 AM


All times are GMT -5. The time now is 06:40 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration