Probably a very silly question but...
I'm on a Leopard OS X Mac.

When I type "sqlite3 test1.db" at the command line it creates test.db in my home directory.
When I open db "test2.db" from within a QT application, it creates test.db in the application build folder.

How do I access test2.db from the command line?
How do I open test1.db from within my QT application?

Cheers
Jeff