LinuxQuestions.org
Help answer threads with 0 replies.
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-17-2002, 04:48 AM   #1
Zion
LQ Newbie
 
Registered: Jul 2002
Posts: 23

Rep: Reputation: 15
Qt3 in linux


Howdy...

Have a windows 2000 pro and mandrake 8.2 dualboot on my pc..
I became disgusted about the whole windows mentality microsoft pushes to develop and thought of using windows only for games.

Ah...i had to install ALL the Rpm's by hand via a console because the graphical rpm manager always crashed...now i've got Qt3 installed and tried out the program in the docs.....

Qt3 got installed into usr/lib/qt3/...how can my emacs or Kate or some other text editor now that the heaers are there??
i tried something like this:
#include </usr/lib/qt3//include/qapplication.h>

but it just couldn't find headers that the mentioned header requires,when i tried to compile the program.
I store my project files in my home/username directory...
Can you help me solve this problem please??


ow and how can i configure my geforce 2 ultra and sound cards??
have downloaded the the two drivers from nvidia already....but just can't find any program in which to change into geforce 2 ultra.
 
Old 07-17-2002, 09:19 AM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
To compile programs with new qt, you can use
./configure --with-qt=/usr/lib/qt3
(or the correct path for your qt). Then make & make install as usual.

Nvidia drivers detect which card you're using. Just make sure the driver's running (Nvidia logo when starting X).
 
Old 07-17-2002, 09:11 PM   #3
Zion
LQ Newbie
 
Registered: Jul 2002
Posts: 23

Original Poster
Rep: Reputation: 15
hi

Mara..
what is that ./configure thing you did and no nvidia doesn't show up..how can i enable it??

Last edited by Zion; 07-17-2002 at 10:32 PM.
 
Old 07-18-2002, 04:58 AM   #4
Zion
LQ Newbie
 
Registered: Jul 2002
Posts: 23

Original Poster
Rep: Reputation: 15
Mara

i installed it via rpm's and not tars so it automatically installed
into /usr/lib/qt3...have tried to set the PS1 for the bash prompt but only works when i do it in the prompt...i don't know where else i have to look to then these :bashrc , .basrc , .bash_profile ,
profile.....

nvidia doesn't work...qt doesn't work and now PS1 fails me too help someone....
 
Old 07-18-2002, 05:21 AM   #5
da Perp
Member
 
Registered: Oct 2001
Location: the Netherlands
Distribution: Bear Linux (LFS 3.3)
Posts: 171

Rep: Reputation: 30
look far any kind of .bashrc or .bash_profile in your home dir.
if you cant find one, make a new .bash_profile in your home dir.
add the following to it:

QTPATH=/usr/lib/qt3

export QTPATH

the PS1 variable variable sets the prompt i.e. tells bash what it´s supposed to look like, so I dont see how the PS1 varibale pertains to your problem.

if you created a new .bash_profile then run:

source /your/home/dir/.bash_profile

to install your nvidia drivers simply go to the directory you unpacked them to and run:

make install

or make

not sure which one.

the add to /etc/modules.conf:

alias char-major-195 NVdriver

edit your XF86Config file and replace ´nv´with ´nvidia´ in the display section. also add ´glx´to the modules section.
 
Old 07-18-2002, 05:30 AM   #6
Zion
LQ Newbie
 
Registered: Jul 2002
Posts: 23

Original Poster
Rep: Reputation: 15
i'll try

i'll try it out thanks...i just wanted to play around in linux( am ver new to it)...so i wondered that if PS1 stuff doesn't get saved,
why would Qt variables work....thats all...
and i do have those .bash files yay
 
Old 07-18-2002, 06:11 AM   #7
da Perp
Member
 
Registered: Oct 2001
Location: the Netherlands
Distribution: Bear Linux (LFS 3.3)
Posts: 171

Rep: Reputation: 30
for the PS1 thing try adding this to your .bash file:

PS1="\u @ \w # "

export PS1

you can also add more items to your export line so you dont have to have a seperate export for eac varieable, i.e.:

export PS1 QTPATH

also dont forget to run the source command on the bash file you add these things to, this will make that ash file your default bash file.

after completing these steps, run :

exec /bin/bash --login

to test your new bash file.

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

Original Poster
Rep: Reputation: 15
da perp

Hi...got it figured out...had to change /etc/bashrc
i'm gonna give qt3 and nvidia + sounds a shot ...thank you
all

Last edited by Zion; 07-18-2002 at 10:18 PM.
 
Old 07-19-2002, 12:00 AM   #9
Zion
LQ Newbie
 
Registered: Jul 2002
Posts: 23

Original Poster
Rep: Reputation: 15
da perp

i've searched through my the XF86Config section,but there isn't a section called display,but subsection display,there is a section called screen where it says
driver:svga among other things....there is no modules section there either....then ichecked the XF86Config-4 file there is a modules section and i added this line:
Load "glx"..assuming that is what you meant.

there still is no real display section,the closest i found was like this :

# **********************************************************************
# Graphics device section
# **********************************************************************

Section "Device"
Identifier "Generic VGA"
Driver "vga"
EndSection

Section "Device"
Identifier "NVIDIA GeForce2 DDR(Generic)"
VendorName "Unknown"
BoardName "Unknown"
Driver "nv"
# VideoRam 65536
# Clock lines

so i changed nv into nvidia and the Identifier into Geforce2 Ultra .

retarted linux and there was an error,something with nvidia...so i used vim to reedit that file and now i'm here again writing tou you.....a bit strange isn't it???
 
Old 07-19-2002, 12:58 AM   #10
Zion
LQ Newbie
 
Registered: Jul 2002
Posts: 23

Original Poster
Rep: Reputation: 15
yes

after some tweaking around....it works..i can play tuxreacer and cromium now thanks
 
Old 07-19-2002, 05:03 AM   #11
da Perp
Member
 
Registered: Oct 2001
Location: the Netherlands
Distribution: Bear Linux (LFS 3.3)
Posts: 171

Rep: Reputation: 30
Glad you got it working. sorry im just now replying, but I can only internet at work...

PEACE OUT

btw I made a mistake in my previous post where i showed you how
to set your PS1, i used the wrong type of slash. I edited it...

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

Original Poster
Rep: Reputation: 15
No preoblem

It's all cool da perp...without your posts,i wouldn't even have gotten this far...thanks PEACE
 
  


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 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.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
Help Qt3 Zion Linux - General 15 07-22-2002 06:27 AM

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

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