473,396 Members | 1,785 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Using Qt for possible multiplatform program???

Hello all!

I'm looking into developing a biological program for modeling and
sequencing DNA and other biological processes. The program's main
focus would be to look for similarities and differences between
different models of experiments. I would also being using information
from this website in my work also:

http://www.ncbi.nlm.nih.gov/

Knowing this I would like it to be as multiplatform as possible since
many different companies use all kinds of flavors of Unix as well as
Windows and whatnot.

So my question is, is Qt a viable option for doing this or should I
simply code the program in C++ and worry about porting later? I want
to save as much time as possible, without sacrificing efficiency.
Another possible issue is that I'm looking at possibly using Python
and writing a script for it when I'm done coding in C++, but I see the
Trolltech has a new scripting language so would this become an issue
down the road?

http://www.trolltech.com/products/qt/index.html

Thanks for your input! By the way, I'm just beginning to learn C++ by
reading Sam's Teach yourself C++ in 21 days and then I plan to read
The C++ Programming Language, so go easy on me because I'm a newbie.
:)
Jul 19 '05 #1
6 2554
"Kyle" <ky******@hotmail.com> wrote...
[...]
So my question is, is Qt a viable option [...]


I think Qt is just as viable as any other cross-platform
UI library. And, as usual, when using a library you want
to create an abstraction layer so that if you need to
replace it with another library, minimal code would be
changed.

Victor
Jul 19 '05 #2
> I'm looking into developing a biological program for modeling and
sequencing DNA and other biological processes. The program's main
focus would be to look for similarities and differences between
different models of experiments. I would also being using information
from this website in my work also:

http://www.ncbi.nlm.nih.gov/

Knowing this I would like it to be as multiplatform as possible since
many different companies use all kinds of flavors of Unix as well as
Windows and whatnot.

So my question is, is Qt a viable option for doing this or should I
simply code the program in C++ and worry about porting later?
Qt is a viable option if the supported platforms suffice and its licence
is acceptable to you. Another viable alternative might be WxWindows
(http://www.wxwindows.org). It is better to write you program with
portability in mind from the start. If you don't will probably end up
rewritting the entire application, or at least a major part of it, when
you need to support another platform. It is also wise to clearly
separate the GUI related code from the rest of the application.
I want
to save as much time as possible, without sacrificing efficiency.
I you want to save time, carefully look at the tooling that comes with
the GUI kit. Depending on the specifics, good tooling can mean you don't
have to write hardly any code for the GUI stuff. Efficiency is usually
not a big concern with GUI code, the user really does not care whether
the application responds in 10 ms or 1 ms to a button click, even when
it means a 10 times improvement. Code for clarity first, if needed
optimize later.
Another possible issue is that I'm looking at possibly using Python
and writing a script for it when I'm done coding in C++, but I see the
Trolltech has a new scripting language so would this become an issue
down the road?

http://www.trolltech.com/products/qt/index.html

Thanks for your input! By the way, I'm just beginning to learn C++ by
reading Sam's Teach yourself C++ in 21 days and then I plan to read
The C++ Programming Language, so go easy on me because I'm a newbie.


I don't know "Teach yourself C++ in 21 days", but its title makes me
feel a bit suspicious. "Accelerated C++"
(http://www.acceleratedcpp.com/ ) is usually recommended as an excellent
beginners C++ book.

--
Peter van Merkerk
peter.van.merkerk(at)dse.nl
Jul 19 '05 #3
Knowing this I would like it to be as multiplatform as possible since
many different companies use all kinds of flavors of Unix as well as
Windows and whatnot.


Why not use Java? Its completely portable (and quicker to learn [and
harder to mess up in] than C++).

Seems a grand project for a newbie, good luck!

Pete
Jul 19 '05 #4
"Peter van Merkerk" <me*****@deadspam.com> wrote in message news:<bf************@ID-133164.news.uni-berlin.de>...
I'm looking into developing a biological program for modeling and
sequencing DNA and other biological processes. The program's main
focus would be to look for similarities and differences between
different models of experiments. I would also being using information
from this website in my work also:

http://www.ncbi.nlm.nih.gov/

Knowing this I would like it to be as multiplatform as possible since
many different companies use all kinds of flavors of Unix as well as
Windows and whatnot.

So my question is, is Qt a viable option for doing this or should I
simply code the program in C++ and worry about porting later?
Qt is a viable option if the supported platforms suffice and its licence
is acceptable to you. Another viable alternative might be WxWindows
(http://www.wxwindows.org). It is better to write you program with
portability in mind from the start. If you don't will probably end up
rewritting the entire application, or at least a major part of it, when
you need to support another platform. It is also wise to clearly
separate the GUI related code from the rest of the application.


Qt I think will be my toolkit of choice next time I need one. Be aware
though that you need to run it through a preprocessor separate from
any standard C or C++ implementation first, so any system you wish to
compile on must have this. (Of course, you need the libraries anyway,
so it's not a big deal, but it does add another step to the build
process.)
[snip]
Thanks for your input! By the way, I'm just beginning to learn C++ by
reading Sam's Teach yourself C++ in 21 days and then I plan to read
The C++ Programming Language, so go easy on me because I'm a newbie.


I don't know "Teach yourself C++ in 21 days", but its title makes me
feel a bit suspicious. "Accelerated C++"
(http://www.acceleratedcpp.com/ ) is usually recommended as an excellent
beginners C++ book.


I got the Sams book for free at a summer camp two years ago. I haven't
actually read through it or anything, but I do use it for reference
sometimes. I have to say that it seems decent. I think pretty much
your average intro book. Nothing really wrong with it I think, but I
don't think it's great either.
Jul 19 '05 #5
> > I don't know "Teach yourself C++ in 21 days", but its title makes me
feel a bit suspicious. "Accelerated C++"
(http://www.acceleratedcpp.com/ ) is usually recommended as an excellent
beginners C++ book.

I've heard Teach yourself C++ in 21 days is pretty good as a beginner
book. It seems to explain concepts really well and gives decent
examples.

I'll recommend the same thing that was recommended to me --The C++
Programming Language by Bjarne Stroustrup. Many may find that the C++
Programming Language is a bit difficult for beginners but I have found it to
be very rewarding and educational.


This is actually next in line even before you mentioned it so I'm glad
I got some good advice about it.

BTW, this is obviously a long term project so learning is always
first!
Jul 19 '05 #6
"Kyle" <ky******@hotmail.com> wrote in message
news:50**************************@posting.google.c om...
I'll recommend the same thing that was recommended to me --The C++
Programming Language by Bjarne Stroustrup. Many may find that the C++
Programming Language is a bit difficult for beginners but I have found it to be very rewarding and educational.


This is actually next in line even before you mentioned it so I'm glad
I got some good advice about it.

BTW, this is obviously a long term project so learning is always
first!


Glad to hear that you're taking the initiative to get up-to speed first.

Work through the projects in Stroustrup, they might seem boring but they
serve a vital purpose. I wouldn't say you have to work through all of them
(unless you want to) but pick some of the more difficult ones and see if you
can do them.

BTW, I'm also still in the process of learning C++. I've been reading a
combination of books for the past few months. I took C++ in college but I
still didn't feel totally confident. After reading through the first eight
chapters of The C++ Programming Language, already I had a much better
understanding. I can't wait to get into the more advanced areas.

Good luck,

Sean
Jul 19 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Simon Roses Femerling | last post by:
Hello all :) Is there any simple and multiplatform database for python ? It must be a local database (like mdb. files) I was thinking of using mdb (MS Access) but in linux is a bit more hard...
15
by: James Stroud | last post by:
Hello, My department has switched from vmware to wine/cxoffice. I have been playing with this all morning, and I've gotten this far. If someone has done this, could you point me in the right...
17
by: silveira neto | last post by:
Using a delay in C, using Linux. gcc-3.3 This program do a boy in a bike runing in the screen. :D Its cool to see about games and delay in C. #include<stdio.h> int branco(int j){ int k; for...
21
by: matvdl | last post by:
I have a system that was originally developed in asp - the pages are saved in SQL (there are over 10,000 pages) and saved to a temp directory in the server when requested by a client. I have...
16
by: Martin Jørgensen | last post by:
Hi, I've made a program from numerical recipes. Looks like I'm not allowed to distribute the source code from numerical recipes but it shouldn't even be necessary to do that. My problem is...
3
by: Vladimir Scherbina | last post by:
Hello all. I apologize if I am posting on wrong NG, please guide me for right one. I am looking for a multiplatform (maybe free) IDE for C++ development. The target OS are: Win32/Win64,...
1
by: CapMaster | last post by:
I've found some programs of how to create a standard game of blackjack on C++. But how would you do it using structs? Here is my assignment: Problem Statement: The purpose of this project is to...
4
by: wombat | last post by:
Is it possible to display JPGs/GIFs/etc with C++? I would think it is, but trying to find out what I need to do has been like searching for a needle in a hay stack. Thanks in advance.
5
by: itsnavigator | last post by:
First of all, im not a pro on js, im trying to do something by using it. I really wonder, is that possible to warn user without using window.focus ? I just dont know the rigth word, i try to...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.