Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Warnings - Build from source
Forum Updated to NodeBB v4.3 + New Features

Warnings - Build from source

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
2 Posts 2 Posters 607 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.
  • jiapei100J Offline
    jiapei100J Offline
    jiapei100
    wrote on last edited by jiapei100
    #1

    Hi, all:

    I obtained the following warnings while building Qt from source. My OS env:

    1. OS: Ubuntu 20.04
    2. Python: 3.8.2
      ➜ ~ python --version Python 3.8.2
    3. Qt: qt-everywhere-src-5.15.1

    The warnings I obtained:

    Note: Also available for Linux: linux-clang linux-icc
    
    Note: The following modules are not being compiled in this configuration:
        webenginecore
        webengine
        webenginewidgets
        pdf
        pdfwidgets
    
    WARNING: QDoc will not be compiled, probably because libclang could not be located. This means that you cannot build the Qt documentation.
    
    Either ensure that llvm-config is in your PATH environment variable, or set LLVM_INSTALL_DIR to the location of your llvm installation.
    On Linux systems, you may be able to install libclang by installing the libclang-dev or libclang-devel package, depending on your distribution.
    On macOS, you can use Homebrew's llvm package.
    On Windows, you must set LLVM_INSTALL_DIR to the installation path.
    
    WARNING: Python version 2 (2.7.5 or later) is required to build QtWebengine.
    
    WARNING: Python version 2 (2.7.5 or later) is required to build QtPdf.
    
    WARNING: QtWebEngine will not be built.
    
    WARNING: QtPdf will not be built.
    
    Qt is now configured for building. Just run 'make'.
    Once everything is built, you must run 'make install'.
    Qt will be installed into '/opt'.
    
    Prior to reconfiguration, make sure you remove any leftovers from
    the previous build.
    
    1. Additionally, how can I reconfigure from scratch? ./configure clean didn't work .

    Thank you very much.

    Welcome to Longer Vision
    https://www.longervision.com

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Last question first: do out of source builds, this avoids polluting the sources and if something goes wrong juste nuke the folder and start from scratch.

      As for the warnings:

      • you do not seem to have clang installed
      • Python 2 is requested not 3

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      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