How to install the full Qt 5.5 to default location - qt

https://github.com/mavlink/qgroundcontrol
Follow the installation guide from the readme file in qgroundcontrol, I still have problem of missing package in QT. I have downloaded QT installer (https://www.qt.io/download-open-source/) and installed it to "home/user/QT".
It this problem because...
I installed to the wrong location which is not default location of QT then QT cannot find new installed-packages. Where is the default location to install?
or I have to do some more configuration?
OS : Ubuntu 16.04

On Ubuntu 16.04 there is Qt 5.5.1 in the standard OS repositories.
sudo apt install qtbase5-dev libqt5location5 qtdeclarative5-controls-plugin

Related

Cant run qgis version Qt_5_PRIVATE_API not defined

I am running Ubuntu 18.04 and I cant seem to get qgis to run anymore. The error I get is:
/usr/bin/qgis.bin: relocation error: /usr/lib/x86_64-linux-gnu/libQt5QuickWidgets.so.5: symbol _ZN15QQmlMemoryScope5stateE version Qt_5_PRIVATE_API not defined in file libQt5Qml.so.5 with link time reference
my qmake version is:
QMake version 3.1
Using Qt version 5.9.5 in /usr/lib/x86_64-linux-gnu
I have tried to link to qt5 but that did not change anything.
sudo ln -snf ../../../../share/qtchooser/qt5-x86_64-linux-gnu.conf default.conf
You need to uninstall QGIS and reinstall with the latest stable release. Using sudo apt-get install qgis* python3-qgis* to install is not precisely the best method because of the wildcard. The official instructions suggest using: sudo apt install qgis qgis-plugin-grass.
The instructions for best installation procedure on Ubuntu for LTS releases is posted here.

How to configure compiler in debian os QT kit

I installed QT creator in debian linux. If I try to create a new project, in Kit option I got the error like "No valid Kit found". If I go to Tools ->Options -> Build&Run -> kit, there is no options to select. But I installed same in ubuntu, it is working fine without same problem. What im missing?
Also suggest me if I need to reinstall the QT creator or something else...
Its time to explain the tricks to install QT creator in debian linux operating system.
STEP 1: dont install just QT creator in your PC.
Install whole package of QT [link to download QT SDK below][1]
[1]: http://www.qt.io/download-open-source/#section-2 , so that you will get all the libraries and dependencies.
After downloading the file is in the ".run" format . Install the downloaded file in your terminal (by giving commands).
STEP 2: install
sudo apt-get install g++
sudo apt-get install libgl1-mesa-dev libglu1-mesa-dev
in your terminal.
STEP 3: install
sudo apt-get install libcanberra-gtk-module
sudo apt-get install libcanberra-gtk-module:i386
now restart your system once and create new project.It should work
I like to thank agold for his guidance , Actually he spent more than 3 hours to resolve this issue. :)

How can I install qt5 to Debian using commandline?

I need to install Qt5 to my Debian using commandline. How can I do that?
My system:
debian 2.6.30-vortex86mx-yh
I am trying to install using qt online installer from qt-project.org.
But after ./qt.run I get this error:
libstdc++.so.6 version glibcxx_3.4.11 not found
I try to install libstdc++6. but Debian said it is already newest version.
cat /etc/issue result is:
Debian 5.0
Also my debian has no gui. I have to do it using commandline.
Try this command for installing from default debian 5 repository:
#apt install g++
#apt install qtcreator
#apt install qtdeclarative5-dev
You should be able to run the qt-installer in a decent debian version. Get Version by:
cat /etc/issue
On older versions or "unsupported" versions you can still download the sources and build the libraries yourself, which is probably your way to go, since the vortex86-builds are pretty limited in compiler flags. Compiling is rather easy, depending on your needs. The configure script itself gives you a lot of hints regarding possible flags.
Another alternative is to find a user-managed repository that has QT5 for your debian version and add this repository to your sources.lst, so you could perform a apt-get install libqt5.

Qt can't find openssl

I installed Qt 4.8 from developer.nokia website which is a .run file. Because it's from nokia i assume the libraries are compiled with openssl...
I use ubuntu 11.10 and it has openssl already installed.
I can't make the QSsl classes working because of this, what am i doing wrong?
Anyone know a proper Qt SDK 4.8 that works fine?
Thanks!
export QTDIR=/home/user/qtsdk-2010.05/
export PATH=$QTDIR/bin:$QTDIR/qt/bin:$PATH
export LD_LIBRARY_PATH=/home/user/qtsdk-2010.05/lib/:/home/user/qtsdk-2010.05/qt/lib/:$LD_LIBRARY_PATH
please change qtsdk-2010.05 to your sdk path
and make sure the binary path and lib is correct, then qmake ,make clean , make
Solved the problem installing qt-sdk from the repositories.
sudo apt-get install qt-sdk
A newer version of the Qt Creator can be found on qt-project.org
However for Ubuntu 11.10 Qt 4.7 will be installed and not 4.7. Qt 4.8 is available on the newer Ubuntu versions' repositories.

Erro when running OpenGL projet under Ubuntu 10.04

I downloaded QtSDK from website and installed on my computer, my OS is Ubuntu 10.04.
When I compile a project of OpenGL, there is an error "GL/gl.h no such file or directory".
but when I compile the projet under windows, it works. Why?
Who can resolve this problem for me?
You need to install the OpenGL development files. In Ubuntu they're in the package libgl1-mesa-dev. You'll also want to install libglu1-mesa-dev.
sudo apt-get install libgl1-mesa-dev libglu1-mesa-dev
I recommend installing GLEW alongside, since you'll jump the extension hoops to get OpenGL-3 functionality.
Edit
Here's how to get GLEW in Ubuntu (from the comments):
sudo apt-get install libglew-dev

Resources