Qt can't find openssl - qt

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.

Related

qmake not properly recognized in QT Creator under Debian 11 "bullseye"

I have installed QT Creator under Debian 11 "bullseye" (sudo apt-get -y install qtcreator), resulting in QT creator version 4.14.1.
Then I installed qmake (sudo apt install qt5-qmake), resulting in qmake version 5.15.2.
Now I want to add qmake in QT Creator options under Kits->QT versions, but it says
QT version is not properly installed, please run make install
and it refuses to work:
I have also another machine with Debian 12 bookworm, where I have been using this setup without any problem for several months (the yellow triangle in the screenshot below is only warning). On Debian 12 bookworm, the QT Creator is now version 8.0.1 (recently it was 6. something) and qmake version is 5.15.4:
Any idea how to make it work under Debian 11? I need to use the older environment, because I need specific older libraries to be build in the application.
I have tried almost everything that I found over the internet, but nothing helped. Usually the sources say to install qt5-default package, but this is not available in Debian 11.

How to install the full Qt 5.5 to default location

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

I need a minimal QT 5.0 Compiler install for Ubuntu 14.04 64bit

I need a minimal QT 5.0 Compiler install for Ubuntu 14.04 64bit
I just need to run qmake and have the QT includes, macros and libraries work under g++. I do not need The QT GUI development environment.
I tried the following...
wget http://download.qt.io/official_releases/qt/5.5/5.5.0/qt-opensource-linux-x64-5.5.0.run
... Follow instructions... At the end I get "Warning: QSqlDatabase: QMYSQL driver not loaded" which I need.
So I had to build from source, which takes overnight! (but does work)...
git clone git://code.qt.io/qt/qt5.git
cd qt5
git checkout 5.5
... Follow instructions... It does work.
I only want the compiler, not everything! How do I get that?
Alan.
Just install a package called build-essential + the Qt5 development packages you need (or qt5-default package). Ubuntu 14.04 has Qt 5.2.1 in the package repositories.
build-essential installs g++ tool chain and qt5-default installs the Qt5 development libraries.
Qt is not a compiler. It is a toolkit framework library coded for C++.
You need at least a C++11 compiler, like GCC (g++, at least 4.9) or Clang/LLVM (clang++)
You probably want to say that you don't need the QtCreator editor and IDE.

Qwt installation for Qt Creator on windows 7

I installed Qt Creator. I would like to use Qwt. I downloaded and unzipped to "C:\qwt-6.1.0" folder. I performed the following instructions:
qmake qwt.pro
mingw32-make
mingw32-make install
There is no error. Everything is fine. But I don't know how I can integrate with Qt creator. I would like to use Qt via form editor. How can I install plugin?
Thanks
Platform
Windows 7
Versions
Qt Creator 2.7.2
Qt 5.1.0(32 bit)
Qwt 6.1.0
http://www.qtcentre.org/threads/53787-HowTo-Installation-of-Qt-5-0-1-and-Qwt-6-1-0-rc3-(Win7-64bit)
check this.Its works also on win8 64 bit.

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.

Resources