My thought on the matter is to use the OTHER_FILES variable (I think
it's OTHER_FILES, at least), which Creator uses to add non-compiled
files to the project and qmake ignores. Then you keep your .pro file
unchanged and add ALL of the platform directories to OTHER_FILES so
that they're visible in the editor regardless of the value of
$${platform}./s/ Adam On Thu, May 6, 2010 at 9:02 AM, Gustavo Federico Bett <[email protected]> wrote: > Hi All, > I'm working on a project that builds on three platforms, and to handle the > platform specific code we have .pro files with something like this: > # Header files > HEADERS += ./inc/*.h > include = ./inc/$${platform}/*.h > exists($$include) { > HEADERS += $$include > } > So we have a folder for each platform and a the "platform" variable is > defined with the folder name for each platform. That make adding new files, > and moving them around very easy, but... I just tried the new QtCreator 2.0 > beta, and it seems that the new qtcreator is unable to handle the wildcards > on the .pro files (with QtCreator 1.3.1 it works like a charm). It doesn't > show any file on the projects. Any idea on how can I solve this?? (without > having to rewrite all the .pro files ... ) > > Thanks in advance > Regards > -- > Gustavo Federico Bett > > _______________________________________________ > Qt-creator mailing list > [email protected] > http://lists.trolltech.com/mailman/listinfo/qt-creator > > _______________________________________________ Qt-creator mailing list [email protected] http://lists.trolltech.com/mailman/listinfo/qt-creator
