Re: Qt Creator "Run configuration" issue with LibreCAD.
Posted by ClaudeQC on Dec 15, 2011; 8:02pm
URL: https://forum.librecad.org/Qt-Creator-Run-configuration-issue-with-LibreCAD-tp5076357p5078553.html
On 15/12/2011 13:13, Rallaz [via LibreCAD] wrote:
>
> The ttf2lff is an utility for convert ttf to lff fonts, and is only
> build in linux because it require freetype.
>
Thank you for the information.
>
> About "Run configuration:" issue:
>
> the ttf2lff.pro is not included in subdir target for windows, but for
> some reason is parsed and added in QtCreator ignoring the "not win32"
> condition.
>
> I have done some testing (removing librecad.pro.user):
> - I added "ttf2lff" before "src" -> ttf2lff is selected
> - I added "ttf2lff" after "src" -> ttf2lff is selected
> -I removed CONFIG += ordered and made the two previous test -> ttf2lff
> is selected
> -I I have set all the content of ttf2lff.pro in "not win32" condition ->
> ttf2lff is selected & fail to build
> -I made other test I do not remember -> ttf2lff is selected
>
> My conclusion:
> In qtcreator if the target is subdir all pro files are parsed then
> sorted alphabetically and set in "Run configuration:" the last (in
> alphabetical order) project file with target=app.
>
> My sulution (really a hack):
> I renamed (and push) "ttf2lff" dir & pro file as "attf2lff" and as
> default "src" configuration is selected.
>
- Humm... Really interesting.
- I think this is the kind of situation that explain why so
much people do prefer manage projects manually.
Managing project through an IDE can really be a nightmare
in some situation.
- Will take a look, if it is possible to built LibreCAD from
Cygwin command line...
Regards,
Claude