Results 1 to 4 of 4

Thread: Building QT on Windows with use of MinGW

  1. #1
    Join Date
    Jan 2011
    Posts
    17
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Windows Symbian S60

    Default Building QT on Windows with use of MinGW

    Hi.
    I want to build qt 5.0.2 statically in order to publish my app as only one file, without any additional libraries' files.
    I use Windows 7 x64 with MinGW.
    I follow instructions from http://qt-project.org/wiki/Building-Qt-5-from-Git

    When I run
    perl init-repository --no-webkit -f

    I get an error:

    Qt Code:
    1. fatal: destination path 'qtactiveqt' already exists and is not an empty directory.
    2. git clone git://gitorious.org/qt/qtactiveqt.git qtactiveqt exited with status 32768 at init-repository li
    3. ne 302.
    4. Qt::InitRepository::exe('Qt::InitRepository=HASH(0x5c7c48)', 'git', 'clone', 'git://gitorious.org
    5. /qt/qtactiveqt.git', 'qtactiveqt') called at init-repository line 563
    6. Qt::InitRepository::git_clone_one_submodule('Qt::InitRepository=HASH(0x5c7c48)', 'qtactiveqt', 'g
    7. it://gitorious.org/qt/qtactiveqt.git') called at init-repository line 487
    8. Qt::InitRepository::git_clone_all_submodules('Qt::InitRepository=HASH(0x5c7c48)') called at init-
    9. repository line 617
    10. Qt::InitRepository::run('Qt::InitRepository=HASH(0x5c7c48)') called at init-repository line 626
    To copy to clipboard, switch view to plain text mode 

    How can I fix it?
    Last edited by karlkar; 14th July 2013 at 17:20.

  2. #2
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: Building QT on Windows with use of MinGW

    There is no '-f' option on the init-repository script call in those instructions.
    Make sure your Perl is in the path before git as outlined in the instructions.
    Consider removing the offending directory

  3. #3
    Join Date
    Jan 2011
    Posts
    17
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Windows Symbian S60

    Default Re: Building QT on Windows with use of MinGW

    -f means force - without it I have an error that repository is already init.

  4. #4
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: Building QT on Windows with use of MinGW

    Quote Originally Posted by karlkar View Post
    -f means force - without it I have an error that repository is already init.
    I would call that a clue then. Perhaps if it is already "init"-ed then you don't need a step to "init" it.
    Where did you get the source code? From Git, per the Building Qt 5 from Git instructions, or as a tar ball?

Similar Threads

  1. Building the QMYSQL plugin on Windows using MinGW - Wiki
    By graciano in forum Installation and Deployment
    Replies: 0
    Last Post: 27th February 2013, 12:44
  2. problems building the QMYSQL plugin on Windows 64 using MinGW 64
    By carpanta in forum Installation and Deployment
    Replies: 1
    Last Post: 24th April 2012, 21:13
  3. [SOLVED]building Qt using GCC 4.5.2 Mingw
    By simpler_efil in forum Newbie
    Replies: 0
    Last Post: 2nd May 2011, 14:59
  4. Thoughts on building Qt and QtCreator on Windows using MinGW
    By andy.fillebrown in forum Installation and Deployment
    Replies: 3
    Last Post: 17th November 2010, 13:25
  5. Failure when building QT on Windows with MinGW
    By sharon in forum Installation and Deployment
    Replies: 2
    Last Post: 23rd August 2007, 14:38

Tags for this Thread

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.