[Interest] CurrentProject:QT_INSTALL_BINS missing
Jérôme Godbout
godboutj at amotus.ca
Tue Jan 12 21:12:46 CET 2021
Thganks it does work, I never realized that icon was giving variables, good to known. I wonder if that lupdate and lrelease should be part of Qt tools instead of each desktop version, mobile lack it, so all my mobile project I have to configure a desktop config just to run the lupdate and lrelease and toggle between project config. It's a bit ackward to use.
Thanks, this did it.
-----Original Message-----
From: Kai Köhne <Kai.Koehne at qt.io>
Sent: January 12, 2021 10:42 AM
To: Jérôme Godbout <godboutj at amotus.ca>; interest at qt-project.org
Subject: RE: CurrentProject:QT_INSTALL_BINS missing
> From: Interest <interest-bounces at qt-project.org> On Behalf Of Jérôme
> Godbout
> Sent: Tuesday, January 12, 2021 3:48 PM
> To: interest at qt-project.org
> Subject: [Interest] CurrentProject:QT_INSTALL_BINS missing
>
> HI,
> I was using some project setting .pri to run the lupdate based on
> current Project Qt install bin using the following for my external tools lupdate:
> %{CurrentProject:QT_INSTALL_BINS}\lupdate.exe
>
> But now into recent QtCreator, it give me the following error:
>
> Could not find executable for
> "%{CurrentProject:QT_INSTALL_BINS}/lupdate.exe" (expanded "%
> {CurrentProject:QT_INSTALL_BINS}/lupdate.exe")
> Could not find executable for "lupdate" (expanded "lupdate")
>
> Is there a new way to do this? (better that does work with Android and iOS config too?). I'm using the 4.14.0 QtCreator and Qt 5.15.2.
Per commit b55825a42000ee81e37c8e25bcd0784d26d6dc18 most "CurrentProject:" variables got removed/deprecated.
Use "ActiveProject:QT_INSTALL_BINS" instead.
(Qt Creator btw shows you the available arguments also directly in the UI, click the 'A_B' icon right in the input field)
Regards
Kai
More information about the Interest
mailing list