Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. what is way to upgrade qt 5.5.1 to qt 5.15.2 using downloaded qt-everywhere-src-5.15.2.tar.gz ?

what is way to upgrade qt 5.5.1 to qt 5.15.2 using downloaded qt-everywhere-src-5.15.2.tar.gz ?

Scheduled Pinned Locked Moved Solved Mobile and Embedded
22 Posts 3 Posters 8.3k 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.
  • jsulmJ jsulm

    @Qt-embedded-developer It would be better to delete everything in the build folder (or even delete the build folder and create it again). But I don't know whether you're doing out of source builds.
    And yes, you need to find out what parameter to pass to configure to disable qtwebengine.

    Q Offline
    Q Offline
    Qt embedded developer
    wrote on last edited by Qt embedded developer
    #12

    @jsulm

    Sorry for asking small small information.

    1 ]why you suggest me to other than " make clean " command ?

    2] Other thing is there i don't know where exactly build directory get created ?
    my current directory where i used make command is :
    /home/mangal/WORK_SOFTRONICS/qt5.15/qt-everywhere-src-5.15.2/

    3]when i enter "configure --help" i got below error how to resolve it ?
    configure: command not found

    Shall i need to direct jump to step 5 : make docs to resolve above error

    jsulmJ 2 Replies Last reply
    0
    • Q Qt embedded developer

      @jsulm

      Sorry for asking small small information.

      1 ]why you suggest me to other than " make clean " command ?

      2] Other thing is there i don't know where exactly build directory get created ?
      my current directory where i used make command is :
      /home/mangal/WORK_SOFTRONICS/qt5.15/qt-everywhere-src-5.15.2/

      3]when i enter "configure --help" i got below error how to resolve it ?
      configure: command not found

      Shall i need to direct jump to step 5 : make docs to resolve above error

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

      @Qt-embedded-developer said in what is way to upgrade qt 5.5.1 to qt 5.15.2 using downloaded qt-everywhere-src-5.15.2.tar.gz ?:

      where exactly build directory get created ?

      Build directory id created by you.
      But it looks like you build inside source code tree which is bad.+
      Delete the source code folder, extract it again. Then create a build folder, go to this folder (in bellow example I assume that build folder is created in same folder which also contains Qt source code folder):

      mkdir build-qt
      cd build-qt
      ../qt-everywhere-src-5.15.2/configure
      

      This approach is called out of source build and should be always used as it does not pollute the source code folder with build artefacts.

      "why you suggest me to other than " make clean " command ?" - because make clean could still leave some build artefacts.

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

      Q 1 Reply Last reply
      2
      • Q Qt embedded developer

        @jsulm

        Sorry for asking small small information.

        1 ]why you suggest me to other than " make clean " command ?

        2] Other thing is there i don't know where exactly build directory get created ?
        my current directory where i used make command is :
        /home/mangal/WORK_SOFTRONICS/qt5.15/qt-everywhere-src-5.15.2/

        3]when i enter "configure --help" i got below error how to resolve it ?
        configure: command not found

        Shall i need to direct jump to step 5 : make docs to resolve above error

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

        @Qt-embedded-developer said in what is way to upgrade qt 5.5.1 to qt 5.15.2 using downloaded qt-everywhere-src-5.15.2.tar.gz ?:

        configure: command not found

        Then simply use the complete path to configure...

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

        1 Reply Last reply
        0
        • jsulmJ jsulm

          @Qt-embedded-developer said in what is way to upgrade qt 5.5.1 to qt 5.15.2 using downloaded qt-everywhere-src-5.15.2.tar.gz ?:

          where exactly build directory get created ?

          Build directory id created by you.
          But it looks like you build inside source code tree which is bad.+
          Delete the source code folder, extract it again. Then create a build folder, go to this folder (in bellow example I assume that build folder is created in same folder which also contains Qt source code folder):

          mkdir build-qt
          cd build-qt
          ../qt-everywhere-src-5.15.2/configure
          

          This approach is called out of source build and should be always used as it does not pollute the source code folder with build artefacts.

          "why you suggest me to other than " make clean " command ?" - because make clean could still leave some build artefacts.

          Q Offline
          Q Offline
          Qt embedded developer
          wrote on last edited by
          #15

          @jsulm said in what is way to upgrade qt 5.5.1 to qt 5.15.2 using downloaded qt-everywhere-src-5.15.2.tar.gz ?:

          qt-everywhere-src-5.15.2

          "build-qt" directory i need to create inside "qt-everywhere-src-5.15.2" directory or outside the directory ?

          means in below directory
          /home/mangal/WORK_SOFTRONICS/qt-everywhere-src-5.15.2/

          or inside below directory ?
          /home/mangal/WORK_SOFTRONICS/

          jsulmJ 1 Reply Last reply
          0
          • Q Qt embedded developer

            @jsulm said in what is way to upgrade qt 5.5.1 to qt 5.15.2 using downloaded qt-everywhere-src-5.15.2.tar.gz ?:

            qt-everywhere-src-5.15.2

            "build-qt" directory i need to create inside "qt-everywhere-src-5.15.2" directory or outside the directory ?

            means in below directory
            /home/mangal/WORK_SOFTRONICS/qt-everywhere-src-5.15.2/

            or inside below directory ?
            /home/mangal/WORK_SOFTRONICS/

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

            @Qt-embedded-developer said in what is way to upgrade qt 5.5.1 to qt 5.15.2 using downloaded qt-everywhere-src-5.15.2.tar.gz ?:

            "build-qt" directory i need to create inside "qt-everywhere-src-5.15.2" directory or outside the directory ?

            Outside, I described above how it should be: "in bellow example I assume that build folder is created in same folder which also contains Qt source code folder".

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

            1 Reply Last reply
            1
            • jsulmJ jsulm

              @Qt-embedded-developer It would be better to delete everything in the build folder (or even delete the build folder and create it again). But I don't know whether you're doing out of source builds.
              And yes, you need to find out what parameter to pass to configure to disable qtwebengine.

              Q Offline
              Q Offline
              Qt embedded developer
              wrote on last edited by
              #17

              @jsulm said in what is way to upgrade qt 5.5.1 to qt 5.15.2 using downloaded qt-everywhere-src-5.15.2.tar.gz ?:

              disable qtwebengine

              Actually configure --help command not working it give error configure command not found.

              As you have said i need to find out what parameter to pass to configure to disable qtwebengine ? So this information from where i can find ?

              jsulmJ Q 2 Replies Last reply
              0
              • Q Qt embedded developer

                @jsulm said in what is way to upgrade qt 5.5.1 to qt 5.15.2 using downloaded qt-everywhere-src-5.15.2.tar.gz ?:

                disable qtwebengine

                Actually configure --help command not working it give error configure command not found.

                As you have said i need to find out what parameter to pass to configure to disable qtwebengine ? So this information from where i can find ?

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

                @Qt-embedded-developer said in what is way to upgrade qt 5.5.1 to qt 5.15.2 using downloaded qt-everywhere-src-5.15.2.tar.gz ?:

                configure command not found

                I really don't get the problem!
                Configure should be inside /home/mangal/WORK_SOFTRONICS/qt-everywhere-src-5.15.2/.
                So, what stops you from using absolute path to configure to call it?

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

                Q 1 Reply Last reply
                0
                • jsulmJ jsulm

                  @Qt-embedded-developer said in what is way to upgrade qt 5.5.1 to qt 5.15.2 using downloaded qt-everywhere-src-5.15.2.tar.gz ?:

                  configure command not found

                  I really don't get the problem!
                  Configure should be inside /home/mangal/WORK_SOFTRONICS/qt-everywhere-src-5.15.2/.
                  So, what stops you from using absolute path to configure to call it?

                  Q Offline
                  Q Offline
                  Qt embedded developer
                  wrote on last edited by
                  #19

                  @jsulm sorry i got it instead absolute path i just tried "configure --help". Thank you.

                  1 Reply Last reply
                  0
                  • Q Qt embedded developer

                    @jsulm said in what is way to upgrade qt 5.5.1 to qt 5.15.2 using downloaded qt-everywhere-src-5.15.2.tar.gz ?:

                    disable qtwebengine

                    Actually configure --help command not working it give error configure command not found.

                    As you have said i need to find out what parameter to pass to configure to disable qtwebengine ? So this information from where i can find ?

                    Q Offline
                    Q Offline
                    Qt embedded developer
                    wrote on last edited by Qt embedded developer
                    #20

                    @Qt-embedded-developer

                    when i write command for disable qtwebengine i got below error:

                    root@mangal-Latitude-E5450:/home/mangal/WORK_SOFTRONICS/qt5.15/build-qt# ../qt-everywhere-src-5.15.2/configure -no-feature-webengine-alsa -no-feature-webengine-pulseaudio -no-feature-webengine-embedded-build -no-feature-webengine-icu -no-feature-webengine-ffmpeg -no-feature-webengine-opus -no-feature-webengine-webp -no-feature-webengine-pepper-plugins -no-feature-webengine-printing-and-pdf -no-feature-webengine-proprietary-codecs -no-feature-webengine-spellchecker -no-feature-webengine-native-spellchecker -no-feature-webengine-webrtc

                    • cd qtbase
                    • /home/mangal/WORK_SOFTRONICS/qt5.15/qt-everywhere-src-5.15.2/qtbase/configure -top-level -no-feature-webengine-alsa -no-feature-webengine-pulseaudio -no-feature-webengine-embedded-build -no-feature-webengine-icu -no-feature-webengine-ffmpeg -no-feature-webengine-opus -no-feature-webengine-webp -no-feature-webengine-pepper-plugins -no-feature-webengine-printing-and-pdf -no-feature-webengine-proprietary-codecs -no-feature-webengine-spellchecker -no-feature-webengine-native-spellchecker -no-feature-webengine-webrtc
                      Preparing build tree...
                      Creating qmake...
                      .Done.
                      ERROR: Enabling/Disabling unknown feature 'webengine-icu'.

                    when i used configure --help at that time i have seen that there are -webengine-icu option mentioned. below i wrote the configure --help's web engine related option

                    WebEngine options:

                    -webengine-alsa ................ Enable ALSA support [auto] (Linux only)
                    -webengine-pulseaudio .......... Enable PulseAudio support [auto]
                    (Linux only)
                    -webengine-embedded-build ...... Enable Linux embedded build [auto]
                    (Linux only)
                    -webengine-icu ................. Use system ICU libraries [system/qt]
                    (Linux only)
                    -webengine-ffmpeg .............. Use system FFmpeg libraries [system/qt]
                    (Linux only)
                    -webengine-opus ................ Use system Opus libraries [system/qt]
                    (Linux only)
                    -webengine-webp ................ Use system WebP libraries [system/qt]
                    (Linux only)
                    -webengine-pepper-plugins ...... Enable use of Pepper Flash and Widevine
                    plugins [auto]
                    -webengine-printing-and-pdf .... Enable use of printing and output to PDF
                    [auto]
                    -webengine-proprietary-codecs .. Enable support for proprietary codecs [no]
                    -webengine-spellchecker ........ Enable support for spellchecker [yes]
                    -webengine-native-spellchecker . Enable support for native spellchecker [no]
                    (macOS only)
                    -webengine-webrtc .............. Enable support for WebRTC [auto]

                    Q 1 Reply Last reply
                    0
                    • Q Qt embedded developer

                      @Qt-embedded-developer

                      when i write command for disable qtwebengine i got below error:

                      root@mangal-Latitude-E5450:/home/mangal/WORK_SOFTRONICS/qt5.15/build-qt# ../qt-everywhere-src-5.15.2/configure -no-feature-webengine-alsa -no-feature-webengine-pulseaudio -no-feature-webengine-embedded-build -no-feature-webengine-icu -no-feature-webengine-ffmpeg -no-feature-webengine-opus -no-feature-webengine-webp -no-feature-webengine-pepper-plugins -no-feature-webengine-printing-and-pdf -no-feature-webengine-proprietary-codecs -no-feature-webengine-spellchecker -no-feature-webengine-native-spellchecker -no-feature-webengine-webrtc

                      • cd qtbase
                      • /home/mangal/WORK_SOFTRONICS/qt5.15/qt-everywhere-src-5.15.2/qtbase/configure -top-level -no-feature-webengine-alsa -no-feature-webengine-pulseaudio -no-feature-webengine-embedded-build -no-feature-webengine-icu -no-feature-webengine-ffmpeg -no-feature-webengine-opus -no-feature-webengine-webp -no-feature-webengine-pepper-plugins -no-feature-webengine-printing-and-pdf -no-feature-webengine-proprietary-codecs -no-feature-webengine-spellchecker -no-feature-webengine-native-spellchecker -no-feature-webengine-webrtc
                        Preparing build tree...
                        Creating qmake...
                        .Done.
                        ERROR: Enabling/Disabling unknown feature 'webengine-icu'.

                      when i used configure --help at that time i have seen that there are -webengine-icu option mentioned. below i wrote the configure --help's web engine related option

                      WebEngine options:

                      -webengine-alsa ................ Enable ALSA support [auto] (Linux only)
                      -webengine-pulseaudio .......... Enable PulseAudio support [auto]
                      (Linux only)
                      -webengine-embedded-build ...... Enable Linux embedded build [auto]
                      (Linux only)
                      -webengine-icu ................. Use system ICU libraries [system/qt]
                      (Linux only)
                      -webengine-ffmpeg .............. Use system FFmpeg libraries [system/qt]
                      (Linux only)
                      -webengine-opus ................ Use system Opus libraries [system/qt]
                      (Linux only)
                      -webengine-webp ................ Use system WebP libraries [system/qt]
                      (Linux only)
                      -webengine-pepper-plugins ...... Enable use of Pepper Flash and Widevine
                      plugins [auto]
                      -webengine-printing-and-pdf .... Enable use of printing and output to PDF
                      [auto]
                      -webengine-proprietary-codecs .. Enable support for proprietary codecs [no]
                      -webengine-spellchecker ........ Enable support for spellchecker [yes]
                      -webengine-native-spellchecker . Enable support for native spellchecker [no]
                      (macOS only)
                      -webengine-webrtc .............. Enable support for WebRTC [auto]

                      Q Offline
                      Q Offline
                      Qt embedded developer
                      wrote on last edited by Qt embedded developer
                      #21

                      @Qt-embedded-developer i have used below command to skip package of qtwebengine. this command removed the above error.

                      ../qt-everywhere-src-5.15.2/configure -skip qtwebengine

                      1 Reply Last reply
                      1
                      • Q Offline
                        Q Offline
                        Qt embedded developer
                        wrote on last edited by Qt embedded developer
                        #22

                        @jsulm @mrjj
                        when i am installing it using "make | make install" command then i am getting below error:

                        g++: error: /home/mangal/WORK_SOFTRONICS/qt5.15/build-qt/qtbase/lib/libqtpcre2.a: No such file or directory
                        Makefile:1240: recipe for target '../../lib/libQt5Core.so.5.15.2' failed
                        make[3]: *** [../../lib/libQt5Core.so.5.15.2] Error 1
                        make[3]: Leaving directory '/home/mangal/WORK_SOFTRONICS/qt5.15/build-qt/qtbase/src/corelib'
                        Makefile:212: recipe for target 'sub-corelib-install_subtargets' failed
                        make[2]: *** [sub-corelib-install_subtargets] Error 2
                        make[2]: Leaving directory '/home/mangal/WORK_SOFTRONICS/qt5.15/build-qt/qtbase/src'
                        Makefile:62: recipe for target 'sub-src-install_subtargets' failed
                        make[1]: *** [sub-src-install_subtargets] Error 2
                        make[1]: Leaving directory '/home/mangal/WORK_SOFTRONICS/qt5.15/build-qt/qtbase'
                        Makefile:98: recipe for target 'module-qtbase-install_subtargets' failed
                        make: *** [module-qtbase-install_subtargets] Error 2


                        How to resolve it ?

                        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