[Interest] CurrentProject:QT_INSTALL_BINS missing

Kai Köhne Kai.Koehne at qt.io
Tue Jan 12 16:42:28 CET 2021


> 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