Pseudo code:
parts = path.split(os.path.sep)
dirname = parts[parts.length-1]
if float(dirname) > 4.0:
   recursive_search(path, 'qmake', /*match function: */ function (path) { 
addQtVersion(path)}  )

> Sent: Thursday, February 02, 2017 at 12:08 PM
> From: "Jason H" <jh...@gmx.com>
> To: qt-creator <qt-creator@qt-project.org>
> Subject: [Qt-creator] Adding a Qt version should be easier
>
> Given that I have a structure of: 
> Qt5.7.1
> + 5.7
> + - ios
> + - android_armv7
> + - clang_64
> 
> I'm wishing it would be possible to add 5.7.1 and all three platforms in one 
> operation.
> 
> _______________________________________________
> Qt-creator mailing list
> Qt-creator@qt-project.org
> http://lists.qt-project.org/mailman/listinfo/qt-creator
> 
_______________________________________________
Qt-creator mailing list
Qt-creator@qt-project.org
http://lists.qt-project.org/mailman/listinfo/qt-creator

Reply via email to