Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Building Qt from git

Building Qt from git

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 3 Posters 1.4k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    JulsPower
    wrote on last edited by A Former User
    #1

    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?

    J JKSHJ 2 Replies Last reply
    0
    • J JulsPower

      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?

      J Offline
      J Offline
      JulsPower
      wrote on last edited by
      #2

      PS. Windows 10

      1 Reply Last reply
      0
      • BuckwheatB Offline
        BuckwheatB Offline
        Buckwheat
        wrote on last edited by
        #3

        @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 :)

        Dave Fileccia

        1 Reply Last reply
        1
        • J JulsPower

          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?

          JKSHJ Offline
          JKSHJ Offline
          JKSH
          Moderators
          wrote on last edited by
          #4

          @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.

          Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

          1 Reply Last reply
          1

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved