Qt won't build using the costume version
I installed qt5 using the .run file I downloaded. Now since I want to develope a static apps I downloaded qt 4.8 source files and installed it using these commands:
./configure -static -prefix /usr/local/Trolltech/Qt-4.2.2_static
sudo make install
Then I opend qt and went to tools->options->build &run->qt version and added the qmake file of the new version which was in /usr/local/Trolltech/Qt-4.2.2_static/bin/qmake
But when I create a new project I don't get the option to build it with this version. what should I do to build my project with this version?
If you are using creator, you can set it here : Tools->Options->Build&Run
I have added the qmake file from there. I had said that in my question. But is there anything else I should do ? Can you be more specific?
Hi and welcome to devnet,
Did you also setup a Kit using this version of Qt
On a side note, why install a 4.8 build in a folder named 4.2.2 ?
Thank you and it worked thanks.
I copy and pasted the commands and didn't notice that theversion numberwas wrong. oops!