PDA

View Full Version : help building QT 4.5 Hello World in ubuntu


southwalesboy
2010-03-09, 21:09
I'm a total beginner, but ive managed to instal scratchbox and the maemo 5 SDK in ubuntu 9.10, and can get to the n900 emulator

I want to build helloworld and run it on there.

I have used QT creator to make these files

[sbox-FREMANTLE_X86: /scratchbox/users/hello1] > ls
hello1.pro helloworld.cpp helloworld.ui
hello1.pro.user helloworld.h main.cpp

The scratchbox directory is owned by root, so its hard to move files in there, but when I cd out of scratchbox none of the files and folders ive created seem to show up?

Anyway, when I cd to the hello1 folder, and qmake -project
i get

[sbox-FREMANTLE_X86: /scratchbox/users/hello1] > qmake -project
Failure to open file: /scratchbox/users/hello1//hello1.pro
Unable to generate project file.

Anyone know what idiotic thing im doing wrong?