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-embedded-developer Then you can disable it when you call configure. So, start from scratch with clean build/source folder and tell configure command to disable qtwebengine. To find out what parameter you have to pass to configure check its documentation (enter "configure --help").
-
@Qt-embedded-developer Then you can disable it when you call configure. So, start from scratch with clean build/source folder and tell configure command to disable qtwebengine. To find out what parameter you have to pass to configure check its documentation (enter "configure --help").
@jsulm means i need to do first
1] make clean
and then
2] i need to explore the "configure command to disable qtwebengine"
Am i right ?
-
@jsulm means i need to do first
1] make clean
and then
2] i need to explore the "configure command to disable qtwebengine"
Am i right ?
@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. -
@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.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 foundShall i need to direct jump to step 5 : make docs to resolve above error
-
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 foundShall i need to direct jump to step 5 : make docs to resolve above error
@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/configureThis 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.
-
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 foundShall i need to direct jump to step 5 : make docs to resolve above error
@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...
-
@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/configureThis 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.
@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/ -
@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/@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".
-
@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.@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 ?
-
@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 ?
@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? -
@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?@jsulm sorry i got it instead absolute path i just tried "configure --help". Thank you.
-
@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 ?
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] -
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]@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
-
@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 ?