[Development] Creating an offline installer
Andreas Holzammer
andreas.holzammer at kdab.com
Wed Aug 7 10:29:52 CEST 2013
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
Thank you Iikka,
just wanted to add that there where there before, but the default of
the scripts pointed to the tar.gz for every platform and the tar.gz is
not patched.
Andy
Am 07.08.2013 10:26, schrieb Iikka Eklund:
> Hi,
>
> On 07/17/2013 10:07 AM, Yves Bailly wrote:
>> Hello Andreas,
>>
>> Le 17/07/2013 08:54, Andreas Holzammer a écrit :
>>> -----BEGIN PGP SIGNED MESSAGE----- this is broken at the
>>> moment. It was changed from Qt 4.8.0 which had a bug in
>>> language support to Qt 4.8.4 But then it was also changed from
>>> 7z to tar gz, which is not very well supported in Windows.
>>> Also another slide glitch went in with this change. the Qt
>>> 4.8.0 was patched to link against the static c++ runtime. But
>>> yeah apparently thats not the case anymore with the Qt 4.8.4
>>> package.
>
> "patched" 4.8.4 source packages exist here:
>
> http://download.qt-project.org/development_releases/prebuilt/qt-src-for-ifw/qt_4.8.4_ifw_prepared.zip
>
> The 4.8.4 src package is patched the same way as the previously
> used 4.8.0 src package for installer-framework.
>
> - iikka
>
>
>
>> Please deflate
>>> the archive to \release-tools\qt-src and patch accordingly to
>>
>> ...stripping the top-level directory... ;-)
>>
>>> http://qt.gitorious.org/installer-framework/installer-framework/blobs/master/INSTALL
>>
>>
>>>
Something is strange in this file. It says:
>> "- add 'embed_manifest_dll embed_manifest_exe' to CONFIG line"
>>
>> ...but looking at the "diff" given below, I see:
>>
>> -CONFIG += qt warn_on release incremental flat
>> link_prl precompile_header autogen_precompile_source
>> copy_dir_files debug_and_release debug_and_release_target
>> embed_manifest_dll embed_manifest_exe
>>
>> +CONFIG += qt warn_on release incremental flat
>> link_prl precompile_header autogen_precompile_source
>> copy_dir_files debug_and_release debug_and_release_target
>>
>>
>> ...where it seems the options "embed_manifest_dll
>> embed_manifest_exe" have been *removed*, not added. Trusting the
>> diff I'm removing them, after all manifests are useless in a
>> static build.
>>
>>> Then you can call the script with --incremental and he should
>>> just go forward.
>>
>> Nope... now it complains it can't find qmake:
>> ----------------------------------------- INCREMENTAL_MODE
>> D:\qt\release-tools\ifw-bld
>> --------------------------------------------------------------------
>>
>>
Building Installer Framework
>> *** Unable to find qmake, aborting! qmake:
>> D:\qt\release-tools\qt-bld\bin\qmake.exe
>>
>> I'll try to build manually and copy files where needed.
>>
>>> Hope this helps
>>
>> It does :-) Thanks for your help.
>>
>>
>>
>>>
>>> Am 17.07.2013 08:27, schrieb Yves Bailly:
>>>> Le 16/07/2013 15:21, Sergio Ahumada a écrit :
>>>>> On 07/16/2013 03:06 PM, Yves Bailly wrote:
>>>>>> Le 16/07/2013 10:50, Sergio Ahumada a écrit :
>>>>>>> On 07/16/2013 09:39 AM, Yves Bailly wrote:
>>>>>>>> [...] INSTALLER_FRAMEWORK_PRODUCT_KEY_CHECKER_BRANCH
>>>>>>>> TypeError: __init__() takes exactly 10 arguments (9
>>>>>>>> given)
>>>>>>>
>>>>>>> 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.
>>>>>>
>>>>>> Thanks for your input... now I'm experiencing troubles
>>>>>> when it tries to "git clone" the installer framework,
>>>>>> firewall problem...
>>>>>
>>>>> There is an attempt to create a python script to handle all
>>>>> the needed steps at
>>>>> https://codereview.qt-project.org/54538
>>>>>
>>>>> You could also try
>>>>> http://qt-project.org/wiki/Building-Qt-Package
>>>>>
>>>>> Both are pretty much work in progress though.
>>>>
>>>> Hello, it's me again trying to create an offline
>>>> installer...
>>>>
>>>> Now I'm having trouble with tar: Executing: [tar -xzf
>>>> D:\qt\release-tools\qt_4.8.4_ifw_prepared.tar.gz] Execution
>>>> path: [...]
>>
>
>
- --
Join us in October at Qt Developer Days 2013! - https://devdays.kdab.com
Andreas Holzammer | andreas.holzammer at kdab.com | Software Engineer
KDAB (Deutschland) GmbH&Co KG, a KDAB Group company
Tel. Germany +49-30-521325470, Sweden (HQ) +46-563-540090
KDAB - Qt Experts - Platform-independent software solutions
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (MingW32)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iQIcBAEBAgAGBQJSAgWAAAoJEPj+uOw7/REiCUQP/iBuTsTE8osxvFQQM0wZaI/N
V6XchxiK+uxelOrNJCO8vc0SCdG8JhCB7KXI75T3zCTCBEJYdi1B7nVGRIP2/lYM
QG5qdC7Yta+0/NMddoJW3WU8SaKX8pIZChA5v1rexOrBH5UKCeUDTRo/OhtyU3kc
wB+pPWTjlekwlG+nChhiYk2K2AgJ0v0YnadEAaRFNi6wwuRcRzekvJktf2B32aZU
5hUL0Z+0W5Zms7rb/2xhJN8Xy2Q/0YPPC8zWuYLMgdxvyJnGFUCX3YTynbvDwFQB
PXY3OmFR9/eWi65gHVlgomJHP1ql+PRW8seTs3wFOVoCrjejkeP38HS4EVfN58O+
HOqCIHIpvEOs2nIFK/t3e+VUJn4R+8mUPRE8ALK/vArw8P9+p4R4B6zbYhMCLq8f
fep6Yia0gM+A1gP2O7ZSzYnurJRywMAcbLiADzBXGVQ4rykDAoATPZ7HKh1EOvBg
jL4nL5iUrOcNlemzQR2M1r45JWcQw2iM17hghZ3zeTsm1xT64sCn53owtCenzSCp
UQ7TdSJWQYyAreL4Iekv5vaFBK5puTe2qROwQ+nMBhd3WfnA+nrnexcEEFetVtLY
ziW3xJxBZvXor5oY/jn27ji39SsdD6zzfTpWcgx0He0PnZbrN//Heav79twn3Elc
VkAfpkszNV1hdZYjIUCL
=IVUh
-----END PGP SIGNATURE-----
More information about the Development
mailing list