[Qt-creator] confused about QtCreators behaviour

Konstantin Tokarev annulen at yandex.ru
Fri Jun 1 13:50:57 CEST 2012



01.06.2012, 15:43, "Geronimo Ma. Hernandez" <geronimo013 at gmx.com>:
> Hello,
>
> after that very long discussion about buildsystems, I wanted to try out a
> qmake-project.
>
> So I used QtCreator with "new project" / QtApplication / Qt Gui Application
> and replaced all files created by the files from a Qt-demo from my system (qt
> 4.6.3).
> Project sources tree view looks very nice - exactly the way I like it.
>
> After hitting the build icon, lots of errors came up.
> I expected all running fine, since I did not change anything yet.
>
> I looked at the filesystem and there was no Makefile or the like.
> So I started qmake from the commandline followed by a make.
> Everything worked fine and I got an executable, that runs as expected.

Have you set up Qt version for the project? ("Projects" tab)

>
> Could it be, that QtCreator does not use the build-system from my linuxbox,
> but uses its own?

If it is installed as a part of Qt SDK it can use qmake from Qt version shipped
with SDK (if it happens to be configured as active).

> And could it furthermore be true, that QtCreator, or the build system it uses,
> uses the libraries provided by QtCreator, instead of the libraries from my
> linuxbox?

>
> I think, that behaviour is not desired. At least I don't like it.
> I don't mind, if QtCreator uses its own Qt-Libraries for running, but it
> should not use them building my projects. I'd like to build projects, that run
> on my system with the libraries from my system.
>
> kind regards
>
> Gero
> _______________________________________________
> Qt-creator mailing list
> Qt-creator at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/qt-creator

-- 
Regards,
Konstantin



More information about the Qt-creator mailing list