LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-30-2003, 08:21 AM   #1
paulten
LQ Newbie
 
Registered: Jan 2003
Location: Norway
Distribution: Debian unstable, Redhat 8.0 7.2
Posts: 26

Rep: Reputation: 15
Exclamation Kdevelop 2.15, QT error


Hello, I have a problem with my kdevelop.

I'm running Debian unstable with 3.1rc6 and kdevelop 2.15.

When I make a new prosject I get this QT error :

autoheader2.50: `config.h.in' is created
configure: error: Qt (>= Qt 3.1 (20021021)) (library qt-mt) not found. Please check your installation!
For more details about this problem, look at the end of config.log.
Make sure that you have compiled Qt with thread support!

This is from the config.log :


configure:21427: checking for Qt
configure: 21494: /usr/include/qt//include/qstyle.h
configure: 21494: /usr/include/qt//qstyle.h
taking that
tried NO
tried /usr/include/qt//lib
tried /usr/include/qt/
tried /usr/lib/qt3/lib
tried /usr/lib/qt3
tried /usr/lib/qt/lib
tried /usr/lib/qt
tried /usr/X11R6/lib
configure:21604: rm -rf SunWS_cache; g++ -o conftest -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -O2 -O0 -g3 -Wall -fno-exceptions -fno-check-new -I/usr/include/qt/ -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -L/usr/lib -L/usr/X11R6/lib conftest.cc -lqt-mt -lpng -lz -lm -ljpeg -ldl -lXext -lX11 -lSM -lICE -lresolv -lpthread 1>&5
/tmp/ccjhZ9GI.o(.text+0x14): In function `main':
/home/paul/programmering/fist/conftest.cc:12: undefined reference to `QString::null'
/tmp/ccjhZ9GI.o(.text+0x19):/home/paul/programmering/fist/conftest.cc:12: undefined reference to `QStyleFactory::create(QString const&)'
/tmp/ccjhZ9GI.o(.text+0x2a):/home/paul/programmering/fist/conftest.cc:13: undefined reference to `QCursor::QCursor[in-charge](int)'
/tmp/ccjhZ9GI.o(.text+0x39):/home/paul/programmering/fist/conftest.cc:14: undefined reference to `QCursor::~QCursor [in-charge]()'
collect2: ld returned 1 exit status
configure:21607: $? = 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 >= 0x030100)
#error 1
#endif

int main() {
(void)QStyleFactory::create(QString::null);
QCursor c(Qt::WhatsThisCursor);
return 0;
}
configure:21647: error: Qt (>= Qt 3.1 (20021021)) (library qt-mt) not found. Please check your installation!
For more details about this problem, look at the end of config.log.
Make sure that you have compiled Qt with thread support!

#####
I have libqt3 -dev -mt -emb -emb-mt -mt-dev installed.
It looks like it's something wrong with my gcc also, I'm not sure, I saw this in the config.log :

configure:2588: checking whether gcc accepts -g
configure:2612: gcc -c -g conftest.c >&5
configure:2615: $? = 0
configure:2618: test -s conftest.o
configure:2621: $? = 0
configure:2631: result: yes
configure:2658: gcc -c -O0 -g3 -Wall conftest.c >&5
conftest.c:2: parse error before "me"
configure:2661: $? = 1
configure: failed program was:
#ifndef __cplusplus
choke me


Please help.
Thanks
Paul
 
Old 03-10-2003, 02:09 PM   #2
raven
Member
 
Registered: Dec 2001
Location: Basel, Switzerland
Distribution: ubuntu
Posts: 297

Rep: Reputation: 31
how did you configure libqt? did you include the -thread option? it is not enabled by defalut.

raven
 
Old 03-10-2003, 04:54 PM   #3
paulten
LQ Newbie
 
Registered: Jan 2003
Location: Norway
Distribution: Debian unstable, Redhat 8.0 7.2
Posts: 26

Original Poster
Rep: Reputation: 15
Fixed it

Hey.
The problem was probably in the KDE version. I'm running kde3.1 official and I have no problems.
Thanks for the reply.

Paul
 
  


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
Kdevelop Makefile Error Chryzmo Programming 4 08-22-2010 04:19 PM
Error With KDevelop John_Emad Programming 11 04-14-2005 07:00 PM
Error building kdevelop danielg Linux - Software 1 11-22-2004 08:37 PM
kdevelop error on MDK 10 jemp Linux - Software 1 06-19-2004 10:11 AM
kdevelop: not jumping to error location when clicking on error. sudheernair Linux - Software 0 05-13-2004 08:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:20 PM.

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
Open Source Consulting | Domain Registration