How To Run Qt After Build ? [UBUNTU 14.04]
-
Hi guys
I've recently built qt-5.3.0 from git and followed the instructions in this "link":http://qt-project.org/wiki/Building_Qt_5_from_Git , But the question now is how do I run Qt actually ? -
Hi and welcome to devnet,
What do you mean by "run Qt" ? Develop with it ?
-
Thanks SGaist for your fast replay , I meant running the whole Qt framework because the Qt icon is not available in the launcher and I don't know what is the command in terminal usually for normal installation from ubuntu software centre you just type qtcreator any thoughts?
-
Hi,
usually you will find the Qt Creator here (or similar):
/home/myname/Qt5.3.0/Tools/QtCreator/bin/qtcreator -
After you build from git, you now have Qt libraries. You can link your app code to libraries, but you cannot run libraries.
You probably want to install the Qt Creator IDE. You can run the IDE to write your code and manage your projects.
Since you are new, I recommend downloading from http://qt-project.org/downloads -- this gives you almost everything you need to get started. Delete your git build.
-
Thanks for the great support guys , JKSH you've clearified a big misconception for me so what I've built was just the Qt libraries not the IDE so I still need the IDE to begin development , but I built the Qt from git because I wanted my apps to have their dependencies with them so I think I m gonna need the compiled libraries
-
You're welcome. :)
Ok, you can download the IDE from the same link I gave you (click "Show Downloads" and scroll down). After that:
See "Adding Compilers":http://qt-project.org/doc/qtcreator-3.1/creator-tool-chains.html to tell Qt Creator where to find your compiler (but normally, it should already auto-detect your compiler)
See "Adding Qt Versions":http://qt-project.org/doc/qtcreator-3.1/creator-project-qmake.html to tell Qt Creator where to find the Qt libraries that you built
Finally, see "Adding Kits":http://qt-project.org/doc/qtcreator-3.1/creator-targets.html to tell Qt Creator how to combine your compiler with the Qt libraries