[Development] Creating an offline installer

Sergio Ahumada sergio.ahumada at digia.com
Tue Jul 16 10:50:14 CEST 2013


On 07/16/2013 09:39 AM, Yves Bailly wrote:
>
> Greetings all,
>
> I'm trying to create an installer so that others can use pre-build binaries
> for Qt 5.1, compiled using MSVC 2012 32bits OpenGL - as there are no "official"
> installer available from the website.
>
> For this purpose I'm trying to use the tools from
> https://qt.gitorious.org/qtsdk/qtsdk/trees/master/release-tools, carefully
> following the informations in the README file.
>
> However when running the command:
> python create_installer.py -f win_x86_32_msvc2012_opengl_offline --offline --devmode
> ...I'm stuck with an error I can't get around:
> ==================================================
> = Install Installer Framework tools
> ==================================================
> Traceback (most recent call last):
>     File "create_installer.py", line 1181, in <module>
>       main()
>     File "create_installer.py", line 150, in main
>       create_installer()
>     File "create_installer.py", line 1159, in create_installer
>       install_ifw_tools()
>     File "create_installer.py", line 915, in install_ifw_tools
>       INSTALLER_FRAMEWORK_PRODUCT_KEY_CHECKER_BRANCH
> TypeError: __init__() takes exactly 10 arguments (9 given)
>
> Any hint about what might cause this error?
>
> Thanks in advance,
>

Hi,

You could try this patch https://codereview.qt-project.org/61092

Also, I'd say the README file is pretty out-of-date, so if you find 
errors you could maybe provide some fixes in Gerrit.

Cheers,
-- 
Sergio Ahumada
Release Engineer - Digia, Qt



More information about the Development mailing list