LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 01-27-2006, 01:25 AM   #1
MKSrivastava
Member
 
Registered: Apr 2005
Posts: 34

Rep: Reputation: 15
Red face QTE Testing hello.cpp


Hi,

I am new to QTE qt-2.3.10 with Debian v3.1(kernel v2.6.8)and done following -
-------------------------------------------
1. cd /usr/local
2. Download qt-embedded-2.3.10-free.tar.gz
(ftp://ftp.trolltech.com/qt/source)
3. tar -zvxf qt-embedded-2.3.10-free.tar.gz
4. cd qt-2.3.10
5. Setting environment variables for Qt
QTDIR=/usr/local/qt-2.3.10
PATH=$QTDIR/bin:$PATH
MANPATH=$QTDIR/doc/man:$MANPATH
LD_LIBRARY_PATH=$QTDIR/lib:$LD_LIBRARY_PATH
export QTDIR PATH MANPATH LD_LIBRARY_PATH

6. To configure Qt library for machine type -
./configure -thread -shared

Setting 16 bpp by default for pixels-depth for
Linux Desktop.
7. make
---
I made "project" directory in "/usr/local/qt-2.3.10"
and in project directory I wrote hello.cpp and
Makefile, Makefile contents are -
-----------------
TEMPLATE=app
SOURCES = hello.cpp
Headers += qapplication.h
Headers += qlabel.h
CONFIG += qt warn_on release
CONFIG += thread
TARGET = hello
-----------------

On giving a command "qmake -o Makefile hello.pro" in
"/usr/local/qt-2.3.10/project" directory, I get
following error-
-----------------
/usr/local/qt-2.3.10/project# qmake -o Makefile
hello.cpp
bash: qmake: command not found
------------------

Any Clue?
-------
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Setup as getting debian testing files from ftp - will it stay with testing BrianHenderson Debian 2 09-02-2004 06:06 PM
debian dpkg cpp depends on cpp error darkleaf Linux - Software 2 06-25-2004 01:47 AM
cpp error ANU Linux - Software 1 12-05-2003 11:24 PM
Chapter 6, Glibc: configure fails while testing CPP Electrode Linux From Scratch 9 08-31-2003 02:38 PM
Now I have gcc/cpp/cpp, but still can't install sfingerh Linux - Software 2 07-30-2002 03:13 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 12:38 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
Open Source Consulting | Domain Registration