[Interest] Qt target dir

Kai Koehne Kai.Koehne at qt.io
Thu Dec 14 11:25:34 CET 2017



> -----Original Message-----
> From: Interest [mailto:interest-bounces+kai.koehne=qt.io at qt-project.org] On
> Behalf Of Robert Bielik
> Sent: Thursday, December 14, 2017 11:01 AM
> To: interest at qt-project.org
> Subject: [Interest] Qt target dir
> 
> Hi,
> 
> I'm trying to make an installer for a 64 bit app on 64 bit Windows, and acc. to
> this post:
> 
> http://lists.qt-project.org/pipermail/interest/2013-January/005679.html
> 
> I should get "ProgramFiles" env variable. But this does not work, since the Qt
> installer is 32 bit, it will return "Program Files (x86)" on a 64 bit system, which
> of course is wrong.
>
> Ideas ?


Try to use 
  installer.value("ApplicationsDirX64")  

instead.

See also the code in http://code.qt.io/cgit/installer-framework/installer-framework.git/tree/src/libs/installer/packagemanagercoredata.cpp .

Kai
 



More information about the Interest mailing list