[Qt-creator] importing a QtBase build into Creator?

Eike Ziller Eike.Ziller at qt.io
Mon Oct 15 12:15:06 CEST 2018



> On 15. Oct 2018, at 11:59, René J.V. Bertin <rjvbertin at gmail.com> wrote:
> 
> On Monday October 15 2018 08:51:44 Eike Ziller wrote:
> 
>> Also make sure that you have the same number of path components to both
>> your source and to your build.
> 
> That's because include paths in auto-generated files are relative, right? I've already run into that when using symlinks in the path on Linux, where chdir doesn't (always) canonicalise the resulting path and a single directory location on disk can thus have any number of working paths.

Also some functionality of qmake itself fails to handle that correctly (I always forget what that was exactly).

>> There shouldn’t be any adverse effects just by pressing the configure button. If you don’t like the result, simply remove the qtbase.pro.user and start again.
> 
> You mean it won't run qmake with (most likely) different options? Qtbase is configured via `configure` which does call qmake, but it isn't evident at all to figure out what those options are after the fact. If QMake is not being run when pressing the configure button than that should indeed be safe.

AFAIK the qmake parser in Qt Creator goes to some length to not actually write any files to the build directory itself, but instead uses an internal virtual file system.

-- 
Eike Ziller
Principal Software Engineer

The Qt Company GmbH
Rudower Chaussee 13
D-12489 Berlin
eike.ziller at qt.io
http://qt.io
Geschäftsführer: Mika Pälsi,
Juha Varelius, Mika Harjuaho
Sitz der Gesellschaft: Berlin, Registergericht: Amtsgericht Charlottenburg, HRB 144331 B



More information about the Qt-creator mailing list