Building Qt from git



  • Hi guys
    Ive been following this doc: https://wiki.qt.io/Building_Qt_5_from_Git
    I do this commands:
    git clone git://code.qt.io/qt/qt5.git
    cd qt5
    perl init-repository --module-subset=default,-qtwebkit,-qtwebkit-examples,-qtwebengine
    configure -developer-build -opensource -nomake examples -nomake tests -opengl desktop -debug-and-release
    mingw32-make

    then mingw give me an error (since all warning are error) about a if statement (which can be easily repaired)
    after I get error about virtual function

    F:\qt5>mingw32-make -v
    GNU Make 4.1
    Built for i686-w64-mingw32
    Copyright (C) 1988-2014 Free Software Foundation, Inc.
    License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
    This is free software: you are free to change and redistribute it.
    There is NO WARRANTY, to the extent permitted by law.

    anyone knows what im doing wrong?



  • PS. Windows 10



  • @JulsPower ... "-v" and DOS command prompt.

    Try using MSYS or MSYS2 (best bet since 64bit) to build with MinGW. It will work better.

    The "-v" is printing out version information for make.

    Also, I thought there were issues building webkit in 64bit that is NOT V$. I would check about that.

    If you are not worried about bleeding edge Qt then use MSYS2 and use the package manager to install Qt 5.6.2 for 64bit. Then you can have fun playing with Qt instead of pulling your hair out trying to build it :)


  • Moderators

    @JulsPower said in Building Qt from git:

    perl init-repository --module-subset=default,-qtwebkit,-qtwebkit-examples,-qtwebengine

    You don't need both WebKit and WebEngine at the same time.

    Can you describe which features of Qt you want to use?

    F:\qt5>mingw32-make -v
    GNU Make 4.1
    Built for i686-w64-mingw32
    Copyright (C) 1988-2014 Free Software Foundation, Inc.
    License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
    This is free software: you are free to change and redistribute it.
    There is NO WARRANTY, to the extent permitted by law.

    Note: If you want to use Qt WebEngine, you must use Visual Studio, not MinGW. Qt WebEngine is a wrapper for the Chromium engine, which only supports Visual Studio.

    anyone knows what im doing wrong?

    You haven't provided enough information. Please post the actual error message.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.