How can I configure QT source code if it can't detect default installed OpenGl ES?
-
How do I activate it? In tutorial they where explaining how to build from source only... From what I remember. I kinda read the readme file... And the instruction in readme file is:
./configure -prefix $PWD/qtbase <license> -nomake tests make -j 4
-
Did you actually ran the offline installer ?
-
There is no runnable binary, for what I can see. Or I don't know the name... There are many modules here.
-
There is no runnable binary, for what I can see. Or I don't know the name... There are many modules here.
@UltraBurstXD The offline installer is just one file. But offline installers are not available anymore for open source users (without commercial license). So, what exactly did you download?
-
I downloaded here: https://www.qt.io/offline-installers
-
I downloaded here: https://www.qt.io/offline-installers
@UltraBurstXD As I said: offline installer is just one file. Make it executable (chmod u+x OFFLINE_INSTALLER_FILE) and execute it. No need to build anything.
-
@UltraBurstXD As I said: offline installer is just one file. Make it executable (chmod u+x OFFLINE_INSTALLER_FILE) and execute it. No need to build anything.
@jsulm I don't know name of offline installer... It's my first time using qt... perhaps should I specify qt modules path to qt creator? And configure the environment variables?
-
@jsulm I don't know name of offline installer... It's my first time using qt... perhaps should I specify qt modules path to qt creator? And configure the environment variables?
@UltraBurstXD Lets do one step after another: you downloaded the offline installer, is that correct? Like http://download.qt.io/official_releases/qt/5.12/5.12.10/qt-opensource-linux-x64-5.12.10.run
-
Yes, I did and extracted the files to home. As seen:
The archive name is qt-everywhere-src-5.15.2.tar.xz
-
Yes, I did and extracted the files to home. As seen:
The archive name is qt-everywhere-src-5.15.2.tar.xz
@UltraBurstXD You did NOT download the offline installer, you downloaded the source code. Can you please post the exact file name you downloaded?
-
It turns out I downloaded Qt 5.15.x Source Packages... My internet data plan... And it can't configure because of OpenGL.
-
It turns out I downloaded Qt 5.15.x Source Packages... My internet data plan... And it can't configure because of OpenGL.
@UltraBurstXD Didn't you want to install Qt using offline installer as @SGaist suggested? So, what do you want to do now? It is much much easier to install prebuild Qt than to build it by yourself. I suggest you use offline or (better) online installer to install prebuild Qt.
-
Then lets go from scratch:
cd /somewhere_NOT_in_Qt_source mkdir build_Qt cd build_Qt /path_to_Qt_sources/configure -nomake tests -nomake examples
What do you get now ?
-
You cannot make a shadow build from a source tree containing a previous build. Cannot proceed.
-
I guess you kept the original archive, if so, just nuke the sources and extract them again. Then redo the procedure suggested above.
-
New error:
Info: creating super cache file /home/USER/build_Qt/.qmake.super Info: creating cache file /home/USER/build_Qt/.qmake.cache ERROR: Unknown command line option '-nomake'.
-
Please show the exact line you use.
-
Which line?
~/qt_source/configure -nomake tests -nomake examples
That one?
-
Wait, are you building from a git clone or from the source archives ?
Which version exactly are you trying to build ? -
macOS and Linux source archives. The version is 5.15.2 LTS. I'm trying to follow the instruction above.