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
Forum Updated to NodeBB v4.3 + New Features

Building Qt from git

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 3 Posters 1.4k Views 1 Watching
  • 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 20 Dec 2016, 11:58 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 J 2 Replies Last reply 20 Dec 2016, 12:02
    0
    • J JulsPower
      20 Dec 2016, 11:58

      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 20 Dec 2016, 12:02 last edited by
      #2

      PS. Windows 10

      1 Reply Last reply
      0
      • B Offline
        B Offline
        Buckwheat
        wrote on 20 Dec 2016, 12:48 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
          20 Dec 2016, 11:58

          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
          JKSH
          Moderators
          wrote on 23 Dec 2016, 03:01 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

          2/4

          20 Dec 2016, 12:02

          • Login

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