[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Qt compiling (newbie)

On Tue, Aug 27, 2002 at 03:55:45PM +0200, Setyo Nugroho wrote:
> Just installed woody, and experimented with Qt 3.0.3   
> I did this: 
> g++ -I$QTDIR/include -o hello hello.cpp -L$QTDIR/lib -lqt 
> and also this 
> g++ -I$QTDIR/include -o hello -lqt hello.cpp -L$QTDIR/lib 
> Compiling process went without error msgs. 'hello' file has been
> produced. But this "hello" file is not executable. The message is:
> "bash: hello: command not found". 

Sounds like you want './hello', not 'hello'.


Colin Watson                                  [cjwatson@flatline.org.uk]

Reply to: