[Qt-jambi-interest] Should I merge the build branch into the master branch?

Francis Galiegue fgaliegue at gmail.com
Wed Dec 16 01:29:49 CET 2009


On Mon, Dec 14, 2009 at 10:40 PM, Helge Fredriksen <hf at poseidon.no> wrote:
>
>> I'm not surprised :p I tried and compiled this weekend, on git's
>> 4.6-stable branch.
>
> Just had a test run on Windows XP with MSVC 2005, and I got this error
> message:
>
>       [make] qtjambishell_QWidget.cpp
>      [make] qtjambishell_QWidgetAction.cpp
>      [make] qtjambishell_QWidgetItem.cpp
>      [make] qtjambishell_QWindowStateChangeEvent.cpp
>      [make] qtjambishell_QWindowsStyle.cpp
>      [make] Generating Code...
>      [make] Compiling...
>      [make] qtjambishell_QWizard.cpp
>      [make] qtjambishell_QWizardPage.cpp
>      [make] qtjambishell_QWorkspace.cpp
>      [make] Generating Code...
>      [make] NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual
> Studio 8\VC\BIN\cl.EXE"' : return code '0x2'
>      [make] Stop.
>      [make] NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual
> Studio 8\VC\BIN\nmake.exe"' : return code '0x
> 2'
>      [make] Stop.
>      [make] NMAKE : fatal error U1077: 'cd' : return code '0x2'
>      [make] Stop.
>
> BUILD FAILED
> C:\Qt\community-port-to-4_6\build.xml:294: Running: nmake  failed with exit
> code: 2
>

Does this happen with the master branch as well?

>
> Btw: Will your new build.xml structure sense changes to the typesystem files
> and regenerate/recompile the affected files?
> I had some experiences that the setup in the master branch do not...
>

Indeed. I have tried several times to devise a system that would not
rebuild the typesystem files unnecessarily (and I have even succeeded
at it) but eventually, I have found out that the cost of generating
the files each time versus the time to understand how the computation
of the "no need" flag works was in favor of the former option, at
least for maintainability. Maybe someone comes with a more elegant
solution, but I fear this implies modifying the generator itself.

>>
>> What do you say if I write some sort of a git guide on the qtjambi
>> wiki? Guides exist on the internet, that's for sure, but the
>> information remains rather scattered and not gathered. Not that I
>> pretend to do any better, but still, I can gather some useful usage
>> patterns :p
>
> That would be nice. I still don't have any sucess in getting a new home
> sweet home for this project, and until then
> we will have to do with the gitorious pages.
>

I will, and will post the URL on the list when I'm done with the first
version. git is a great VCS but it is often underused, and the
documentation is the culprit. While my guide will be qt-jambi
oriented, I'll try and make it as general as possible.

-- 
Francis Galiegue, fgaliegue at gmail.com
"It seems obvious [...] that at least some 'business intelligence'
tools invest so much intelligence on the business side that they have
nothing left for generating SQL queries" (Stéphane Faroult, in "The
Art of SQL", ISBN 0-596-00894-5)




More information about the Qt-jambi-interest mailing list