Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. issue with building qt from source
Forum Updated to NodeBB v4.3 + New Features

issue with building qt from source

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
13 Posts 5 Posters 1.3k Views 2 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.
  • P payam.aminian

    ok ...i explain more
    1- i download qt source from qt.io
    2- extract the source
    3- i configure the source from toplevel directory but when configure was done and everything seems ok i check the make file that generated in qt source directory in line 1153 i see that only qtbase was targeted .

    how can i solve this issue?

    JonBJ Offline
    JonBJ Offline
    JonB
    wrote on last edited by
    #4

    @payam-aminian
    OK, better! I'm afraid I don't know about this area, just trying to make it so someone else can answer. I suspect they will want to know what your configure command-line was, and what version of Qt you are trying to build?

    1 Reply Last reply
    0
    • P Offline
      P Offline
      payam.aminian
      wrote on last edited by
      #5

      i use qt 5.15.4 source and this is my configure
      /configure -release -opengl desktop -eglfs -prefix /usr/local/qt5.15 -opensource -confirm-license -skip qtwebengine -nomake tests -make libs -pkg-config -no-use-gold-linker -v -recheck

      jsulmJ 1 Reply Last reply
      0
      • Chris KawaC Offline
        Chris KawaC Offline
        Chris Kawa
        Lifetime Qt Champion
        wrote on last edited by
        #6

        How did you download the source? Via git? If so did you use the --recursive clone option? Maybe you just cloned the main repository without submodules?

        In any case you can also get the sources via online installer. It gets everything.

        1 Reply Last reply
        1
        • P payam.aminian

          i use qt 5.15.4 source and this is my configure
          /configure -release -opengl desktop -eglfs -prefix /usr/local/qt5.15 -opensource -confirm-license -skip qtwebengine -nomake tests -make libs -pkg-config -no-use-gold-linker -v -recheck

          jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote on last edited by
          #7

          @payam-aminian Do you follow https://doc.qt.io/qt-6/build-sources.html ?

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • P Offline
            P Offline
            payam.aminian
            wrote on last edited by
            #8

            i downloaded tar file https://download.qt.io/archive/qt/5.15/5.15.4/single/

            1 Reply Last reply
            0
            • P payam.aminian

              ok ...i explain more
              1- i download qt source from qt.io
              2- extract the source
              3- i configure the source from toplevel directory but when configure was done and everything seems ok i check the make file that generated in qt source directory in line 1153 i see that only qtbase was targeted .

              how can i solve this issue?

              JonBJ Offline
              JonBJ Offline
              JonB
              wrote on last edited by
              #9

              @payam-aminian said in issue with building qt from source:

              i check the make file that generated in qt source directory in line 1153 i see that only qtbase was targeted .

              Bear in mind I do not build from sources, so this is only a guess. Is qtbase the only target in the makefile? Are you supposed to specified make target-name to build something other than just qtbase? Or if you do the make does it recurse down and build more than you assume it will build?

              1 Reply Last reply
              0
              • P Offline
                P Offline
                payam.aminian
                wrote on last edited by
                #10

                this my configure
                ./configure -- -opensource -confirm-license -prefix /opt/Qt/5.15.4

                1 Reply Last reply
                0
                • P Offline
                  P Offline
                  payam.aminian
                  wrote on last edited by
                  #11

                  can any one know solution?

                  1 Reply Last reply
                  0
                  • M Offline
                    M Offline
                    mchinand
                    wrote on last edited by
                    #12

                    Starting with a completely new build directory, show us the output of the configure command and the build errors that you are getting (if any). Copy and paste the output as text, not screenshots.

                    1 Reply Last reply
                    0
                    • P Offline
                      P Offline
                      payam.aminian
                      wrote on last edited by
                      #13

                      @mchinand
                      hi i got no error during build and configure report was normal as before i do

                      Building on: linux-g++ (x86_64, CPU features: mmx sse sse2)
                      Building for: devices/linux-jetson-xavier-nx-g++ (arm64, CPU features: neon crc32)
                      Target compiler: gcc 7.5.0
                      Configuration: cross_compile compile_examples enable_new_dtags largefile neon precompile_header shared shared rpath release c++11 c++14 c++17 c++1z concurrent dbus reduce_exports stl
                      Build options:
                      Mode ................................... release
                      Optimize release build for size ........ no
                      Building shared libraries .............. yes
                      Using C standard ....................... C11
                      Using C++ standard ..................... C++17
                      Using ccache ........................... no
                      Using new DTAGS ........................ yes
                      Relocatable ............................ yes
                      Using precompiled headers .............. yes
                      Using LTCG ............................. no
                      Target compiler supports:
                      NEON ................................. yes
                      Build parts ............................ libs
                      Qt modules and options:
                      Qt Concurrent .......................... yes
                      Qt D-Bus ............................... yes
                      Qt D-Bus directly linked to libdbus .... yes
                      Qt Gui ................................. yes
                      Qt Network ............................. yes
                      Qt Sql ................................. yes
                      Qt Testlib ............................. yes
                      Qt Widgets ............................. yes
                      Qt Xml ................................. yes
                      Support enabled for:
                      Using pkg-config ....................... yes
                      udev ................................... yes
                      Using system zlib ...................... yes
                      Zstandard support ...................... yes
                      Qt Core:
                      DoubleConversion ....................... yes
                      Using system DoubleConversion ........ yes
                      GLib ................................... yes
                      iconv .................................. no
                      ICU .................................... yes
                      Built-in copy of the MIME database ..... yes
                      Tracing backend ........................ <none>
                      Logging backends:
                      journald ............................. no
                      syslog ............................... no
                      slog2 ................................ no
                      PCRE2 .................................. yes
                      Using system PCRE2 ................... no
                      Qt Network:
                      getifaddrs() ........................... yes
                      IPv6 ifname ............................ yes
                      libproxy ............................... no
                      Linux AF_NETLINK ....................... yes
                      OpenSSL ................................ yes
                      Qt directly linked to OpenSSL ........ no
                      OpenSSL 1.1 ............................ yes
                      DTLS ................................... yes
                      OCSP-stapling .......................... yes
                      SCTP ................................... no
                      Use system proxies ..................... yes
                      GSSAPI ................................. no
                      Qt Gui:
                      Accessibility .......................... yes
                      FreeType ............................... yes
                      Using system FreeType ................ yes
                      HarfBuzz ............................... yes
                      Using system HarfBuzz ................ yes
                      Fontconfig ............................. yes
                      Image formats:
                      GIF .................................. yes
                      ICO .................................. yes
                      JPEG ................................. yes
                      Using system libjpeg ............... yes
                      PNG .................................. yes
                      Using system libpng ................ yes
                      Text formats:
                      HtmlParser ........................... yes
                      CssParser ............................ yes
                      OdfWriter ............................ yes
                      MarkdownReader ....................... yes
                      Using system libmd4c ............... no
                      MarkdownWriter ....................... yes
                      EGL .................................... yes
                      OpenVG ................................. no
                      OpenGL:
                      Desktop OpenGL ....................... yes
                      OpenGL ES 2.0 ........................ no
                      OpenGL ES 3.0 ........................ no
                      OpenGL ES 3.1 ........................ no
                      OpenGL ES 3.2 ........................ no
                      Vulkan ................................. no
                      Session Management ..................... yes
                      Features used by QPA backends:
                      evdev .................................. yes
                      libinput ............................... yes
                      INTEGRITY HID .......................... no
                      mtdev .................................. yes
                      tslib .................................. yes
                      xkbcommon .............................. yes
                      X11 specific:
                      XLib ................................. yes
                      XCB Xlib ............................. yes
                      EGL on X11 ........................... yes
                      xkbcommon-x11 ........................ yes
                      QPA backends:
                      DirectFB ............................... no
                      EGLFS .................................. yes
                      EGLFS details:
                      EGLFS OpenWFD ........................ no
                      EGLFS i.Mx6 .......................... no
                      EGLFS i.Mx6 Wayland .................. no
                      EGLFS RCAR ........................... no
                      EGLFS EGLDevice ...................... yes
                      EGLFS GBM ............................ yes
                      EGLFS VSP2 ........................... no
                      EGLFS Mali ........................... no
                      EGLFS Raspberry Pi ................... no
                      EGLFS X11 ............................ yes
                      LinuxFB ................................ yes
                      VNC .................................... yes
                      XCB:
                      Using system-provided xcb-xinput ..... yes
                      Native painting (experimental) ....... no
                      GL integrations:
                      GLX Plugin ......................... yes
                      XCB GLX .......................... yes
                      EGL-X11 Plugin ..................... yes
                      Qt Sql:
                      SQL item models ........................ yes
                      Qt Widgets:
                      GTK+ ................................... yes
                      Styles ................................. Fusion Windows
                      Qt PrintSupport:
                      CUPS ................................... yes
                      Qt Sql Drivers:
                      DB2 (IBM) .............................. no
                      InterBase .............................. no
                      MySql .................................. no
                      OCI (Oracle) ........................... no
                      ODBC ................................... yes
                      PostgreSQL ............................. yes
                      SQLite2 ................................ no
                      SQLite ................................. yes
                      Using system provided SQLite ......... no
                      TDS (Sybase) ........................... yes
                      Qt Testlib:
                      Tester for item models ................. yes
                      Serial Port:
                      ntddmodm ............................... no
                      Qt SerialBus:
                      Socket CAN ............................. yes
                      Socket CAN FD .......................... yes
                      SerialPort Support ..................... yes
                      Further Image Formats:
                      JasPer ................................. no
                      MNG .................................... no
                      TIFF ................................... yes
                      Using system libtiff ................. yes
                      WEBP ................................... yes
                      Using system libwebp ................. yes
                      Qt QML:
                      QML network support .................... yes
                      QML debugging and profiling support .... yes
                      QML just-in-time compiler .............. yes
                      QML sequence object .................... yes
                      QML XML http request ................... yes
                      QML Locale ............................. yes
                      Qt QML Models:
                      QML list model ......................... yes
                      QML delegate model ..................... yes
                      Qt Quick:
                      Direct3D 12 ............................ no
                      AnimatedImage item ..................... yes
                      Canvas item ............................ yes
                      Support for Qt Quick Designer .......... yes
                      Flipable item .......................... yes
                      GridView item .......................... yes
                      ListView item .......................... yes
                      TableView item ......................... yes
                      Path support ........................... yes
                      PathView item .......................... yes
                      Positioner items ....................... yes
                      Repeater item .......................... yes
                      ShaderEffect item ...................... yes
                      Sprite item ............................ yes
                      QtQuick3D:
                      Assimp ................................. yes
                      System Assimp .......................... no
                      Qt Scxml:
                      ECMAScript data model for QtScxml ...... yes
                      Qt Gamepad:
                      SDL2 ................................... no
                      Qt 3D:
                      Assimp ................................. yes
                      System Assimp .......................... no
                      Output Qt3D GL traces .................. no
                      Use SSE2 instructions .................. no
                      Use AVX2 instructions .................. no
                      Aspects:
                      Render aspect ........................ yes
                      Input aspect ......................... yes
                      Logic aspect ......................... yes
                      Animation aspect ..................... yes
                      Extras aspect ........................ yes
                      Qt 3D Renderers:
                      OpenGL Renderer ........................ yes
                      RHI Renderer ........................... no
                      Qt 3D GeometryLoaders:
                      Autodesk FBX ........................... no
                      Qt Wayland Drivers:
                      EGL .................................... yes
                      Raspberry Pi ........................... no
                      XComposite EGL ......................... yes
                      XComposite GLX ......................... yes
                      DRM EGL ................................ yes
                      libhybris EGL .......................... no
                      Linux dma-buf server buffer integration . yes
                      Vulkan-based server buffer integration . no
                      Shm emulation server buffer integration . yes
                      Qt Wayland Client Shell Integrations:
                      xdg-shell .............................. yes
                      xdg-shell unstable v5 (deprecated) ..... yes
                      xdg-shell unstable v6 .................. yes
                      ivi-shell .............................. yes
                      wl-shell (deprecated) .................. yes
                      Qt Wayland Client ........................ yes
                      Qt Wayland Compositor .................... yes
                      Qt Wayland Compositor Layer Plugins:
                      VSP2 hardware layer integration ........ no
                      Qt Bluetooth:
                      BlueZ .................................. yes
                      BlueZ Low Energy ....................... yes
                      Linux Crypto API ....................... yes
                      Native Win32 Bluetooth ................. no
                      WinRT Bluetooth API (desktop & UWP) .... no
                      WinRT advanced bluetooth low energy API (desktop & UWP) . no
                      Qt Sensors:
                      sensorfw ............................... no
                      Qt Quick Controls 2:
                      Styles ................................. Default Fusion Imagine Material Universal
                      Qt Quick Templates 2:
                      Hover support .......................... yes
                      Multi-touch support .................... yes
                      Qt Positioning:
                      Gypsy GPS Daemon ....................... no
                      WinRT Geolocation API .................. no
                      Qt Location:
                      Qt.labs.location experimental QML plugin . yes
                      Geoservice plugins:
                      OpenStreetMap ........................ yes
                      HERE ................................. yes
                      Esri ................................. yes
                      Mapbox ............................... yes
                      MapboxGL ............................. yes
                      Itemsoverlay ......................... yes
                      QtXmlPatterns:
                      XML schema support ..................... yes
                      Qt Multimedia:
                      ALSA ................................... yes
                      GStreamer 1.0 .......................... yes
                      GStreamer 0.10 ......................... no
                      Video for Linux ........................ yes
                      OpenAL ................................. yes
                      PulseAudio ............................. yes
                      Resource Policy (libresourceqt5) ....... no
                      Windows Audio Services ................. no
                      DirectShow ............................. no
                      Windows Media Foundation ............... no
                      Qt TextToSpeech:
                      Flite .................................. no
                      Flite with ALSA ........................ no
                      Speech Dispatcher ...................... no
                      Qt Tools:
                      Qt Assistant ........................... yes
                      Qt Designer ............................ yes
                      Qt Distance Field Generator ............ yes
                      kmap2qmap .............................. yes
                      Qt Linguist ............................ yes
                      Mac Deployment Tool .................... no
                      makeqpf ................................ yes
                      pixeltool .............................. yes
                      qdbus .................................. yes
                      qev .................................... yes
                      Qt Attributions Scanner ................ yes
                      qtdiag ................................. yes
                      qtpaths ................................ yes
                      qtplugininfo ........................... yes
                      Windows deployment tool ................ no
                      WinRT Runner Tool ...................... no
                      Qt Tools:
                      QDoc ................................... yes

                      Note: Also available for Linux: linux-clang linux-icc

                      Note: PKG_CONFIG_LIBDIR automatically set to /home/xavier_nx_rootfs/usr/lib/pkgconfig:/home/xavier_nx_rootfs/usr/share/pkgconfig:/home/xavier_nx_rootfs/usr/lib/aarch64-linux-gnu/pkgconfig

                      Note: PKG_CONFIG_SYSROOT_DIR automatically set to /home/xavier_nx_rootfs

                      1 Reply Last reply
                      0

                      • Login

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