Login  Register

Re: Qt Creator "Run configuration" issue with LibreCAD.

Posted by Rallaz on Dec 15, 2011; 6:13pm
URL: https://forum.librecad.org/Qt-Creator-Run-configuration-issue-with-LibreCAD-tp5076357p5078335.html

The ttf2lff is an utility for convert ttf to lff fonts, and is only build in linux because it require freetype.

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.

Cheers,
Rallaz