[Qt-creator] A suggestions.

Daniel Teske daniel.teske at nokia.com
Wed Jan 21 17:21:02 CET 2009


> When i move qt project to another machine,
> it silently opens a project on other machine
> and can not compile because of
> another build environment and project path.
> I have to manually delete py_proj.user
> file and reopen py_proj.pro..
Well I'm not 100% sure about all the information that is stored in the .user 
files, but ideally the paths in there should be relative to the .pro file. 
It's just that no one did encounter this problem before. 

> DESTDIR = bin
> OBJECTS_DIR = build
> MOC_DIR = build
> UI_DIR = build
>
> in a newly create project skeleton  (and a bin and build dirs of couse),
> because after build - a project root dir is pretty bloated.
You can set a build directory in Qt Creator, which if the .pro file is written 
sanely creates everything in the build directory. (That also allows you to 
have different build configurations.)

daniel



More information about the Qt-creator-old mailing list