Настройки qt5 linux mint

Linux Mint Forums

Forum rules
Before you post please read how to get help. Topics in this forum are automatically closed 6 months after creation.

Installing Qt5 on linux mint 19 MATE

Post by navracer » Fri Sep 28, 2018 11:50 am

Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.

catweazel Level 19
Posts: 9763 Joined: Fri Oct 12, 2012 9:44 pm Location: Australian Antarctic Territory

Re: Installing Qt5 on linux mint 19 MATE

Post by catweazel » Fri Sep 28, 2018 5:53 pm

Assuming you’ve downloaded qt-opensource-linux-x64-5.10.1.run .

«There is, ultimately, only one truth — cogito, ergo sum — everything else is an assumption.» — Me, my swansong.

Re: Installing Qt5 on linux mint 19 MATE

Post by navracer » Fri Sep 28, 2018 9:15 pm

Fast reply
but my command line knowledge is not that good.
Something to do with sudo chmod maybe ? because ./qt-opensource-linux-x64-5.10.1.run
results in sudo: ./qt-opensource-linux-x64-5.10.1.run : commande introuvable ( French for not found )
Hope you can help

Re: Installing Qt5 on linux mint 19 MATE

Post by gm10 » Fri Sep 28, 2018 9:30 pm

Considering Qt5 is partially pre-installed on LM19 and the rest is available from the repository, maybe the better question is what you are trying to achieve.

Post by navracer » Sat Sep 29, 2018 10:11 am

Hello,
I still can’t get Qt5 installed :
I have the file ./qt-opensource-linux-x64-5.10.1.run in downloads.
this file bash cannot find to run
The software manager starts to install Qt5-default, but results in a broken package and then says it it installed
apt-install qt5 results in cannot find qt5-default

MtnDewManiac Level 6
Posts: 1491 Joined: Fri Feb 22, 2013 5:18 pm Location: United States

Re: Installing Qt5 on linux mint 19 MATE

Post by MtnDewManiac » Sun Sep 30, 2018 4:29 am

gm10 wrote: ⤴ Fri Sep 28, 2018 9:30 pm Considering Qt5 is partially pre-installed on LM19 and the rest is available from the repository, maybe the better question is what you are trying to achieve.

Yes. OP, are you trying to install the full development version of QT5 for programming/development use, or. ?

Mint 18 Xfce 4.12.

If guns kill people, then pencils misspell words, cars make people drive drunk, and spoons made Rosie O’Donnell fat.

catweazel Level 19
Posts: 9763 Joined: Fri Oct 12, 2012 9:44 pm Location: Australian Antarctic Territory

Читайте также:  Поворот экрана linux при загрузке

Re: Installing Qt5 on linux mint 19 MATE

Post by catweazel » Sun Sep 30, 2018 4:33 am

gm10 wrote: ⤴ Fri Sep 28, 2018 9:30 pm Considering Qt5 is partially pre-installed on LM19 and the rest is available from the repository, maybe the better question is what you are trying to achieve.

qt-opensource-linux-x64-5.10.1.run installs the complete development environment, and it is completely separate from the Qt installed in the OS. Ne’er the two shall meet, and the version in the repos is old.

«There is, ultimately, only one truth — cogito, ergo sum — everything else is an assumption.» — Me, my swansong.

catweazel Level 19
Posts: 9763 Joined: Fri Oct 12, 2012 9:44 pm Location: Australian Antarctic Territory

Re: Installing Qt5 on linux mint 19 MATE

Post by catweazel » Sun Sep 30, 2018 5:16 am

navracer wrote: ⤴ Fri Sep 28, 2018 9:15 pm Fast reply
but my command line knowledge is not that good.
Something to do with sudo chmod maybe ? because ./qt-opensource-linux-x64-5.10.1.run
results in sudo: ./qt-opensource-linux-x64-5.10.1.run : commande introuvable ( French for not found )
Hope you can help

chmod +x qt-opensource-linux-x64-5.10.1.run

Followed by ./qt-opensource-linux-x64-5.10.1.run

«There is, ultimately, only one truth — cogito, ergo sum — everything else is an assumption.» — Me, my swansong.

Re: Installing Qt5 on linux mint 19 MATE

Post by gm10 » Sun Sep 30, 2018 7:07 am

gm10 wrote: ⤴ Fri Sep 28, 2018 9:30 pm Considering Qt5 is partially pre-installed on LM19 and the rest is available from the repository, maybe the better question is what you are trying to achieve.

qt-opensource-linux-x64-5.10.1.run installs the complete development environment, and it is completely separate from the Qt installed in the OS. Ne’er the two shall meet, and the version in the repos is old.

I’m fully aware of that, but I have not seen any indication that the OP, who even struggles with basic things like the command line and the executable flag, has any interest in the development environment. For now I consider it very much more likely that they are following some guide for a different release which tells them to install the Qt5 runtimes for some software they want to run. I may be wrong, but that’s why I am asking before telling them to install things they may never need.

catweazel Level 19
Posts: 9763 Joined: Fri Oct 12, 2012 9:44 pm Location: Australian Antarctic Territory

Re: Installing Qt5 on linux mint 19 MATE

Post by catweazel » Sun Sep 30, 2018 7:10 am

gm10 wrote: ⤴ Sun Sep 30, 2018 7:07 am I’m fully aware of that, but I have not seen any indication that the OP, who even struggles with basic things like the command line and the executable flag, has any interest in the development environment. For now I consider it very much more likely that they are following some guide for a different release which tells them to install the Qt5 runtimes for some software they want to run. I may be wrong, but that’s why I am asking before telling them to install things they may never need.

«There is, ultimately, only one truth — cogito, ergo sum — everything else is an assumption.» — Me, my swansong.

Re: Installing Qt5 on linux mint 19 MATE

Post by navracer » Sun Sep 30, 2018 10:27 am

Читайте также:  Очистить загрузочную флешку линукс

Gentlemen, I am absolutely certain that my original question is valid ( wether or not I’m interested in Qt5 ).
Which above subject has NOT been addressed ( whether or not I am struggling with basic questions as executable flags ).
I am still thankful for your responses but I remain completely in the dark about «Installing Qt5 on linux mint 19 MATE».
Have a good continuation.

Re: Installing Qt5 on linux mint 19 MATE

Post by gm10 » Sun Sep 30, 2018 10:33 am

navracer wrote: ⤴ Sun Sep 30, 2018 10:27 am Gentlemen, I am absolutely certain that my original question is valid ( wether or not I’m interested in Qt5 ).
Which above subject has NOT been addressed ( whether or not I am struggling with basic questions as executable flags ).
I am still thankful for your responses but I remain completely in the dark about «Installing Qt5 on linux mint 19 MATE».
Have a good continuation.

phd21 Level 20
Posts: 10102 Joined: Thu Jan 09, 2014 9:42 pm Location: Florida

Re: Installing Qt5 on linux mint 19 MATE

Post by phd21 » Sun Sep 30, 2018 4:35 pm

I just read your post and the good replies to it. Here are my thoughts on this as well.

It is important to know why you want to install QT5, for certain applications, or because you are interested in learning how to develop software in QT5, or Both, etc. Are you getting some message(s) regarding QT5 from something else, if so what?

As was already stated, parts of QT5 are already installed in all editions of Linux Mint versions 19.x and version 18.x as far as I know.

The command below will install all the default QT5 software packages for Linux Mint 19.x based Ubuntu 18.04 Bionic and some development tools, you can also install these from the Software Manager or Synaptic Package Manager (SPM).
qt5-default
qttools5-dev-tools
qttools5-dev

sudo apt install qt5-default qttools5-dev-tools qttools5-dev

If you want the newest QT5 full development system, then catweazel gave you those good instructions already in his replies.

Phd21 : Mint 20 Cinnamon & xKDE (Mint Xfce + Kubuntu KDE) & KDE Neon 64-bit (new based on Ubuntu 20.04) Awesome OS’s , Dell Inspiron I5 7000 (7573) 2 in 1 touch screen, Dell OptiPlex 780 Core2Duo E8400 3GHz,4gb Ram, Intel 4 Graphics.

catweazel Level 19
Posts: 9763 Joined: Fri Oct 12, 2012 9:44 pm Location: Australian Antarctic Territory

Re: Installing Qt5 on linux mint 19 MATE

Post by catweazel » Sun Sep 30, 2018 6:45 pm

«There is, ultimately, only one truth — cogito, ergo sum — everything else is an assumption.» — Me, my swansong.

MtnDewManiac Level 6
Posts: 1491 Joined: Fri Feb 22, 2013 5:18 pm Location: United States

Re: Installing Qt5 on linux mint 19 MATE

Post by MtnDewManiac » Sun Sep 30, 2018 7:32 pm

LOL, yeah. Sometimes(*), the ability for a person to understand the question that they, themselves, are asking is just as important as being able to understand the answers they are given.

I don’t know QT5 from Q-tips, lol, but — as previously mentioned multiple times, some of it will already be present on your system (or should be). Unless it’s different than everything else, any other parts of the thing that you end up requiring in order to install something will be considered to be dependencies — and will be automatically installed when you attempt to install something that does require the stuff.

Читайте также:  Ставим linux на windows

Therefore, for practical purposes, the answer to your question, as it was worded, would appear to be, «You install Linux 19 MATE,» .

IF you are fully cognizant of the above and, therefore, are feeling somewhat frustrated by the answers (which did, after all, address your question), perhaps you would like to help reduce your frustration level by clarifying things just a bit, to wit, asking a different and/or more complete question?

Annoying the very people who are trying to help, by causing them to feel just as frustrated as you do. is not especially likely to be all that helpful. Or so past experience has shown me. It’s not like you’re communicating with a paid support staff here, lol, otherwise you’d still be responding to the first set of scripts that some mindless droid was reading off of his/her crib sheet. These are just regular users, just like you, who are trying to help you because they’re nice people.

(*)Okay, always — but I did not want to cause the OP to feel silly .

Mint 18 Xfce 4.12.

If guns kill people, then pencils misspell words, cars make people drive drunk, and spoons made Rosie O’Donnell fat.

Источник

How to Install Qt5 on Linux Mint 21

Qt is a C++ based framework which you can use to develop applications using any programming language. Qt5 is the latest version of the Qt which has excellent performance than ever before. You can install Qt5 on Linux Mint by following the guide given in this article.

How to Install Qt5 on Linux Mint 21

You can install Qt5 on Linux Mint using two different methods mentioned below:

How to Install Qt5 on Linux Mint 21 Using Terminal

Using terminal, execute the apt command mentioned below to install the Qt5 on your Linux Mint:

Once the installation is complete now run the application through the app menu:

While using terminal you can easily uninstall Qt5 by executing the following command:

How to Install Qt5 Using Software Manager on Linux Mint 21

On Linux Mint you can install Qt5 by using the system’s Software Manager. You can install Qt5 by going to Software Manager searching Qt5 and then clicking on the Install button:

To run the Qt tools for example Qt Designer and Qt Linguistic, click on Linux Mint icon, go to Programming, and click on any of the Qt tool to run it:

If you want to uninstall the Qt5 tool kit you can just click on the Linux Mint icon, go to Programming, and then, right click on Qt5 Creator, afterwards click on Uninstall:

To use the Qt5 Creator using GUI just click on the Linux Mint icon, go to Programming option of the application menu, and double click on the Qt5 creator:

Conclusion

You can use Qt5 to develop different applications that run on desktop and mobile platforms. You can also use Qt5 tools to make graphical user interfaces (GUIs). You can install Qt5 on your Linux Mint system using its terminal and its software manager following the methods mentioned in the above guide.

About the author

Rafia Amjad

I have a degree in Electronics and love to write. My research and writing emphasize on the most recent innovations in gaming and technology.

Источник

Оцените статью
Adblock
detector