Review your favorite Linux distribution.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 03-03-2003, 01:58 PM   #1
LQ Addict
Registered: Jul 2002
Location: Montreal
Distribution: Gentoo 2004 from stage 1 baby!
Posts: 1,403

Rep: Reputation: 45
Variables in bash

I'm not sure if I picked the right forum for this question, if not, moderators forgive me and feel free to move it

I'm starting to program again at home and I was learning QT this weekend when I ran into a problem.

The makefile I'm supposed to use uses the following variables $QTDIR and $ when I try:

echo $QTDIR

I get a blank.

Basically I can't compile because I'm not finding a lot of the .h files (like qapplication.h etc..). Doing a locate found them in /usr/lib/qt3 (I'm still looking for the KDE ones) but I don't know how set that value to $QTDIR.

I was wondering if someone could point me in the right direction?
Old 03-03-2003, 02:07 PM   #2
Registered: Feb 2003
Location: Birmingham, UK
Distribution: Redhat 8.0, Immunix 7.0 a few others
Posts: 222

Rep: Reputation: 30
add the following to your /etc/profile :


export QTDIR


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
(bash) how to list all variables? Duudson Programming 11 03-24-2005 12:35 PM
sed with bash variables MurrayL Linux - Software 2 03-21-2005 08:13 AM
bash variables pfaendtner Linux - Newbie 4 11-23-2004 01:00 PM
variables in bash haddad Linux - General 6 09-22-2004 05:29 PM
Bash variables pk21 Programming 2 01-09-2003 03:31 PM > Forums > Non-*NIX Forums > Programming

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

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