Linux Install Problem
-
I know c++ but know nothing about Qt. I am running Fedora 40 Linux.
I ran the installer for the open source version and chose as my install folder ~/Qt. The install finished without any problems but I noticed that I had sub folders in ~/Qt which looked like they contained executable files. The folders containing executables were not on the Linux PATH variable. I know I probably could make this happen myself but, considering that the Qt installer looks like it was well designed why didn't it do this for me? Am I missing something?Also, after I get this sorted can your recommend to me, as a newbie, one of the Packt books that are devoted to new users?
Thank you,
Joe -
Hi and welcome to devnet,
There's no reason for the online installer to alter your system such as changing the PATH environment variable.
If you want to develop from the command line use the complete path to qmake or the qt-cmake wrapper. That way you stay in exact control of what you are using for development. This is even more valid when you have several versions of Qt installed.
As for getting started, just use Qt Creator and create a new project through it. You'll have a skeleton application that you can then continue to develop.
-
If you installed the open source that means you will have to build Qt? Did you check whatever version of Qt comes with Fedora 40/fetchable from its distro repo, ready-built, avoid compilation?
@JonB said in Linux Install Problem:
If you installed the open source that means you will have to build Qt?
I think OP means he installed Qt binaries licensed as OSS, not commercial
-
@JonB said in Linux Install Problem:
If you installed the open source that means you will have to build Qt?
I think OP means he installed Qt binaries licensed as OSS, not commercial
@jsulm said in Linux Install Problem:
I think OP means he installed Qt binaries licensed as OSS, not commercial
But if OP was asking about binaries why their
How do I build Qt from the files that came from the installer?
? If they just want a working system on their Fedora 40 I would have thought installing the distro's version via
apt-getor similar would be by far the easiest..... -
@jsulm said in Linux Install Problem:
I think OP means he installed Qt binaries licensed as OSS, not commercial
But if OP was asking about binaries why their
How do I build Qt from the files that came from the installer?
? If they just want a working system on their Fedora 40 I would have thought installing the distro's version via
apt-getor similar would be by far the easiest.....@JonB said in Linux Install Problem:
How do I build Qt from the files that came from the installer?
That question came after you wrote that Qt needs to be built :-)
-
@JonB said in Linux Install Problem:
How do I build Qt from the files that came from the installer?
That question came after you wrote that Qt needs to be built :-)