Installing Qt on Ubuntu...
-
I'm trying to install Qt on a virtual machine where I have set-up Linux 6.2.0-37-generic #38~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 2 18:01:13 UTC 2 X84_64 X86_64 X86_64 GNU/Linux
Thats the version text returned from console when entering uname -a.
I've been following the answer here:
https://stackoverflow.com/questions/48147356/install-qt-on-ubuntuWhen I get to:
sudo apt-get install qt5-default
The final response is:
Package qt5-default is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package 'qt5-default' has no installation candidate
Can anyone help?
Just found this, seems to be working:
https://askubuntu.com/questions/1404263/how-do-you-install-qt-on-ubuntu22-04 -
I'm trying to install Qt on a virtual machine where I have set-up Linux 6.2.0-37-generic #38~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 2 18:01:13 UTC 2 X84_64 X86_64 X86_64 GNU/Linux
Thats the version text returned from console when entering uname -a.
I've been following the answer here:
https://stackoverflow.com/questions/48147356/install-qt-on-ubuntuWhen I get to:
sudo apt-get install qt5-default
The final response is:
Package qt5-default is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package 'qt5-default' has no installation candidate
Can anyone help?
Just found this, seems to be working:
https://askubuntu.com/questions/1404263/how-do-you-install-qt-on-ubuntu22-04@SPlatten
I never installed Qt from the command line, always with installers provide by Qt itself.Nowadays, we have to use the online installer app.
Then after, you may have to install the dev tools:sudo apt-get install build-essential
and the opengl lib:
sudo apt-get install libgl-dev libglu-dev or sudo apt-get install libglu1-mesa-dev -y
-
@SPlatten
I never installed Qt from the command line, always with installers provide by Qt itself.Nowadays, we have to use the online installer app.
Then after, you may have to install the dev tools:sudo apt-get install build-essential
and the opengl lib:
sudo apt-get install libgl-dev libglu-dev or sudo apt-get install libglu1-mesa-dev -y
-
I'm trying to install Qt on a virtual machine where I have set-up Linux 6.2.0-37-generic #38~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 2 18:01:13 UTC 2 X84_64 X86_64 X86_64 GNU/Linux
Thats the version text returned from console when entering uname -a.
I've been following the answer here:
https://stackoverflow.com/questions/48147356/install-qt-on-ubuntuWhen I get to:
sudo apt-get install qt5-default
The final response is:
Package qt5-default is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package 'qt5-default' has no installation candidate
Can anyone help?
Just found this, seems to be working:
https://askubuntu.com/questions/1404263/how-do-you-install-qt-on-ubuntu22-04 -
@SPlatten Install synaptic and launch it(sudo synaptic).
search qt5 or libqt5 to find all qt5 packages and select any you need to install. -
-
I'm trying to install Qt on a virtual machine where I have set-up Linux 6.2.0-37-generic #38~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 2 18:01:13 UTC 2 X84_64 X86_64 X86_64 GNU/Linux
Thats the version text returned from console when entering uname -a.
I've been following the answer here:
https://stackoverflow.com/questions/48147356/install-qt-on-ubuntuWhen I get to:
sudo apt-get install qt5-default
The final response is:
Package qt5-default is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package 'qt5-default' has no installation candidate
Can anyone help?
Just found this, seems to be working:
https://askubuntu.com/questions/1404263/how-do-you-install-qt-on-ubuntu22-04@SPlatten said in Installing Qt on Ubuntu...:
qt5-default
Maybe there is no such package in Ubuntu 22.04?
Simply search for qt5 packages. -
@SPlatten said in Installing Qt on Ubuntu...:
qt5-default
Maybe there is no such package in Ubuntu 22.04?
Simply search for qt5 packages.@jsulm said in Installing Qt on Ubuntu...:
@SPlatten said in Installing Qt on Ubuntu...:
qt5-default
Maybe there is no such package in Ubuntu 22.04?
Simply search for qt5 packages.@jsulm is correct.
If you take this answer on the stack overflow thread, you'll see the change and why. To get started install qtbase5-dev and all the dev packages of the modules you are going to use for developing your application.