Quote Originally Posted by Dante View Post
So you mean it compiles just the files that are part of a project not a single source file?
Creator is not trying to be smarter than its user, how should it know how to compile a standalone file? What if you gave it an SQL file, what should it do with it? What platform should it try to compile it for and using what compiler?

and could you tell me how to set the compiler ?
If you start a qmake project, qmake will create a proper Makefile for you. Just start a new project and the wizard will guide you.
and what is the error below:
Linker couldn't find some library it wanted to link your application against. Hard to say what the problem was, you'd have to paste the first error message, not the last one.