Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
01-16-2015, 10:38 AM
|
#1
|
Member
Registered: Mar 2014
Posts: 464
Rep: 
|
Linux canvas
I have Ubuntu 14.04
There are many graphic packages but I may be forced to create my own because of the specific task I am dealing with. I am wondering if there is a way to generate a white canvas with the stipulation that I can use X-Y coordinates for input I need. Something very primitive.
Thanks, - A.
|
|
|
01-16-2015, 12:43 PM
|
#2
|
Moderator
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,939
|
Qt should be fine for that, just create a window or app with a white background and then it all depends what you want to do for XY input; i.e. click or click-drag and so forth. But you can get the coordinates of mouse/finger actions and motions via the Qt even interface. Something much smaller is FLTK.
Perhaps this thread should be moved to Linux->Software to get more exposure.
|
|
1 members found this post helpful.
|
01-16-2015, 01:22 PM
|
#3
|
Member
Registered: Mar 2014
Posts: 464
Original Poster
Rep: 
|
rtmistler, thank you. Is Qt the same as Qt Creator? I just googled for it and found a few websites but nobody seems to explain in simple English what it actually does. Just as an example. Although it says that it is an editor. If I am on the right track, I will be able to try it only tomorrow.
Thanks, A.
Last edited by AlexBB; 01-16-2015 at 01:30 PM.
|
|
|
01-16-2015, 01:34 PM
|
#4
|
Moderator
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,939
|
QtCreator is part of Qt. Qt overall is a graphics ... framework, or it may be more correct to say it is a set of libraries which you can install.
I configure and build it from source to install it. I also do not use the QtCreator.
Most examples and answers to questions I've received when asking for or seeking help have been in the form of C++ code.
But you can start with the Creator and then choose your direction as you learn more about it.
|
|
1 members found this post helpful.
|
01-16-2015, 01:58 PM
|
#5
|
Member
Registered: Mar 2014
Posts: 464
Original Poster
Rep: 
|
Thank you again. I marked the thread as solved. A.
|
|
|
01-17-2015, 05:10 PM
|
#6
|
Member
Registered: Mar 2014
Posts: 464
Original Poster
Rep: 
|
OK, it seems I installed Qt library but in the end realized it is commercial package. You have to download a bunch of stuff on top of that as a "FREE TRIAL" then pay $25 a month. Never in the world am I going to do this. I have no confidence it is what I ultimately need. Besides I may need it for a short period of time when my project runs, even if it works. It is unfair to point someone to a clearly commercial application without telling the truth.
rtmistler, you set me up. I suspect you are a part of this business. I unmarked the thread. Now it is UNSOLVED. Besides I have a bunch of trash in my directories. I will also report you.
Last edited by AlexBB; 01-17-2015 at 05:15 PM.
|
|
|
01-17-2015, 06:54 PM
|
#7
|
Member
Registered: Nov 2010
Location: Germany
Distribution: Gentoo
Posts: 286
Rep:
|
AlexBB - Qt is a widely used software in the desktop linux world. The KDE desktop, the LXQt desktop, the vlc media player all use it on terms of the free software licensing option. They also provide a nonfree licensing option which costs money - the licensee gets the right to use Qt in nonfree software in return.
No need to accuse somebody of "setting" you up, or to report somebody. If you have a desktop linux installed, chances are that you also already got Qt installed (look for packages like "qtcore" and "qtgui"). For development work, you maybe need additional header files, a compiler (gcc plus Qt's own moc compiler) and an IDE (optional). QtCreator is such a IDE.
And the website of Qt is http://qt-project.org/. I don't know what this indian/british/hosted in ireland domain you found even is, but it's not the Qt rtmistler was talking about.
One smaller option for simple 2D graphics programming tasks could be Tk.
Last edited by cepheus11; 01-18-2015 at 06:32 AM.
Reason: I meant IDE not GUI
|
|
|
01-17-2015, 07:02 PM
|
#8
|
Moderator
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,939
|
Qt can be used in an open source form. I also recommended FLTK in case you didn't notice. No I don't work for Qt.
|
|
|
01-17-2015, 07:59 PM
|
#9
|
Member
Registered: Mar 2014
Posts: 464
Original Poster
Rep: 
|
Sorry, perhaps I overreacted. I just don't like downloading anything from the Internet. I am afraid to tell you the truth. Just very leery. I trust Ubuntu and prefer sudo apt-get command. Thanks, - A.
|
|
|
01-17-2015, 11:07 PM
|
#10
|
LQ Guru
Registered: Oct 2003
Location: Bonaire, Leeuwarden
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,196
|
What programming language are you using? Of it is a script, Pyhton, TCL or Perl, Tk might be your friend. The learning curve takes about 20 minutes.
jlinkels
|
|
|
01-18-2015, 01:55 PM
|
#11
|
Member
Registered: Mar 2014
Posts: 464
Original Poster
Rep: 
|
Gfortran, Fortan 90, etc(mostly) & C++. I am trying to make it with gnuplot now since I am more familiar with it. I began looking for alternatives when I realized that I could not get any gnuplots on Ubuntu 14.04 and 13.04 (?) versions, lost quite a bit of time. I think they have bugs gnuplot related. Now I reimaged my laptop with Ubuntu 12.04 and am getting beautiful pictures but I still have a way to go. My tasks are very specific. So my thrust into the unknown (Qt, and others) began before I realized what was going on with gnuplot. Now I seem to be on a right track.
Thank you, - A.
|
|
|
01-19-2015, 03:49 PM
|
#12
|
Moderator
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,939
|
Quote:
Originally Posted by AlexBB
Sorry, perhaps I overreacted. I just don't like downloading anything from the Internet. I am afraid to tell you the truth. Just very leery. I trust Ubuntu and prefer sudo apt-get command. Thanks, - A.
|
aptitude (sudo apt-get) downloads from the internet in order to install packages.
Very many people will tell you reasons why not to trust Ubuntu because it reports data back to their server about your system. You can opt out of that, but I do not believe it is the default behavior.
Sounds like you wanted to plot. Granted you did mention XY coordinates, but it wasn't clear if you just wanted to render information or provide a drawing canvas and use XY coordinates, given the title of the thread I guessed drawing canvas. Therefore I would not actually use Qt for that even though there's a graphing library it has, QwtPlot or something, I tried using it once and it was difficult.
gnuplot is very good, in fact I believe the defacto choice for plotting, it's been around for about 20 years.
I did a quick search and here's a wiki showing a number of graphing packages, but you need to check that they are for Linux, GPl, open source, and also free, a good deal of them are. And never used it, but I've heard good reviews of MayaVi.
http://en.wikipedia.org/wiki/List_of_graphing_software
I've used gnuplot which I think is part of the plotutils package.
|
|
1 members found this post helpful.
|
01-19-2015, 06:22 PM
|
#13
|
LQ Guru
Registered: Oct 2003
Location: Bonaire, Leeuwarden
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,196
|
Quote:
Originally Posted by rtmistler
|
OMG, never knew that many programs exist. I guessed not even 10% of that. I am missing PGFPlot in that overview. Granted PGFPlot is specialized, but the scope of that table is quite broad anyway.
Quote:
Originally Posted by rtmistler
I've used gnuplot which I think is part of the plotutils package.
|
The package name is simply gnuplot.
jlinkels
|
|
|
All times are GMT -5. The time now is 09:16 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|