Results 1 to 3 of 3

Thread: Git failed when attempting to retrieving qt5 source code for compiling under Windows

  1. #1

    Default Git failed when attempting to retrieving qt5 source code for compiling under Windows

    I am trying to build qt5 on windows. I am following the instructions from http://qt-project.org/wiki/Building_Qt_5_from_Git . However, I am not even able retrieve the soure code successfully. The inital command “git clone git://gitorious.org/qt/qt5.git qt5” completed successfully. But the next command “perl init-repository” failed with the following error information:

    + git submodule init 0 [main] us 0 init_cheap: VirtualAlloc pointer is null, Win32 error 487
    AllocationBase 0×0, BaseAddress 0×68560000, RegionSize 0×170000, State 0×10000
    c:\program files (x86)\git\bin\sh.exe: *** Couldn’t reserve space for cygwin’s h
    eap, Win32 error 0
    git submodule init exited with status 256 at init-repository line 268. Qt::InitRepository::exe(‘Qt::InitRepository= HASH’, ‘git’, ‘sub
    module’, ‘init’) called at init-repository line 373 Qt::InitRepository::git_submodule_init(‘Qt:: InitRepository=HASH’) called at init-repository line 569 Qt::InitRepository::run(‘Qt::InitRepository= HASH’) called at i
    nit-repository line 590

    I am using msysgit (Git for Windows) 1.8.1.2, Active Perl 5.16.3 and Python 3.3.0.

  2. #2
    Join Date
    Mar 2013
    Posts
    1
    Qt products
    Qt5
    Platforms
    MacOS X Unix/X11 Windows Android

    Default Re: Git failed when attempting to retrieving qt5 source code for compiling under Wind

    Did you try this?
    But I'm using same git version on windows 7 & 8 without having any issue.

  3. #3

    Default Re: Git failed when attempting to retrieving qt5 source code for compiling under Wind

    Somehow after rebooting my PC, the problem is gone.

    Now I am stuck at the configuration phase. I am using the following command

    >configure -developer-build -opensource -confirm-license -nomake examples -nomake tests -mp

    I see the following error messages at the end:

    Generating Visual Studio project files...
    Project WARNING: You should probably load(qt_build_config) first in bootstrap.pr
    o for QtBootstrap, as the latter also load()s qt_module.
    Project MESSAGE: Not doing so may lead to qt_module.prf overriding compiler/link
    er options in your .pro file.
    Project MESSAGE: Ignore this warning with CONFIG+=no_qt_module_warning if you kn
    ow what you are doing.
    Project ERROR: Project has no top-level .qmake.conf file.
    Qmake failed, return code 3

    Generating Makefiles...
    *** qtbase/configure exited with non-zero status.

    Quote Originally Posted by dasun View Post
    Did you try this?
    But I'm using same git version on windows 7 & 8 without having any issue.

Similar Threads

  1. Replies: 11
    Last Post: 26th June 2012, 11:51
  2. code generator failed
    By nickson1277 in forum Newbie
    Replies: 1
    Last Post: 13th March 2012, 22:48
  3. Replies: 0
    Last Post: 25th July 2011, 15:47
  4. Retrieving windows Drive labels
    By Baasie in forum Qt Programming
    Replies: 2
    Last Post: 24th August 2009, 09:05
  5. Compiling Qtopia-Example failed
    By danielkr in forum Qt for Embedded and Mobile
    Replies: 2
    Last Post: 10th October 2006, 23:42

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.