LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-19-2002, 01:48 AM   #1
Zion
LQ Newbie
 
Registered: Jul 2002
Posts: 23

Rep: Reputation: 15
Help Qt3


am sorry for opening another thread but i desperatley need Qt 3 to work...i have set up the eviron var correctly
but it still won't do....when i compile a cpp file which
needs headers form /usr/lib/qt3 which in turn needs other files,the compiler throws out something like this:

In file included from /usr/lib/qt3/include/qobjectdefs.h:42,
from /usr/lib/qt3/include/qwindowdefs.h:43,
from /usr/lib/qt3/include/qwidget.h:42,
from /usr/lib/qt3/include/qdesktopwidget.h:42,
from /usr/lib/qt3/include/qapplication.h:42,
from HelloB.cpp:2:
/usr/lib/qt3/include/qglobal.h:567:21: qconfig.h: No such file or directory
In file included from /usr/lib/qt3/include/qobjectdefs.h:42,
from /usr/lib/qt3/include/qwindowdefs.h:43,
from /usr/lib/qt3/include/qwidget.h:42,
from /usr/lib/qt3/include/qdesktopwidget.h:42,
from /usr/lib/qt3/include/qapplication.h:42,
from HelloB.cpp:2:
/usr/lib/qt3/include/qglobal.h:621:23: qfeatures.h: No such file or directory
In file included from /usr/lib/qt3/include/qapplication.h:51,
from HelloB.cpp:2:
/usr/lib/qt3/include/quuid.h:42:21: qstring.h: No such file or directory
make: *** [HelloB.o] Error 1

what is wrong??how can i fix this please??
 
Old 07-19-2002, 05:14 AM   #2
da Perp
Member
 
Registered: Oct 2001
Location: the Netherlands
Distribution: Bear Linux (LFS 3.3)
Posts: 171

Rep: Reputation: 30
the first thing you need to do is locate the header files.

run:

updatedb

this will take as while, just wait till its done.
when completed, run

locate filesqtinstalliscomplainingabout.h

i.e. locate qwidget.h

maybe after this yucan figure things out yourself, if not, let us know what you find.

PEACE

ps. if you find everything in the location itīs suppoesed to be in,
try running:

make clean

in the source dir of qt and try reinstalling then.

Last edited by da Perp; 07-19-2002 at 05:16 AM.
 
Old 07-19-2002, 09:51 PM   #3
Zion
LQ Newbie
 
Registered: Jul 2002
Posts: 23

Original Poster
Rep: Reputation: 15
Yeah..Peace

Thanks again da perp....where did you read about all this??
Have you ever played the tuxracer??it is reall cute
 
Old 07-20-2002, 04:39 AM   #4
Zion
LQ Newbie
 
Registered: Jul 2002
Posts: 23

Original Poster
Rep: Reputation: 15
oh...damn hahahahaha

hihihih!!!

Got other things to worry now...just messed up my linux..
although i have to say a very strang problem again...i uninstalled qt2 with the software manager so i only had one version of that thing.....guess what....the whole thing just started to flicker and boom my screen was gone!! it started to reboot....then you saw me sitting there with a question mark on my face and never being able to get into linux again,because it decided to use runlevel 9....i thought there is no such thing,but hey that's what it said there...AHHHHHH!!!! Am gonna reinstall the whole damn thing again...i'll post when i have it running again

Peace out !!!
 
Old 07-20-2002, 03:53 PM   #5
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
If you have a boot disk, you don't have to reinstall...
 
Old 07-21-2002, 01:42 AM   #6
Zion
LQ Newbie
 
Registered: Jul 2002
Posts: 23

Original Poster
Rep: Reputation: 15
nopeee

ofcourse i've tried to boot up with the bootdisk,but it won't work
either....ha....i've got it almost reinstalled agin
 
Old 07-21-2002, 06:21 AM   #7
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
To change runlevel edit /etc/inittab , find line
id:9:initdefault:
change 9 to 3 (console mulitiuser) or 5 (X) , save and reboot...
 
Old 07-21-2002, 10:30 PM   #8
Zion
LQ Newbie
 
Registered: Jul 2002
Posts: 23

Original Poster
Rep: Reputation: 15
Mara...

Mara..I thought of that too,but it didn't even get that far where i could log in...the las line simply said
entering runlevel 9 or something and stayed there for ages....but never mind....i've reinstalled the whole thing already and KDE3 is installed now too
 
Old 07-22-2002, 12:22 AM   #9
Zion
LQ Newbie
 
Registered: Jul 2002
Posts: 23

Original Poster
Rep: Reputation: 15
Ok...

I've just installed the rpm's for qt3 and qt3-devel.
Have set up all the eviron varaibles and echoed them in the console and verified them.Then i just copied the helloworld example from the docs and compiled it...i got the exact same thing as in the first post of mine...
I don't have any makefiles in my /usr/lib/qt3 dir
maybe because i've downloaded the rpm and not the tar
(very likely ofcourse)..I've made searches just like da perp said...but everything is cool...have tried to make clean in /usr/lib/src but there wasn't anything like that....so the only thing which comes to mind right now
is to download the tar file and install it after the install.txt file....if you have any suggestions or anything please don't even hesitate to post...it's all been dawdling for too long already.....thanks PEACE PLEASE

 
Old 07-22-2002, 02:49 AM   #10
da Perp
Member
 
Registered: Oct 2001
Location: the Netherlands
Distribution: Bear Linux (LFS 3.3)
Posts: 171

Rep: Reputation: 30
where did i read this? itīs all pure experience, and a bit of help from peeps(people) on this site. also i did LFS, and thereīs a hint for lfs that pertains to installing qt3. maybe you could look there for help. those hints dont only work on LFS....

PEACE OUT

btw Yeah i playede tuxracer in the beginning of my linux days,it is īcuteī indeed. I really like chromium though.

pps. the qt3 hint is in the kde3 hint.

Last edited by da Perp; 07-22-2002 at 02:56 AM.
 
Old 07-22-2002, 03:31 AM   #11
Zion
LQ Newbie
 
Registered: Jul 2002
Posts: 23

Original Poster
Rep: Reputation: 15
yaaa

yeah...chromium is cool and rad where as tuxracer is cute
where did you get to in chromium??
It's quite stupid that you're not allowed to let a single enemy by without losing a WHOLE life...cheesh...but one does get hooked up for while

PEACE
 
Old 07-22-2002, 03:31 AM   #12
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
Look if the files there are problems with exist in your installation... (in /usr/lib/qt3/include). If not, make a search and find out if they are installed on your disk at all...
 
Old 07-22-2002, 03:38 AM   #13
Zion
LQ Newbie
 
Registered: Jul 2002
Posts: 23

Original Poster
Rep: Reputation: 15
Mara......

Mara...i'm curently make 'ing' the files i've downloaded
as tars (qt3)....i'll give you an answer soon...and
yes..i have checked every single file it said it didn't
find and found them myself...well i just hope the tar version of the same thing is PERFECT...till then
 
Old 07-22-2002, 03:38 AM   #14
da Perp
Member
 
Registered: Oct 2001
Location: the Netherlands
Distribution: Bear Linux (LFS 3.3)
Posts: 171

Rep: Reputation: 30
i got to the 2nd boss. you gain a life if you let a shield powerup pass by.
 
Old 07-22-2002, 03:57 AM   #15
Zion
LQ Newbie
 
Registered: Jul 2002
Posts: 23

Original Poster
Rep: Reputation: 15
Nice

Good Job...how many levels are there anyways
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Qt3 SpEcIeS SUSE / openSUSE 3 04-22-2005 06:28 PM
Qt3 - QSyntaxHighlight BluePyre Programming 1 05-17-2004 10:17 AM
Qt3.3 vs Qt 3.2 irfanhab Programming 0 05-11-2004 02:28 AM
qt3 samon Linux - General 3 01-28-2004 05:00 PM
About qt3... LI-6Y LUCY Programming 3 08-28-2003 09:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:59 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