[Interest] passing something into subdirs qmake

David M. Cotter dave at kjams.com
Thu Jun 6 17:48:30 CEST 2019


I use configurations. there are three “editions” of my app, Lite, Pro (for version 1), and then  just  “version 2”…
then i have debug and release versions of each



each subsequent edition has more features than the last

does this help?

> On Jun 5, 2019, at 1:32 AM, Vyacheslav Lanovets <sol at lanovets.ru> wrote:
> 
> Hello,
> 
> I want to invent some convenient way to switch between two variations
> of the same app. Current approach is to have 2 pro files with subdirs
> inside.
> The selected config is passed into subdirs like this:
> 
> product_var="MYAPP1=true"
> write_file(".qmake.conf", product_var)
> 
> This is not reliable and confuses Qt Creator. Is there any other way
> to pass something from pro files into subdirs dependencies?
> 
> Regards,
> Vyacheslav
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> https://lists.qt-project.org/listinfo/interest

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20190606/cbad8f70/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screen Shot 2019-06-06 at 8.47.12 AM.png
Type: image/png
Size: 108177 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20190606/cbad8f70/attachment-0001.png>


More information about the Interest mailing list