[Qt-creator] Some thoughts about 2.5

eike.ziller at nokia.com eike.ziller at nokia.com
Fri Jun 1 08:22:59 CEST 2012


On 31 May 2012, at 20:13, ext Geronimo Ma. Hernandez wrote:

> On Thursday 31 May 2012, Coda Highland wrote:
> 

[...]

>> This is much less error-prone because Creator then just asks the original
>> build system to handle the build, so you're guaranteed equivalent
>> compilation.
> 
> That would be extremely exciting, if that was true.
> So I just imported a small project, created by netbeans c++, which compiles 
> without errors from commandline.

What do you use to compile from the command line? (I.e. what build system does that project use?)

> I imported every file, which did not look bad.
> But the build failed.
> I did not take the time, to find out why.

If you create a Qt Creator project by "New > Import existing", then the "importing" of files only makes them known to Qt Creator for the code model (and the other navigation features that rely on knowing which files are part of a project).
When you then press build, Qt Creator again just delegates that task. For projects created through "importing" (that results in what we call "generic project") Qt Creator by default assumes that building is done by calling "make" (or nmake/jom on Windows). You can change that by going to Projects mode, Build settings for your project, and editing the build steps.

Br, Eike

-- 
Eike Ziller
Principal Software Engineer

Nokia, Qt Development Frameworks

Nokia gate5 GmbH
Firmensitz: Invalidenstr. 117, 10115 Berlin, Germany
Registergericht: Amtsgericht Charlottenburg, Berlin: HRB 106443 B
Umsatzsteueridentifikationsnummer: DE 812 845 193
Geschäftsführer: Dr. Michael Halbherr, Karim Tähtivuori




More information about the Qt-creator mailing list